コード例 #1
0
 public void OnCreate(IApplication hook)
 {
     if (hook != null)
     {
         this.hk = hook;
         this._PageLayoutControl = hk.PageLayoutControl as IPageLayoutControl;
         pfrmFlood         = new frmFlood(_PageLayoutControl);
         pfrmFlood.Visible = false;
     }
 }
コード例 #2
0
 public void OnClick()
 {
     //System.Windows.Forms.MessageBox.Show("正在开发中!");
     pfrmFlood = new frmFlood(_PageLayoutControl);
     pfrmFlood.ShowDialog();
 }