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