Пример #1
0
        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();
        }
Пример #2
0
		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();
		}