private void cart_btn_Click(object sender, RoutedEventArgs e) { user_cart w = new user_cart(); w.Show(); if (creatingForm != null) { creatingForm.Close(); } this.Close(); }
private void cart_MouseDown(object sender, MouseButtonEventArgs e) { user_cart w = new user_cart(); w.Show(); if (creatingForm != null) { creatingForm.Close(); } this.Close(); }