Esempio n. 1
0
        void ShowFormDialog(DataTable dt)
        {
            frmLookUpSalesman ifrm = new frmLookUpSalesman(dt);

            ifrm.ShowDialog();
            if (ifrm.DialogResult == DialogResult.OK)
            {
                _sales = ifrm.Sales;
                RefreshData();
            }
        }
Esempio n. 2
0
 public void SetByRowID(Guid t_rowID)
 {
     try
     {
         _sales = new Class.clsSalesman(t_rowID);
         RefreshData();
     }
     catch (Exception ex)
     {
         Error.LogError(ex);
     }
 }
Esempio n. 3
0
 private void frmLookUpSalesman_Load(object sender, EventArgs e)
 {
     Sales = new Class.clsSalesman();
     RefreshGrid();
 }