summary
This commit is contained in:
parent
b7cdc094f2
commit
07b8175dbd
BIN
Chapter6.zip
BIN
Chapter6.zip
Binary file not shown.
4
Chapter6/frmMain.Designer.cs
generated
4
Chapter6/frmMain.Designer.cs
generated
@ -70,7 +70,7 @@ namespace Chapter6
|
||||
// mnuFileExit
|
||||
//
|
||||
this.mnuFileExit.Name = "mnuFileExit";
|
||||
this.mnuFileExit.Size = new System.Drawing.Size(152, 22);
|
||||
this.mnuFileExit.Size = new System.Drawing.Size(93, 22);
|
||||
this.mnuFileExit.Text = "Exit";
|
||||
this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click_1);
|
||||
//
|
||||
@ -86,12 +86,14 @@ namespace Chapter6
|
||||
this.mnuEditCalculate.Name = "mnuEditCalculate";
|
||||
this.mnuEditCalculate.Size = new System.Drawing.Size(153, 22);
|
||||
this.mnuEditCalculate.Text = "Calculate";
|
||||
this.mnuEditCalculate.Click += mnuEditCalculate_Click;
|
||||
//
|
||||
// mnuEditSummary
|
||||
//
|
||||
this.mnuEditSummary.Name = "mnuEditSummary";
|
||||
this.mnuEditSummary.Size = new System.Drawing.Size(153, 22);
|
||||
this.mnuEditSummary.Text = "Summary";
|
||||
this.mnuEditSummary.Click += new System.EventHandler(this.mnuEditSummary_Click);
|
||||
//
|
||||
// mnuEditShowStudents
|
||||
//
|
||||
|
@ -19,5 +19,41 @@ namespace Chapter6
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void mnuEditCalculate_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmCalculate aform = new frmCalculate();
|
||||
|
||||
mnuFile.Visible = true;
|
||||
mnuEditSummary.Enabled = true;
|
||||
|
||||
|
||||
aform.MdiParent = this;
|
||||
aform.StartPosition = FormStartPosition.CenterParent;
|
||||
aform.Show();
|
||||
aform.Focus();
|
||||
|
||||
mnuEditCalculate.Checked = true;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void mnuEditSummary_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmSummary aform = new frmSummary();
|
||||
|
||||
mnuFile.Visible = true;
|
||||
mnuEditSummary.Enabled = true;
|
||||
|
||||
|
||||
aform.MdiParent = this;
|
||||
aform.StartPosition = FormStartPosition.CenterParent;
|
||||
aform.Show();
|
||||
aform.Focus();
|
||||
|
||||
mnuEditCalculate.Checked = true;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user