Beispiel #1
0
        void ShowFormDialog(DataTable dt)
        {
            frmLookUpVendor ifrm = new frmLookUpVendor(dt);

            ifrm.ShowDialog();
            if (ifrm.DialogResult == DialogResult.OK)
            {
                _vendor = ifrm.Vendor;
                RefreshData();
            }
        }
Beispiel #2
0
 public void SetByRowID(Guid t_rowID)
 {
     try
     {
         _vendor = new Class.clsVendor(t_rowID);
         RefreshData();
     }
     catch (Exception ex)
     {
         Error.LogError(ex);
     }
 }
Beispiel #3
0
 private void frmLookUpVendor_Load(object sender, EventArgs e)
 {
     Vendor = new Class.clsVendor();
     RefreshGrid();
 }