Pokaż
Ignoruj:
Data:
2008-12-29 12:04:44 (17 years ago)
Autor:
dorota
Opis:

dodawanie wplat przy wystawianiu faktury

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • Baza Reklam 2 - Faktury/PaymentForm2.cs

    r74 r91  
    2929        private void PaymentForm_Load(object sender, EventArgs e) 
    3030        { 
     31 
     32            this.rEKLAMADataSet.Wplaty.Constraints.Remove("FAKTURY_Wplaty"); 
     33 
    3134            wplatyTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    3235            VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     
    4043                row["idZamowienia"] = this.rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE[0].idZamowienia; 
    4144                wplatyBindingSource.EndEdit(); 
    42  
    43                 dATA_ZAP£ATYDateTimePicker.Value = DateTime.Today;     
    4445            } 
    4546            else 
     
    5152        private void dodajButton_Click(object sender, EventArgs e) 
    5253        { 
     54            /* 
    5355            if ((sYMBOL_POTWIERDZENIATextBox.Text == "") | (rODZAJ_POTWIERDZENIAComboBox.SelectedIndex == -1)) 
    5456            { 
     
    6264            this.wplatyTableAdapter.Update(this.rEKLAMADataSet.Wplaty); 
    6365            this.idWplaty = rEKLAMADataSet.Wplaty[0].idWplaty; 
     66             */ 
    6467            this.DialogResult = DialogResult.OK; 
    6568        } 
     
    6972            this.DialogResult = DialogResult.Cancel; 
    7073        } 
    71         
    7274    } 
    7375}