Beispiel #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            CampRoster campRoster = new CampRoster();

            campRoster.DataGridUpdated += CampRoster_DataGridUpdated;
            campRoster.Show();
            //label1.Text = c.GradeEligible.ToString();
        }
Beispiel #2
0
 private void CampRosterMenu_Click(object sender, EventArgs e)
 {
     roster = (CampRoster)isFormOpen(0, "CampRoster");
     if (roster != null)
     {
         roster.BringToFront();
         roster.WindowState = FormWindowState.Maximized;
     }
     else
     {
         roster           = new CampRoster();
         roster.MdiParent = this;
         //campRosterToolStripMenuItem.BackColor = System.Drawing.Color.DarkGray;
         roster.DataGridUpdated += Roster_DataGridUpdated;
         roster.Dock             = DockStyle.Fill;
         roster.Show();
     }
 }