Ejemplo n.º 1
0
 private void RegisterAccount()
 {
     if (CurrentCompany.CompanyType == CompanyType.Platform)
     {
         if (person.Checked)
         {
             AccountCombineService.Register(GetAccountInfo(), GetIndividual(), DomainName, CurrenContract.ServicePhone, PlatformName);
         }
         else
         {
             AccountCombineService.Register(GetAccountInfo(), GetEnterprise(), DomainName, CurrenContract.ServicePhone, PlatformName);
         }
     }
     else
     {
         //if (VerificationIPAddress.VerificationIP() && Verification.VerificationCode(txtPhoneCode.Text, "phoneValidateCode"))
         //{ }
         if (person.Checked)
         {
             // AccountCombineService.Spread(CurrentCompany.CompanyId, GetAccountInfo(), GetIndividual());
         }
         else
         {
             // AccountCombineService.Spread(CurrentCompany.CompanyId, GetAccountInfo(), GetEnterprise());
         }
     }
 }
Ejemplo n.º 2
0
 private void RegisterAccount()
 {
     if (person.Checked)
     {
         AccountCombineService.Register(GetAccountInfo(), GetIndividual());
     }
     else
     {
         AccountCombineService.Register(GetAccountInfo(), GetEnterprise());
     }
 }
Ejemplo n.º 3
0
 private void RegisterAccount()
 {
     if (person.Checked)
     {
         AccountCombineService.Register(GetAccountInfo(), GetIndividual(), BasePage.DomainName, BasePage.CurrenContract.ServicePhone, BasePage.PlatformName);
     }
     else
     {
         AccountCombineService.Register(GetAccountInfo(), GetEnterprise(), BasePage.DomainName, BasePage.CurrenContract.ServicePhone, BasePage.PlatformName);
     }
 }