コード例 #1
0
ファイル: MainActivity.cs プロジェクト: Gsaico/SeaceApp
        private void BtnLogin_Click(object sender, EventArgs e)
        {
            SeaceWCF.ServiceApp service = new SeaceWCF.ServiceApp();

            SeaceWCF.personDTO persona = new SeaceWCF.personDTO();
            persona.username = txtUsuario.Text;
            persona.password = txtPassword.Text;

            service.VerificarPasswordCompleted += Service_VerificarPasswordCompleted;
            service.VerificarPasswordAsync(persona);
            lblMensaje.Text = "Validando, por favor espere...";

            btnLogin.Enabled = false;
        }
コード例 #2
0
ファイル: Reference.cs プロジェクト: Gsaico/SeaceApp
 /// <remarks/>
 public void VerificarPasswordAsync(personDTO dto, object userState) {
     if ((this.VerificarPasswordOperationCompleted == null)) {
         this.VerificarPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnVerificarPasswordOperationCompleted);
     }
     this.InvokeAsync("VerificarPassword", new object[] {
                 dto}, this.VerificarPasswordOperationCompleted, userState);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: Gsaico/SeaceApp
 /// <remarks/>
 public void VerificarPasswordAsync(personDTO dto) {
     this.VerificarPasswordAsync(dto, null);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: Gsaico/SeaceApp
 /// <remarks/>
 public void ActualizarPersonaAsync(personDTO dto, object userState) {
     if ((this.ActualizarPersonaOperationCompleted == null)) {
         this.ActualizarPersonaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnActualizarPersonaOperationCompleted);
     }
     this.InvokeAsync("ActualizarPersona", new object[] {
                 dto}, this.ActualizarPersonaOperationCompleted, userState);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: Gsaico/SeaceApp
 /// <remarks/>
 public void ActualizarPersonaAsync(personDTO dto) {
     this.ActualizarPersonaAsync(dto, null);
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: Gsaico/SeaceApp
 /// <remarks/>
 public void InsertarPersonaAsync(personDTO dto) {
     this.InsertarPersonaAsync(dto, null);
 }