Example #1
0
 public virtual bool LoginCheck(object sender, EventArgs e)
 {
     DataLoginCheck dataLoginCheck
         =new DataLoginCheck();
        //     dataLoginCheck.LoginCheckCar();
     return true;
 }
 public virtual bool LoginCheck(object sender, EventArgs e)
 {
     DataLoginCheck dataLoginCheck =
         new DataLoginCheck();
     //    dataLoginCheck.LoginCheck();
       //      dataLoginCheck.LoginCheckDriverLiscense(this);
     return true;
 }
 public override bool LoginCheck()
 {
     DataLoginCheck dataLoginCheck =
         new DataLoginCheck();
     DataManager.DriverLicense dataLicese = new DataManager.DriverLicense();
     dataLicese.no = this.no;
     dataLicese.name = this.name;
     return dataLoginCheck.LoginCheck(
         dataLicese, DataLoginCheck.driverLicenseStyle);
 }
Example #4
0
 public void TestCarData()
 {
     //
     // TODO: 在此处添加测试逻辑
     //
     DataLoginCheck dataLoginCheck = new DataLoginCheck();
     DataManager.Car car = new DataManager.Car();
     car.carNo = "ABC123";
     bool result=dataLoginCheck.LoginCheck(
         car, DataLoginCheck.carStyle);
     Assert.AreEqual(result,true);
 }