Exemple #1
0
        public void loadDataGridview()
        {
            cMain dtfrm = new cMain();

            //DataSet ds = GetDataSet(dtfrm._connLocal_CMDFX, _sqlload);

            lsvCopro2.addDataWithDataset(dsCOPRO, false, true);
            lsvCopro2.setAlternateColorRow();
            lsvCopro2.Items[0].Selected = true;
        }
Exemple #2
0
 private void Button1_Click(object sender, EventArgs e)
 {
     using (CustomerPos.cMain frmcustomer = new CustomerPos.cMain())
     {
         frmcustomer.ShowDialog();
         if (frmcustomer._STATUSCT == 0)
         {
         }
         else
         {
             MessageBox.Show("CARDID : " + frmcustomer._CARDID + " CT_ID : " + frmcustomer._CT_ID + " CARDLV : " + frmcustomer._CARDLV);
         }
     }
 }