Exemplo n.º 1
0
 public frmTuyenBayThem(O_TUYENBAY tb)
 {
     InitializeComponent();
     iKyHieuDen.ReadOnly = iKyHieuDi.ReadOnly = true;
     _TuyenBayO          = tb;
     Text += " sửa";
 }
Exemplo n.º 2
0
 private void searchLookUpEdit1_EditValueChanged(object sender, EventArgs e)
 {
     if (!iTatCaTuyenBay.Checked)
     {
         O_TUYENBAY tb = lookUpEdit2.GetSelectedDataRow() as O_TUYENBAY;
         string[]   a  = tb.Ten.Split('-');
         if (!iHanhTrinh.Text.Contains(a[0] + "-" + a[1]))
         {
             iHanhTrinh.Text += a[0] + "-" + a[1] + "\r\n";
         }
     }
 }