Zbiór zmian 250

Pokaż
Ignoruj:
Data:
2009-01-27 15:27:45 (17 years ago)
Autor:
marek
Opis:

re #32 - dodano przeliczanie prowizji przy blokowaniu prowizji dla reklamy

Lokalizacja:
trunk/BazaReklam
Pliki:
2 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/BazaReklam/OrderDetails.Designer.cs

    r192 r250  
    129129            this.sTRONATextBox = new System.Windows.Forms.TextBox(); 
    130130            this.groupBox3 = new System.Windows.Forms.GroupBox(); 
    131             this.cenaEmisjiButton = new System.Windows.Forms.Button(); 
    132131            this.label8 = new System.Windows.Forms.Label(); 
    133132            this.nettoBezBOTextBox = new System.Windows.Forms.TextBox(); 
     
    136135            this.label3 = new System.Windows.Forms.Label(); 
    137136            this.wyroznienie_procentTextBox = new System.Windows.Forms.TextBox(); 
     137            this.cenaEmisjiButton = new System.Windows.Forms.Button(); 
    138138            this.brutto_EuroTextBox = new System.Windows.Forms.TextBox(); 
    139139            this.walutyComboBox = new System.Windows.Forms.ComboBox(); 
     
    881881            this.zablokuj_prowizjeCheckBox.Size = new System.Drawing.Size(18, 24); 
    882882            this.zablokuj_prowizjeCheckBox.TabIndex = 54; 
     883            this.zablokuj_prowizjeCheckBox.CheckedChanged += new System.EventHandler(this.zablokuj_prowizjeCheckBox_CheckedChanged); 
    883884            //  
    884885            // ukazeSieDataGridView 
     
    11991200            this.groupBox3.TabStop = false; 
    12001201            //  
    1201             // cenaEmisjiButton 
    1202             //  
    1203             this.cenaEmisjiButton.Location = new System.Drawing.Point(548, 604); 
    1204             this.cenaEmisjiButton.Name = "cenaEmisjiButton"; 
    1205             this.cenaEmisjiButton.Size = new System.Drawing.Size(75, 23); 
    1206             this.cenaEmisjiButton.TabIndex = 79; 
    1207             this.cenaEmisjiButton.Text = "Cena em."; 
    1208             this.cenaEmisjiButton.UseVisualStyleBackColor = true; 
    1209             this.cenaEmisjiButton.Click += new System.EventHandler(this.cenaEmisjiButton_Click); 
    1210             //  
    12111202            // label8 
    12121203            //  
     
    12701261            this.wyroznienie_procentTextBox.Text = "0"; 
    12711262            this.wyroznienie_procentTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 
     1263            //  
     1264            // cenaEmisjiButton 
     1265            //  
     1266            this.cenaEmisjiButton.Location = new System.Drawing.Point(548, 604); 
     1267            this.cenaEmisjiButton.Name = "cenaEmisjiButton"; 
     1268            this.cenaEmisjiButton.Size = new System.Drawing.Size(75, 23); 
     1269            this.cenaEmisjiButton.TabIndex = 79; 
     1270            this.cenaEmisjiButton.Text = "Cena em."; 
     1271            this.cenaEmisjiButton.UseVisualStyleBackColor = true; 
     1272            this.cenaEmisjiButton.Click += new System.EventHandler(this.cenaEmisjiButton_Click); 
    12721273            //  
    12731274            // brutto_EuroTextBox 
  • trunk/BazaReklam/OrderDetails.cs

    r205 r250  
    211211            DataRowView row = (DataRowView)rEKLAMABindingSource.Current; 
    212212             
     213 
     214 
    213215            /* 
    214216            if (!(brutto_EuroTextBox.Text != "0" ^ walutyComboBox.SelectedIndex == -1)) 
     
    16311633            } 
    16321634        } 
     1635 
     1636        private void zablokuj_prowizjeCheckBox_CheckedChanged(object sender, EventArgs e) 
     1637        { 
     1638            if (rEKLAMABindingSource.Current == null) return; 
     1639 
     1640            DataRowView row = (DataRowView)rEKLAMABindingSource.Current; 
     1641            REKLAMADataSet.REKLAMARow reklama = (REKLAMADataSet.REKLAMARow)row.Row; 
     1642            pROWIZJATextBox.Text = (reklama.PROCENT_PROWIZJI*reklama.NETTO).ToString(); 
     1643        } 
    16331644    } 
    16341645}