private void AutoListButton_Click(object sender, EventArgs e) { this.Hide(); AutoList autolist = new AutoList(); autolist.Show(); }
private void OpenAllButton_Click(object sender, EventArgs e) { Control btn = (Control)sender; AutoForStorage openCar = new AutoForStorage(); openCar = AutoModelsListService.CarSearch(btn.Name); if (openCar != null) { AutoList automobilelist = new AutoList(flagCanAdd, openCar); automobilelist.Show(); } else { AutoList automobilelist = new AutoList(flagCanAdd); automobilelist.Show(); } //this.Refresh(); }
private void LeaseToolStripMenuItem_Click(object sender, EventArgs e) { AutoList autoLease = new AutoList(false, true, startMenu); autoLease.Show(); }
private void AutoListToolStripMenuItem1_Click(object sender, EventArgs e) { AutoList autoList = new AutoList(true, false, startMenu); autoList.Show(); }