Пример #1
0
        private void createNewEvenrButton_Click(object sender, EventArgs e)
        {
            AddEvent add = new AddEvent(this, name);

            add.Show();
            this.Hide();
        }
 private void createNewEventToolStripMenuItem_Click(object sender, EventArgs e)
 {
     addEvent = new AddEvent(this, name);
     addEvent.Show();
     this.Hide();
 }