SDG Toolkit

Mouse.MouseCollection.Item Property

Gets or sets the mouse class specified by the index parameter

public Mouse this[
   int index
] {get; set;}

Remarks

There are several ways to iterate through all of the mice on the system. One can use a numeric iterator such as "int i" or use a mouse iterator using the foreach parameter.

Example

C# Eg., for (int i=0; i < sdgManager1.Mice.Count; ++i) { sdgManager1.Mice[i].Text = "Tricks are for kids"; }

C# Eg., foreach (Sdgt.Mouse m in sdgManager1.Mice) { m.Text = "Tricks are for kids"; }

See Also

Mouse.MouseCollection Class | Sdgt Namespace