private void sellerPage_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();

            if (SellerWindow.Instance == null)
            {
                SellerWindow app = new SellerWindow();
                app.Closed += App_Closed;
                app.Show();
            }
            else
            {
                SellerWindow.Instance.Show();
            }
        }
예제 #2
0
 public SellerWindow()
 {
     Instance = this;
     InitializeComponent();
 }