private void UpdateImformation(VeMayBay v)
 {
     txtFullName.Text = v.FullName;
     txtTo.Text       = v.To;
     txtFrom.Text     = v.From;
     txtIssue.Text    = v.DateTo;
     txtExpiry.Text   = v.DateEnd;
     txtBaggage.Text  = v.Bagge;
     txtNo.Text       = v.DocumentNo.No;
     label5.Text      = v.DocumentNo.Name;
 }
 private void btnBook_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrWhiteSpace(txtTo.Text) && !string.IsNullOrWhiteSpace(txtFrom.Text) && !string.IsNullOrWhiteSpace(txtNo.Text))
     {
         if (Baggage.SelectedItem == null)
         {
             Baggage.SelectedItem = Baggage.Items[0];
         }
         var documentNo     = new DocumentNo(lb8.Text, txtNo.Text);
         var dateTo         = monthCalendarTo.SelectionRange.Start.ToShortDateString();
         var dateEnd        = monthCalendarFrom.SelectionRange.Start.ToShortDateString();
         var travelDocument = TravelDocument();
         var x = new VeMayBay(txtFirstName.Text, txtLastName.Text, txtTo.Text, txtFrom.Text, travelDocument, txtNo.Text, dateTo, dateEnd, Baggage.SelectedItem.ToString());
         new Imformation(x).ShowDialog();
     }
     else
     {
         MessageBox.Show("not null ỏ white in text to,text from ,text no");
     }
 }
 public Imformation(VeMayBay veMayBay) : this()
 {
     this.VeMayBay = veMayBay;
     UpdateImformation(veMayBay);
 }