/// <summary> /// Shows a flow chart of the last year per selected category /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void categoryGraphToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; DataChartUI ChildData = new DataChartUI(); ChildData.MdiParent = this; ChildData.Show(); ChildData.FormClosed += new FormClosedEventHandler(MdiChildClosed); }
/// <summary> /// Shows a flow chart of the last year per selected category /// </summary> /// <param name="sender">Standard sender object</param> /// <param name="e">Standard event object</param> private void CategoryGraphToolStripMenuItem_Click(object sender, EventArgs e) { MdiChilrenSum++; var childData = new DataChartUI { MdiParent = this }; childData.Show(); childData.FormClosed += MdiChildClosed; }