예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 private void RegistExtendFormEventHandler(object sender, ExtendFormEventArgs e)
 {
     this.storageView.RegisterExtForm(e.StorForm);
     this.stockManaView.RegisterExtForm(e.StorListForm);
 }