/// <summary> /// 结果. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void transResultToolStripMenuItem_Click(object sender, EventArgs e) { FormResult subForm = new FormResult(); subForm.MdiParent = this; subForm.Show(); }
private void FormMain_Load(object sender, EventArgs e) { logger = new FormLogger(); logger.MdiParent = this; logger.Show(); logger.Location = new Point(this.Width - logger.Width - 30, this.Height - logger.Height - 70); sheets = new FormSheet(); sheets.MdiParent = this; sheets.Show(); sheets.Location = new Point(this.Width - sheets.Width - 30, this.Height - logger.Height - sheets.Height - 90); result = new FormResult(); result.MdiParent = this; result.Show(); result.Location = new Point(10, 20); logger.addLog("Initialized."); }