private void SelectTrip_Click(object sender, EventArgs e) { FormForSelect formForSelect = new FormForSelect(this, mainForm); Form1.WindowIndex = WindowsStruct.AddTripInWay; formForSelect.ShowDialog(); }
private void buttonAddOwner_Click(object sender, EventArgs e) { Form1.SelectIndex = 0; Form1.WindowIndex = WindowsStruct.AddClientInAuto; formSelectAuto = new FormForSelect(this, mainForm); formSelectAuto.ShowDialog(); }
public FormAddNumber(FormForSelect formForSelect, FormAddRepair formAddRepair) : this() { this.formForSelect = formForSelect; this.formAddRepair = formAddRepair; }
public FormAddRepair(FormAddAuto addAuto, Form1 mainForm) : this() { formAddAutoInRepairs = addAuto; this.mainForm = mainForm; formForSelect = new FormForSelect(this, mainForm); }
public FormAddTrip(FormForSelect formForSelect, Form1 mainForm) : this() { this.formForSelect = formForSelect; this.mainForm = mainForm; }
public FormAddPrice(Form1 mainForm, FormForSelect formForSelect) : this() { this.mainForm = mainForm; this.formForSelect = formForSelect; }
public FormAddPrice(FormForSelect formForSelect) : this() { this.formForSelect = formForSelect; }