/// <summary> /// 注册扩展view /// </summary> /// <param name="storPanelView"></param> /// <param name="sotrListView"></param> public void RegistExtViewStorePanel(Form storPanelView, Form sotrListView) { if (eventRegistForm != null) { ExtendFormEventArgs efargs = new ExtendFormEventArgs(); efargs.StorForm = storPanelView; efargs.StorListForm = sotrListView; eventRegistForm.Invoke(this, efargs); } }
private void RegistExtendFormEventHandler(object sender, ExtendFormEventArgs e) { this.storageView.RegisterExtForm(e.StorForm); this.stockManaView.RegisterExtForm(e.StorListForm); }