Ejemplo n.º 1
0
 //constactor
 public frmSearchAccountNM()
 {
     InitializeComponent();
     try
     {
         Acn    = new AccountNm(@".\s2008", "dbSimlpeSales", null, null);
         IDUSER = 1;
     }catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 2
0
 public frmSimple()
 {
     InitializeComponent();
     try
     {
         Acn    = new AccountNm(@".\s20012", "DBRazazi", null, null);
         IDUSER = 1;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 3
0
 /// constactor with input
 public frmSearchAccountNM(string ServNm, string DbNm, string UesrSql, string PassSql, int UserId)
 {
     InitializeComponent();
     try
     {
         Acn = new AccountNm(ServNm, DbNm, UesrSql, PassSql);
         // Acn = new AccountNm(@".\s2008", "dbSimlpeSales", null, null);
         IDUSER = UserId;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Ejemplo n.º 4
0
        public frmRecive(string ServNm, string DbNm, string UesrSql, string PassSql, int UserId)
        {
            InitializeComponent();
            try
            {
                IDUSER = UserId;
                Sern   = ServNm; this.DbNm = DbNm; userSql = UesrSql; passSql = PassSql;
                Acn    = new AccountNm(ServNm, DbNm, UesrSql, PassSql);
                // Acn = new AccountNm(@".\s2008", "dbSimlpeSales", null, null);
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }