void tsmiIgnoreManage_Click(object sender, EventArgs e) { var dlg = new FormIgnores(); dlg.SetDesktopLocation(Cursor.Position.X, Cursor.Position.Y); if (dlg.ShowDialog() == DialogResult.Cancel) { dlg.Dispose(); return; } Ignores.I.Values = new List <ushort>(dlg.Opcodes); Ignores.I.Save(); dlg.Dispose(); }
void tsmiIgnoreManage_Click(object sender, EventArgs e) { var dlg = new FormIgnores(); dlg.SetDesktopLocation(Cursor.Position.X, Cursor.Position.Y); if (dlg.ShowDialog() == DialogResult.Cancel) { dlg.Dispose(); return; } Ignores.I.Values = new List<ushort>(dlg.Opcodes); Ignores.I.Save(); dlg.Dispose(); }