Exemple #1
0
 public Report()
 {
     InitializeComponent();
     ReportText = this;
     MainForm.S.ReportIsOn = 1;
     //打开开关,表示Report窗口已经被打开
     richTextBox1.Rtf = MainForm.S.rtb.Rtf;
 }
 private void 报告ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Report ReportForm = new Report();
     ReportForm.Show();
 }