/// <summary>
        /// Handles the Click event of the btnOptions control wich navigates to the options window.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
        private void btnOptions_Click(object sender, RoutedEventArgs e)
        {
            Options optionsWindow = new Options();

            optionsWindow.Show();
            Close();
        }
Exemplo n.º 2
0
        private void BtnOptions_Click(object sender, EventArgs e)
        {
            Options options = new Options(this);

            this.SendToBack();
            options.Show();
            options.BringToFront();
        }
 /// <summary>
 /// Handles the Click event of the btnOptions control wich navigates to the options window.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
 private void btnOptions_Click(object sender, RoutedEventArgs e)
 {
     Options optionsWindow = new Options();
     optionsWindow.Show();
     Close();
 }