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