Beispiel #1
0
        public FaturaIptalCevapDVO faturaBilgisiSil([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = true)] FaturaIptalGirisDVO faturaIptalGiris)
        {
            object[] results = this.Invoke("faturaBilgisiSil", new object[] {
                faturaIptalGiris
            });

            return((FaturaIptalCevapDVO)(results[0]));
        }
Beispiel #2
0
 /// <remarks/>
 public void faturaBilgisiSilAsync(FaturaIptalGirisDVO faturaIptalGiris, object userState)
 {
     if ((this.faturaBilgisiSilOperationCompleted == null))
     {
         this.faturaBilgisiSilOperationCompleted = new System.Threading.SendOrPostCallback(this.OnfaturaBilgisiSilOperationCompleted);
     }
     this.InvokeAsync("faturaBilgisiSil", new object[] {
         faturaIptalGiris
     }, this.faturaBilgisiSilOperationCompleted, userState);
 }
Beispiel #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            string strerr = "";
            try
            {
                int i = Convert.ToInt32(textBox1.Text);
            }
            catch
            {
                strerr += "-Saðlýk Tesis Kodu bölümü geçerli bir deðer içermeli.\r\n";
            }
            if (tblTakipNumaralariBindingSource.Count == 0)
                strerr += "-Takip numaralarý bölümü geçerli bir deðer içermeli.\r\n";


            if (strerr != "")
            {
                ErrFrm erxf = new ErrFrm();
                erxf.ermessage = strerr;
                erxf.ShowDialog();
                erxf.Dispose();
                return;
            }

            try
            {
                    if (MessageBox.Show("Ýþleme devam edilsin mi?", "Uyarý", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) != DialogResult.Yes)
                        return;

                button1.Enabled = false;
                toolStripStatusLabel1.Text = GlobalClass.msg01;
                this.Refresh();

                FaturaBilgisiIslemleriService servis = new FaturaBilgisiIslemleriService();
                servis.Credentials = new System.Net.NetworkCredential(GlobalClass.WSDLUserName, GlobalClass.WSDLUserPassword);
                servis.PreAuthenticate = true;

                FaturaIptalGirisDVO FaturaIptalGiris = new FaturaIptalGirisDVO();
                FaturaIptalGiris.saglikTesisKodu = Convert.ToInt32(textBox1.Text);

                string[] stra = new string[tblTakipNumaralariBindingSource.Count];
                DataRowView RowText;
                if (tblTakipNumaralariBindingSource.Count > 0)
                {
                    tblTakipNumaralariBindingSource.MoveFirst();
                    for (int i = 0; i < tblTakipNumaralariBindingSource.Count; i++)
                    {
                        RowText = (DataRowView)tblTakipNumaralariBindingSource.Current;
                        stra[i] = RowText[0].ToString();
                        tblTakipNumaralariBindingSource.MoveNext();
                    }
                    tblTakipNumaralariBindingSource.MoveFirst();
                }
                FaturaIptalGiris.faturaTeslimNo = stra;

                //veriler gödneriliyor....            
                E00_6 E00_6x = new E00_6();
                E00_6x.FaturaIptalCevap = servis.faturaBilgisiSil(FaturaIptalGiris);
                E00_6x.ShowDialog();

                button1.Enabled = true;
                toolStripStatusLabel1.Text = GlobalClass.msg02;
            }
            catch (Exception ex)
            {
                button1.Enabled = true;
                toolStripStatusLabel1.Text = GlobalClass.msg03;
                ErrFrm erxf = new ErrFrm();
                erxf.ermessage = ex.Message;
                erxf.ShowDialog();
                erxf.Dispose();
            }
        }
Beispiel #4
0
 /// <remarks/>
 public void faturaBilgisiSilAsync(FaturaIptalGirisDVO faturaIptalGiris)
 {
     this.faturaBilgisiSilAsync(faturaIptalGiris, null);
 }
Beispiel #5
0
 /// <remarks/>
 public void faturaBilgisiSilAsync(FaturaIptalGirisDVO faturaIptalGiris, object userState) {
     if ((this.faturaBilgisiSilOperationCompleted == null)) {
         this.faturaBilgisiSilOperationCompleted = new System.Threading.SendOrPostCallback(this.OnfaturaBilgisiSilOperationCompleted);
     }
     this.InvokeAsync("faturaBilgisiSil", new object[] {
                 faturaIptalGiris}, this.faturaBilgisiSilOperationCompleted, userState);
 }
Beispiel #6
0
 /// <remarks/>
 public void faturaBilgisiSilAsync(FaturaIptalGirisDVO faturaIptalGiris) {
     this.faturaBilgisiSilAsync(faturaIptalGiris, null);
 }