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