/// <summary> /// Opens the form to view the data for the whole month /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void viewDetailToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; DataViewUI ChildData = new DataViewUI(); ChildData.MdiParent = this; ChildData.Show(); ChildData.FormClosed += new FormClosedEventHandler(MdiChildClosed); }
/// <summary> /// Opens the form to view the data for the whole month /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void ViewDetailToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; var childData = new DataViewUI { MdiParent = this }; childData.Show(); childData.FormClosed += MdiChildClosed; }