コード例 #1
0
        public SettingsWindow(MainWindow_ViewModel main)
        {
            InitializeComponent();
            DataContext = new SettingsWindow_ViewModel(main);

            this.Top  = Screen.PrimaryScreen.Bounds.Height * 0.5 - 171;
            this.Left = Screen.PrimaryScreen.Bounds.Width * 0.45 - 287;
        }
コード例 #2
0
        public SettingsWindow()
        {
            InitializeComponent();

            DataContext = new SettingsWindow_ViewModel();
        }