private void LoadProcessView(IDataProcess rc) { var view = PluginManager.AddCusomView(MainFrmUI as IDockableManager, rc.TypeName, rc as IView); var control = view as UserControl; if (control != null) { control.DataContext = rc; } }
private void LoadProcessView(IDataProcess rc) { var view = PluginManager.AddCusomView(MainFrmUI as IDockableManager, rc.TypeName, rc as IView); var control = view as UserControl; if (control != null) { control.DataContext = rc; } }