void FrmMain_ShowFrmEvent(PlugEventArgs t) { (t.GetArgs() as WeifenLuo.WinFormsUI.Docking.DockContent).Show(dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.Document); }
//构件错误信息,送往错误窗口 void FrmMain_ErrHandler(PlugEventArgs obj) { WinFrmLifecycleEvent.OnErrFromShowInfo(obj.GetArgs().ToString()); }
void FrmMain_OpenEditCodeEvent(ThempEdit sender, PlugEventArgs args) { Tools_info.Text = args.GetArgs().ToString(); }
void FrmMain_OpenEditViewEvent(ThempEdit sender, PlugEventArgs args) { (args.GetArgs() as WeifenLuo.WinFormsUI.Docking.DockContent).Show(dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.Document); }
void FrmMain_ShowDemoEvent(ThempEdit sender, PlugEventArgs args) { (args.GetArgs() as WeifenLuo.WinFormsUI.Docking.DockContent).Show(dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.Float); }