Ejemplo n.º 1
0
 // compare by sits
 public void SetSitsForClient(Client client)
 {
     if (formForPlane != null)
     {
         formForPlane.ShowDialog();
         formForPlane.SetSits(client);
     }
     else
     {
         formForPlane = new FormPlane(PlaneImg, MaxSitsHeight, MaxSitsWidth);
         formForPlane.Controls.Find("labelNameOfPlane", false)[0].Text = "Name : " + Name + ". Firm : " + Firm;
         formForPlane.ShowDialog();
         formForPlane.SetSits(client);
     }
 }
Ejemplo n.º 2
0
 public virtual void Display()
 {
     formForPlane = new FormPlane(PlaneImg, MaxSitsHeight, MaxSitsWidth);
     formForPlane.Controls.Find("labelNameOfPlane", false)[0].Text = "Name : " + Name + ". Firm : " + Firm;
     formForPlane.ShowDialog();
 }