Interaction logic for Dummy.xaml
Наследование: SidebarDiagnostics.Windows.AppBarWindow
        public Setup()
        {
            InitializeComponent();

            Framework.Settings.Instance.ScreenIndex = 0;
            Framework.Settings.Instance.DockEdge = DockEdge.Right;
            Framework.Settings.Instance.XOffset = 0;
            Framework.Settings.Instance.YOffset = 0;

            Sidebar = new Dummy(this);
            Sidebar.Show();
        }
Пример #2
0
        public Setup()
        {
            Properties.Settings.Default.ScreenIndex = 0;
            Properties.Settings.Default.DockEdge = DockEdge.Right;
            Properties.Settings.Default.HighDPISupport = false;
            Properties.Settings.Default.XOffset = 0;
            Properties.Settings.Default.YOffset = 0;

            Sidebar = new Dummy();
            Sidebar.Show();

            InitializeComponent();

            Owner = Sidebar;
            ShowDialog();
        }