コード例 #1
0
ファイル: DelAutoForm.cs プロジェクト: salikhoff/MyCourseWork
 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;
 }
コード例 #2
0
ファイル: DelGarForm.cs プロジェクト: salikhoff/MyCourseWork
 public DelGarForm(MainForm own)
 {
     InitializeComponent();
     owner=own;
     label1.Text=("Удалить гараж №"+owner.comp.getfirstGarage().getNumber()+"?");
 }
コード例 #3
0
ファイル: AddGarForm.cs プロジェクト: salikhoff/MyCourseWork
 public AddGarForm(MainForm own)
 {
     InitializeComponent();
     owner = own;
 }