/// <summary> /// the function is closing the current form and opens the rubric form /// </summary> /// <param name="sender">Object Sender is a parameter called Sender that contains a reference to the control/object that raised the event</param> /// <param name="e">EventArgs e is a parameter called e that contains the event data</param> private void button3_Click(object sender, EventArgs e) { Rubric rb = new Rubric(); this.Hide(); rb.Show(); }
private void manageToolStripMenuItem2_Click(object sender, EventArgs e) { if (rubric == null) { rubric = new Rubric(); rubric.MdiParent = this; rubric.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.std_FormClosed); rubric.Show(); if (stdflag) { std.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (cloflag) { clo.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (assessmentflag) { assessment.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (componentflag) { component.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (studentattendanceflag) { stdattendance.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (classattendanceflag) { classattendance.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (studentresultflag) { result.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (cloreportflag) { cloreport.WindowState = System.Windows.Forms.FormWindowState.Minimized; } if (assessmentreportflag) { assessmentreport.WindowState = System.Windows.Forms.FormWindowState.Minimized; } rbflag = true; } else { rubric.Activate(); } }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Rubric r = new Rubric(); r.Show(); }