Пример #1
0
        private void NewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _ProfileNamingForm              = new ProfileNamingForm();
            _ProfileNamingForm.NameChoosen += _ProfileNamingForm_NameChoosen;
            _ProfileNamingForm.FormClosed  += _ProfileNamingForm_FormClosed;
            _ProfileNamingForm.Show();

            DisableControls();
        }
Пример #2
0
        private void _ProfileNamingForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            _ProfileNamingForm = null;

            EnableControls();
        }