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.Designer.cs

    r11 r28  
    3737            System.Windows.Forms.Label suma_zaplatLabel; 
    3838            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PaymentForm2)); 
     39            System.Windows.Forms.Label waluta_bruttoLabel; 
     40            System.Windows.Forms.Label waluta_mianoLabel; 
    3941            this.rEKLAMADataSet = new Baza_Reklam.REKLAMADataSet(); 
    40             this.dATA_ZAP£ATYDateTimePicker = new System.Windows.Forms.DateTimePicker(); 
    4142            this.wplatyBindingSource = new System.Windows.Forms.BindingSource(this.components); 
    4243            this.sYMBOL_POTWIERDZENIATextBox = new System.Windows.Forms.TextBox(); 
     
    5051            this.wplatyTableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.WplatyTableAdapter(); 
    5152            this.VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter(); 
     53            this.waluta_bruttoTextBox = new System.Windows.Forms.TextBox(); 
     54            this.waluta_mianoTextBox = new System.Windows.Forms.TextBox(); 
     55            this.rodzajPotwierdzeniaTextBox = new System.Windows.Forms.TextBox(); 
     56            this.dataWplatyTextBox = new System.Windows.Forms.TextBox(); 
    5257            dATA_ZAP£ATYLabel = new System.Windows.Forms.Label(); 
    5358            sYMBOL_POTWIERDZENIALabel = new System.Windows.Forms.Label(); 
     
    5661            bRUTTOLabel = new System.Windows.Forms.Label(); 
    5762            suma_zaplatLabel = new System.Windows.Forms.Label(); 
     63            waluta_bruttoLabel = new System.Windows.Forms.Label(); 
     64            waluta_mianoLabel = new System.Windows.Forms.Label(); 
    5865            ((System.ComponentModel.ISupportInitialize)(this.rEKLAMADataSet)).BeginInit(); 
    5966            ((System.ComponentModel.ISupportInitialize)(this.wplatyBindingSource)).BeginInit(); 
     
    120127            this.rEKLAMADataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; 
    121128            //  
    122             // dATA_ZAP£ATYDateTimePicker 
    123             //  
    124             this.dATA_ZAP£ATYDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.wplatyBindingSource, "dataWplaty", true)); 
    125             this.dATA_ZAP£ATYDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Short; 
    126             this.dATA_ZAP£ATYDateTimePicker.Location = new System.Drawing.Point(176, 37); 
    127             this.dATA_ZAP£ATYDateTimePicker.Name = "dATA_ZAP£ATYDateTimePicker"; 
    128             this.dATA_ZAP£ATYDateTimePicker.Size = new System.Drawing.Size(120, 20); 
    129             this.dATA_ZAP£ATYDateTimePicker.TabIndex = 2; 
    130             //  
    131129            // wplatyBindingSource 
    132130            //  
     
    136134            // sYMBOL_POTWIERDZENIATextBox 
    137135            //  
     136            this.sYMBOL_POTWIERDZENIATextBox.BackColor = System.Drawing.Color.WhiteSmoke; 
    138137            this.sYMBOL_POTWIERDZENIATextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.wplatyBindingSource, "symbolPotwierdzenia", true)); 
    139             this.sYMBOL_POTWIERDZENIATextBox.Location = new System.Drawing.Point(175, 137); 
     138            this.sYMBOL_POTWIERDZENIATextBox.Location = new System.Drawing.Point(174, 137); 
    140139            this.sYMBOL_POTWIERDZENIATextBox.MaxLength = 25; 
    141140            this.sYMBOL_POTWIERDZENIATextBox.Name = "sYMBOL_POTWIERDZENIATextBox"; 
     141            this.sYMBOL_POTWIERDZENIATextBox.ReadOnly = true; 
    142142            this.sYMBOL_POTWIERDZENIATextBox.Size = new System.Drawing.Size(121, 20); 
    143143            this.sYMBOL_POTWIERDZENIATextBox.TabIndex = 4; 
     144            this.sYMBOL_POTWIERDZENIATextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; 
    144145            //  
    145146            // rODZAJ_POTWIERDZENIAComboBox 
     
    153154            "ECARD", 
    154155            "FV"}); 
    155             this.rODZAJ_POTWIERDZENIAComboBox.Location = new System.Drawing.Point(176, 87); 
     156            this.rODZAJ_POTWIERDZENIAComboBox.Location = new System.Drawing.Point(250, 227); 
    156157            this.rODZAJ_POTWIERDZENIAComboBox.Name = "rODZAJ_POTWIERDZENIAComboBox"; 
    157             this.rODZAJ_POTWIERDZENIAComboBox.Size = new System.Drawing.Size(120, 21); 
     158            this.rODZAJ_POTWIERDZENIAComboBox.Size = new System.Drawing.Size(45, 21); 
    158159            this.rODZAJ_POTWIERDZENIAComboBox.TabIndex = 6; 
     160            this.rODZAJ_POTWIERDZENIAComboBox.Visible = false; 
    159161            //  
    160162            // bRUTTOTextBox 
     
    176178            //  
    177179            this.dodajButton.Image = ((System.Drawing.Image)(resources.GetObject("dodajButton.Image"))); 
    178             this.dodajButton.Location = new System.Drawing.Point(175, 176); 
     180            this.dodajButton.Location = new System.Drawing.Point(117, 220); 
    179181            this.dodajButton.Name = "dodajButton"; 
    180182            this.dodajButton.Size = new System.Drawing.Size(90, 32); 
    181183            this.dodajButton.TabIndex = 14; 
    182             this.dodajButton.Text = "Zapisz"; 
     184            this.dodajButton.Text = "OK"; 
    183185            this.dodajButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 
    184186            this.dodajButton.UseVisualStyleBackColor = true; 
     
    189191            this.anulujButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 
    190192            this.anulujButton.Image = ((System.Drawing.Image)(resources.GetObject("anulujButton.Image"))); 
    191             this.anulujButton.Location = new System.Drawing.Point(67, 176); 
     193            this.anulujButton.Location = new System.Drawing.Point(12, 220); 
    192194            this.anulujButton.Name = "anulujButton"; 
    193195            this.anulujButton.Size = new System.Drawing.Size(75, 32); 
     
    196198            this.anulujButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 
    197199            this.anulujButton.UseVisualStyleBackColor = true; 
     200            this.anulujButton.Visible = false; 
    198201            this.anulujButton.Click += new System.EventHandler(this.anulujButton_Click); 
    199202            //  
     
    229232            this.VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter.ClearBeforeFill = true; 
    230233            //  
     234            // waluta_bruttoLabel 
     235            //  
     236            waluta_bruttoLabel.AutoSize = true; 
     237            waluta_bruttoLabel.Location = new System.Drawing.Point(19, 172); 
     238            waluta_bruttoLabel.Name = "waluta_bruttoLabel"; 
     239            waluta_bruttoLabel.Size = new System.Drawing.Size(88, 13); 
     240            waluta_bruttoLabel.TabIndex = 17; 
     241            waluta_bruttoLabel.Text = "Brutto w walucie:"; 
     242            //  
     243            // waluta_bruttoTextBox 
     244            //  
     245            this.waluta_bruttoTextBox.BackColor = System.Drawing.Color.WhiteSmoke; 
     246            this.waluta_bruttoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.wplatyBindingSource, "waluta_brutto", true)); 
     247            this.waluta_bruttoTextBox.Location = new System.Drawing.Point(21, 188); 
     248            this.waluta_bruttoTextBox.Name = "waluta_bruttoTextBox"; 
     249            this.waluta_bruttoTextBox.ReadOnly = true; 
     250            this.waluta_bruttoTextBox.Size = new System.Drawing.Size(120, 20); 
     251            this.waluta_bruttoTextBox.TabIndex = 18; 
     252            this.waluta_bruttoTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 
     253            //  
     254            // waluta_mianoLabel 
     255            //  
     256            waluta_mianoLabel.AutoSize = true; 
     257            waluta_mianoLabel.Location = new System.Drawing.Point(173, 172); 
     258            waluta_mianoLabel.Name = "waluta_mianoLabel"; 
     259            waluta_mianoLabel.Size = new System.Drawing.Size(44, 13); 
     260            waluta_mianoLabel.TabIndex = 18; 
     261            waluta_mianoLabel.Text = "Waluta:"; 
     262            //  
     263            // waluta_mianoTextBox 
     264            //  
     265            this.waluta_mianoTextBox.BackColor = System.Drawing.Color.WhiteSmoke; 
     266            this.waluta_mianoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.wplatyBindingSource, "waluta_miano", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2")); 
     267            this.waluta_mianoTextBox.Location = new System.Drawing.Point(174, 188); 
     268            this.waluta_mianoTextBox.Name = "waluta_mianoTextBox"; 
     269            this.waluta_mianoTextBox.ReadOnly = true; 
     270            this.waluta_mianoTextBox.Size = new System.Drawing.Size(121, 20); 
     271            this.waluta_mianoTextBox.TabIndex = 19; 
     272            this.waluta_mianoTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; 
     273            //  
     274            // rodzajPotwierdzeniaTextBox 
     275            //  
     276            this.rodzajPotwierdzeniaTextBox.BackColor = System.Drawing.Color.WhiteSmoke; 
     277            this.rodzajPotwierdzeniaTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.wplatyBindingSource, "rodzajPotwierdzenia", true)); 
     278            this.rodzajPotwierdzeniaTextBox.Location = new System.Drawing.Point(176, 87); 
     279            this.rodzajPotwierdzeniaTextBox.Name = "rodzajPotwierdzeniaTextBox"; 
     280            this.rodzajPotwierdzeniaTextBox.ReadOnly = true; 
     281            this.rodzajPotwierdzeniaTextBox.Size = new System.Drawing.Size(119, 20); 
     282            this.rodzajPotwierdzeniaTextBox.TabIndex = 20; 
     283            this.rodzajPotwierdzeniaTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; 
     284            //  
     285            // dataWplatyTextBox 
     286            //  
     287            this.dataWplatyTextBox.BackColor = System.Drawing.Color.WhiteSmoke; 
     288            this.dataWplatyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.wplatyBindingSource, "dataWplaty", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "d")); 
     289            this.dataWplatyTextBox.Location = new System.Drawing.Point(176, 37); 
     290            this.dataWplatyTextBox.Name = "dataWplatyTextBox"; 
     291            this.dataWplatyTextBox.ReadOnly = true; 
     292            this.dataWplatyTextBox.Size = new System.Drawing.Size(119, 20); 
     293            this.dataWplatyTextBox.TabIndex = 21; 
     294            this.dataWplatyTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; 
     295            //  
    231296            // PaymentForm2 
    232297            //  
    233298            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 
    234299            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
    235             this.ClientSize = new System.Drawing.Size(320, 218); 
     300            this.ClientSize = new System.Drawing.Size(320, 272); 
     301            this.Controls.Add(this.dataWplatyTextBox); 
     302            this.Controls.Add(this.rodzajPotwierdzeniaTextBox); 
     303            this.Controls.Add(waluta_mianoLabel); 
     304            this.Controls.Add(this.waluta_mianoTextBox); 
     305            this.Controls.Add(waluta_bruttoLabel); 
     306            this.Controls.Add(this.waluta_bruttoTextBox); 
    236307            this.Controls.Add(suma_zaplatLabel); 
    237308            this.Controls.Add(this.suma_zaplatTextBox); 
     
    247318            this.Controls.Add(this.sYMBOL_POTWIERDZENIATextBox); 
    248319            this.Controls.Add(dATA_ZAP£ATYLabel); 
    249             this.Controls.Add(this.dATA_ZAP£ATYDateTimePicker); 
    250320            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 
    251321            this.Name = "PaymentForm2"; 
     
    264334 
    265335        private REKLAMADataSet rEKLAMADataSet; 
    266         private System.Windows.Forms.DateTimePicker dATA_ZAP£ATYDateTimePicker; 
    267336        private System.Windows.Forms.TextBox sYMBOL_POTWIERDZENIATextBox; 
    268337        private System.Windows.Forms.ComboBox rODZAJ_POTWIERDZENIAComboBox; 
     
    276345        private System.Windows.Forms.BindingSource VIEW_ZESTAWIENIE_FAKTUR_NOWEBindingSource; 
    277346        private Baza_Reklam.REKLAMADataSetTableAdapters.VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter; 
     347        private System.Windows.Forms.TextBox waluta_bruttoTextBox; 
     348        private System.Windows.Forms.TextBox waluta_mianoTextBox; 
     349        private System.Windows.Forms.TextBox rodzajPotwierdzeniaTextBox; 
     350        private System.Windows.Forms.TextBox dataWplatyTextBox; 
    278351    } 
    279352}