Ejemplo n.º 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();
            }
        }
Ejemplo n.º 2
0
        public void OnShowToolFastLinks(String dlgName)
        {
            ToolFastLinkWidget dlg = DlgCreator.Create(dlgName) as ToolFastLinkWidget;

            dlg.ShowDialog(this);
        }