Beispiel #1
0
        public void OnShowDialog(String dlgName)
        {
            Window dlg = DlgCreator.Create(dlgName);

            if (dlg is ToolWidget)
            {
                (dlg as ToolWidget).ShowDialog(this);

                SelectedWidgets = new ObservableCollection <UserControl>(widgetService_m.GetUserControlList());
            }
            else
            {
                dlg.ShowDialog();
            }
        }
Beispiel #2
0
        public void OnShowToolFastLinks(String dlgName)
        {
            ToolFastLinkWidget dlg = DlgCreator.Create(dlgName) as ToolFastLinkWidget;

            dlg.ShowDialog(this);
        }