Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            SaveMask mask = new SaveMask(settings,-1);

            mask.FormClosing += mask_FormClosing;
            mask.ShowDialog();
        }
Пример #2
0
        private void maskList_DoubleClick(object sender, EventArgs e)
        {
            if (maskList.SelectedItem != null)
            {
                int selectedItem = maskList.SelectedIndex;
                SaveMask mask = new SaveMask(settings, selectedItem);

                mask.FormClosing += mask_FormClosing;
                mask.ShowDialog();
            }
        }