Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            IGTApplication oApp = GTClassFactory.Create <IGTApplication>();
            CuCommonForms  obj  = new CuCommonForms(oApp);

            obj.MakePreferredCU(Convert.ToString(grdCU.SelectedRows[0].Cells[2].Value), Convert.ToString(grdCU.SelectedRows[0].Cells[0].Value), oApp.DataContext.DatabaseUserName);
        }
Пример #2
0
        private void btnMakePreferred_Click(object sender, EventArgs e)
        {
            try
            {
                IGTApplication oApp = GTClassFactory.Create <IGTApplication>();
                CuCommonForms  obj  = new CuCommonForms(oApp);

                obj.MakePreferredCU(Convert.ToString(grdCU.SelectedRows[0].Cells[1].Value), Convert.ToString(cmbAncillaryCategories.SelectedValue), oApp.DataContext.DatabaseUserName);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }