Beispiel #1
0
 public DelAutoForm(MainForm own)
 {
     Garage current;
     InitializeComponent();
     owner = own;
     current = owner.comp.getfirstGarage();
     while (current != null)
     {
         comboBox1.Items.Add(current.getNumber());
         current = current.getNext();
     }
     comboBox1.SelectedIndex = 0;
 }
Beispiel #2
0
 public DelGarForm(MainForm own)
 {
     InitializeComponent();
     owner=own;
     label1.Text=("Удалить гараж №"+owner.comp.getfirstGarage().getNumber()+"?");
 }
Beispiel #3
0
 public AddGarForm(MainForm own)
 {
     InitializeComponent();
     owner = own;
 }