Exemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     comboBox1.SelectedIndex           = 0;
     mouseButtonSelector.SelectedIndex = 0;
     clickTypeSelector.SelectedIndex   = 0;
     MousePointSelector = new MousePointSelector(this);
     HotKey.HookedKeys.Add(Keys.Shift);
     HotKey.HookedKeys.Add(Keys.F6);
     HotKey.KeyDown += HotKey_KeyDown;
     HotKey.Hook();
 }
Exemplo n.º 2
0
 private void button0_Click(object sender, EventArgs e)//detect mouse position
 {
     MousePointSelector.ShowDialog();
     MousePointSelector = new MousePointSelector(this);
 }