private void buttonRentalClick(object sender, EventArgs e) { FormEmployRental frm = new FormEmployRental(mainform, id); frm.Owner = this; frm.Show(); this.Visible = false; }
private void labelRentalClick(object sender, EventArgs e) { this.Visible = false; FormEmployRental frm = new FormEmployRental(mainform, id); frm.Owner = this; frm.Show(); frm.Activate(); }
public FormEmployRentalConfirm(FormEmployRental rentalForm, string consuID, string consuName, List <string> itemID, List <string> cateID, string id, List <int> TotalMoney, int TotalMileage, List <string> itemName) { InitializeComponent(); this.rentalForm = rentalForm; this.consuID = consuID; this.consuName = consuName; this.itemID = itemID; this.cateID = cateID; this.id = id; this.TotalMoney = TotalMoney; this.TotalMileage = TotalMileage; this.itemName = itemName; }
public FormEmploySearchConsuList(FormEmployRental rentalForm) { InitializeComponent(); this.rentalForm = rentalForm; }