예제 #1
0
        private void Options_Button_Click(object sender, RoutedEventArgs e)
        {
            OptionsWindow optionsWindow = new OptionsWindow(this.Left, this.Top, this.Height, this.Width, 0.8);

            optionsWindow.ShowDialog();
            optionsWindow.Close();
        }
예제 #2
0
        private void Options_Button_Click(object sender, RoutedEventArgs e)
        {
            OptionsWindow optionsWindow = new OptionsWindow(this.Left, this.Top, this.Height, this.Width, 0.8);

            //setup the options window while it exists
            GuiController.GetController().SetupOptionsWindow(optionsWindow);
            optionsWindow.ShowDialog();
            optionsWindow.Close();
        }