/// <summary> /// Shows the data for the month in a pie chart /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void categoryPieChartToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; MonthChartUI mcuNew = new MonthChartUI(DateTime.Now.Date); mcuNew.MdiParent = this; mcuNew.Show(); mcuNew.FormClosed += new FormClosedEventHandler(MdiChildClosed); }
/// <summary> /// Shows the data for the month in a pie chart /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void CategoryPieChartToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; var mcuNew = new MonthChartUI(DateTime.Now.Date) { MdiParent = this }; mcuNew.Show(); mcuNew.FormClosed += MdiChildClosed; }