private void button2_Click(object sender, EventArgs e) { this.Hide(); Equipment_Info equip = new Equipment_Info(); equip.Show(); }
private void button_Click(object sender, RoutedEventArgs e) { Equipment_Info equip = new Equipment_Info(); equip.WindowStartupLocation = WindowStartupLocation.CenterScreen; equip.Show(); this.Hide(); }