Exemple #1
0
 // "收支查询"按钮触发事件
 private void toolStripButton3_Click(object sender, EventArgs e)
 {
     SearchForm search = new SearchForm();
     // 当前窗口实例传递到另一个窗口的变量
     search.mainForm = this;
     search.Show();
 }
Exemple #2
0
 /// <summary>
 /// "收支查询"按钮触发的事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnSelect_Click(object sender, EventArgs e)
 {
     SearchForm search = new SearchForm();
     // 当前窗口实例传递到另一个窗口的变量
     search.mainForm = this;
     search.Show();
 }