Exemple #1
0
        internal static void ShowStatButtonPressed(object sender, RoutedEventArgs e)
        {
            Window activeWindow = GetActiveWindow();
            Window view = new WinStatView();
            
            view.Left = activeWindow.Left;
            view.Top = activeWindow.Top;
            view.Width = activeWindow.Width;
            view.Height = activeWindow.Height;
            view.Show();

            activeWindow.Close();
        }
Exemple #2
0
 //ILoginView interface implementation
 public void LoginAccepted()
 {
     WinStatView view = new WinStatView();
     view.Show();
     this.Close();
 }