Наследование: DockPane, IDataErrorInfo
Пример #1
0
        private void DockPanel_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            FrameworkElement element = sender as FrameworkElement;

            MilitarySymbolDockpaneViewModel vm = this.DataContext as MilitarySymbolDockpaneViewModel;

            vm.DockPanel_MouseDown(e);
        }
Пример #2
0
        protected override void OnClick()
        {
            if (!ProSymbolEditorModule._isEnabled)
            {
                ProSymbolUtilities.ShowAddInNotEnabledMessageBox();
            }

            MilitarySymbolDockpaneViewModel.Show();
        }