コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Frm"></param>
 public CustomErrorProcess(FrmCustomError Frm)
 {
     this.targetFrm = Frm;
 }
コード例 #2
0
 /// <summary>
 /// 只能在创建线程的控件上操作控件,所以这里没有直接调用,而是使用一个委托
 /// </summary>
 /// <param name="Frm"></param>
 /// <param name="Msg"></param>
 protected virtual void Show(FrmCustomError Frm, object Msg)
 {
     Frm.ShowMsg(Msg);
 }
コード例 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            FrmCustomError fce = new FrmCustomError();

            fce.Show();
        }