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