示例#1
0
		private void btnDelCar_Click(object sender, EventArgs e) {
			com.CommandText = "delListCar";
			DelCom.CommandText = "remCar";
			RemoveItem child = new RemoveItem(" car", com, DelCom);
			this.Hide();
			child.ShowDialog();
			this.Show();
		}
示例#2
0
		private void btnDelBnC_Click(object sender, EventArgs e) {
			com.CommandText = "delListBody";
			DelCom.CommandText = "remBody";
			RemoveItem child = new RemoveItem(" body and chassis", com, DelCom);
			this.Hide();
			child.ShowDialog();
			this.Show();
		}
示例#3
0
		private void btnDelDrv_Click(object sender, EventArgs e) {
			com.CommandText = "delListDrive";
			DelCom.CommandText = "remDrive";
			RemoveItem child = new RemoveItem(" drivetrain", com, DelCom);
			this.Hide();
			child.ShowDialog();
			this.Show();
		}