Esempio n. 1
0
        private void TabMain_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (TabMain.SelectedIndex)
            {
            case 2:
                FillActivityGrid();
                break;

            case 4:
                Views.AboutForm             aboutForm       = new Views.AboutForm();
                Controllers.AboutController aboutController = new Controllers.AboutController(aboutForm);
                aboutForm.ShowDialog();
                TabMain.SelectedIndex = 0;
                break;

            default:
                break;
            }
        }
Esempio n. 2
0
 private void mnuAbout_Click(object sender, EventArgs e)
 {
     Views.AboutForm             aboutForm       = new Views.AboutForm();
     Controllers.AboutController aboutController = new Controllers.AboutController(aboutForm);
     aboutForm.ShowDialog();
 }