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(); }
//ILoginView interface implementation public void LoginAccepted() { WinStatView view = new WinStatView(); view.Show(); this.Close(); }