Example #1
0
 public Form1(string username, string ten, int donVi_Id)
 {
     InitializeComponent();
     Username = username;
     Ten = ten;
     DonVi_Id = donVi_Id;
     this.Text = string.Format("{0} - {1} - {2}", username, ten, donVi_Id);
     Wsrv = new WebService();
 }
Example #2
0
 public Form1(string username, string ten, int donVi_Id, GiaoCa giaoCa)
 {
     InitializeComponent();
     Username = username;
     Ten = ten;
     DonVi_Id = donVi_Id;
     GiaoCa = giaoCa;
     lblTongSo.Text = GiaoCa.DoanhThu.TienVietNam();
     DoanhThu = giaoCa.DoanhThu;
     this.Text = string.Format("{0} - {1} - {2}", username, ten, donVi_Id);
     Wsrv = new WebService();
 }
Example #3
0
 public Form1()
 {
     InitializeComponent();
     Wsrv = new WebService();
 }
Example #4
0
 public Login()
 {
     InitializeComponent();
     Wsrv = new WebService();
     KeyPreview = true;
 }