Zbiór zmian 715 dla BazaZamowien/Zamowienia
- Data:
- 2009-01-14 11:42:37 (17 years ago)
- Lokalizacja:
- BazaZamowien/Zamowienia
- Pliki:
-
- 3 zmodyfikowane
-
ZamowienieForm.Designer.cs (zmodyfikowane) (66 diffs)
-
ZamowienieForm.cs (zmodyfikowane) (7 diffs)
-
ZamowienieForm.resx (zmodyfikowane) (1 diff)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
BazaZamowien/Zamowienia/ZamowienieForm.Designer.cs
r710 r715 47 47 System.Windows.Forms.Label zamowienieKtoLabel; 48 48 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZamowienieForm)); 49 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 1= new System.Windows.Forms.DataGridViewCellStyle();50 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle 2= new System.Windows.Forms.DataGridViewCellStyle();49 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 50 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 51 51 this.zamowieniaBindingSource = new System.Windows.Forms.BindingSource(this.components); 52 52 this.zamowieniaDataSet = new BazaZamowien.zamowieniaDataSet(); … … 147 147 // 148 148 decyzja1KtoLabel.AutoSize = true; 149 decyzja1KtoLabel.Location = new System.Drawing.Point(37, 50); 149 decyzja1KtoLabel.Location = new System.Drawing.Point(49, 62); 150 decyzja1KtoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 150 151 decyzja1KtoLabel.Name = "decyzja1KtoLabel"; 151 decyzja1KtoLabel.Size = new System.Drawing.Size( 26, 13);152 decyzja1KtoLabel.Size = new System.Drawing.Size(33, 17); 152 153 decyzja1KtoLabel.TabIndex = 20; 153 154 decyzja1KtoLabel.Text = "Kto:"; … … 156 157 // 157 158 decyzja1DataLabel.AutoSize = true; 158 decyzja1DataLabel.Location = new System.Drawing.Point(30, 80); 159 decyzja1DataLabel.Location = new System.Drawing.Point(40, 98); 160 decyzja1DataLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 159 161 decyzja1DataLabel.Name = "decyzja1DataLabel"; 160 decyzja1DataLabel.Size = new System.Drawing.Size( 33, 13);162 decyzja1DataLabel.Size = new System.Drawing.Size(42, 17); 161 163 decyzja1DataLabel.TabIndex = 22; 162 164 decyzja1DataLabel.Text = "Data:"; … … 165 167 // 166 168 decyzja2KtoLabel.AutoSize = true; 167 decyzja2KtoLabel.Location = new System.Drawing.Point(37, 50); 169 decyzja2KtoLabel.Location = new System.Drawing.Point(49, 62); 170 decyzja2KtoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 168 171 decyzja2KtoLabel.Name = "decyzja2KtoLabel"; 169 decyzja2KtoLabel.Size = new System.Drawing.Size( 26, 13);172 decyzja2KtoLabel.Size = new System.Drawing.Size(33, 17); 170 173 decyzja2KtoLabel.TabIndex = 26; 171 174 decyzja2KtoLabel.Text = "Kto:"; … … 174 177 // 175 178 decyzja2DataLabel.AutoSize = true; 176 decyzja2DataLabel.Location = new System.Drawing.Point(30, 80); 179 decyzja2DataLabel.Location = new System.Drawing.Point(40, 98); 180 decyzja2DataLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 177 181 decyzja2DataLabel.Name = "decyzja2DataLabel"; 178 decyzja2DataLabel.Size = new System.Drawing.Size( 33, 13);182 decyzja2DataLabel.Size = new System.Drawing.Size(42, 17); 179 183 decyzja2DataLabel.TabIndex = 28; 180 184 decyzja2DataLabel.Text = "Data:"; … … 183 187 // 184 188 decyzja3KtoLabel.AutoSize = true; 185 decyzja3KtoLabel.Location = new System.Drawing.Point(40, 50); 189 decyzja3KtoLabel.Location = new System.Drawing.Point(53, 62); 190 decyzja3KtoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 186 191 decyzja3KtoLabel.Name = "decyzja3KtoLabel"; 187 decyzja3KtoLabel.Size = new System.Drawing.Size( 26, 13);192 decyzja3KtoLabel.Size = new System.Drawing.Size(33, 17); 188 193 decyzja3KtoLabel.TabIndex = 32; 189 194 decyzja3KtoLabel.Text = "Kto:"; … … 192 197 // 193 198 decyzja3DataLabel.AutoSize = true; 194 decyzja3DataLabel.Location = new System.Drawing.Point(33, 77); 199 decyzja3DataLabel.Location = new System.Drawing.Point(44, 95); 200 decyzja3DataLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 195 201 decyzja3DataLabel.Name = "decyzja3DataLabel"; 196 decyzja3DataLabel.Size = new System.Drawing.Size( 33, 13);202 decyzja3DataLabel.Size = new System.Drawing.Size(42, 17); 197 203 decyzja3DataLabel.TabIndex = 34; 198 204 decyzja3DataLabel.Text = "Data:"; … … 201 207 // 202 208 decyzja3Label.AutoSize = true; 203 decyzja3Label.Location = new System.Drawing.Point(18, 26); 209 decyzja3Label.Location = new System.Drawing.Point(24, 32); 210 decyzja3Label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 204 211 decyzja3Label.Name = "decyzja3Label"; 205 decyzja3Label.Size = new System.Drawing.Size( 48, 13);212 decyzja3Label.Size = new System.Drawing.Size(62, 17); 206 213 decyzja3Label.TabIndex = 35; 207 214 decyzja3Label.Text = "Decyzja:"; … … 210 217 // 211 218 decyzja2Label.AutoSize = true; 212 decyzja2Label.Location = new System.Drawing.Point(15, 26); 219 decyzja2Label.Location = new System.Drawing.Point(20, 32); 220 decyzja2Label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 213 221 decyzja2Label.Name = "decyzja2Label"; 214 decyzja2Label.Size = new System.Drawing.Size( 48, 13);222 decyzja2Label.Size = new System.Drawing.Size(62, 17); 215 223 decyzja2Label.TabIndex = 29; 216 224 decyzja2Label.Text = "Decyzja:"; … … 219 227 // 220 228 decyzja1Label.AutoSize = true; 221 decyzja1Label.Location = new System.Drawing.Point(15, 22); 229 decyzja1Label.Location = new System.Drawing.Point(20, 27); 230 decyzja1Label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 222 231 decyzja1Label.Name = "decyzja1Label"; 223 decyzja1Label.Size = new System.Drawing.Size( 48, 13);232 decyzja1Label.Size = new System.Drawing.Size(62, 17); 224 233 decyzja1Label.TabIndex = 23; 225 234 decyzja1Label.Text = "Decyzja:"; … … 228 237 // 229 238 numerLabel.AutoSize = true; 230 numerLabel.Location = new System.Drawing.Point(424, 20); 239 numerLabel.Location = new System.Drawing.Point(565, 25); 240 numerLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 231 241 numerLabel.Name = "numerLabel"; 232 numerLabel.Size = new System.Drawing.Size( 41, 13);242 numerLabel.Size = new System.Drawing.Size(54, 17); 233 243 numerLabel.TabIndex = 6; 234 244 numerLabel.Text = "Numer:"; … … 237 247 // 238 248 zamowienieTrescLabel.AutoSize = true; 239 zamowienieTrescLabel.Location = new System.Drawing.Point(23, 95); 249 zamowienieTrescLabel.Location = new System.Drawing.Point(31, 117); 250 zamowienieTrescLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 240 251 zamowienieTrescLabel.Name = "zamowienieTrescLabel"; 241 zamowienieTrescLabel.Size = new System.Drawing.Size( 37, 13);252 zamowienieTrescLabel.Size = new System.Drawing.Size(48, 17); 242 253 zamowienieTrescLabel.TabIndex = 12; 243 254 zamowienieTrescLabel.Text = "Treæ:"; … … 246 257 // 247 258 zamowienieWartosc2Label.AutoSize = true; 248 zamowienieWartosc2Label.Location = new System.Drawing.Point(409, 56); 259 zamowienieWartosc2Label.Location = new System.Drawing.Point(545, 69); 260 zamowienieWartosc2Label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 249 261 zamowienieWartosc2Label.Name = "zamowienieWartosc2Label"; 250 zamowienieWartosc2Label.Size = new System.Drawing.Size( 59, 13);262 zamowienieWartosc2Label.Size = new System.Drawing.Size(76, 17); 251 263 zamowienieWartosc2Label.TabIndex = 16; 252 264 zamowienieWartosc2Label.Text = "Wartoæ 2:"; … … 255 267 // 256 268 zamowienieWartosc1Label.AutoSize = true; 257 zamowienieWartosc1Label.Location = new System.Drawing.Point(212, 56); 269 zamowienieWartosc1Label.Location = new System.Drawing.Point(283, 69); 270 zamowienieWartosc1Label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 258 271 zamowienieWartosc1Label.Name = "zamowienieWartosc1Label"; 259 zamowienieWartosc1Label.Size = new System.Drawing.Size( 59, 13);272 zamowienieWartosc1Label.Size = new System.Drawing.Size(76, 17); 260 273 zamowienieWartosc1Label.TabIndex = 14; 261 274 zamowienieWartosc1Label.Text = "Wartoæ 1:"; … … 264 277 // 265 278 zamowienieDataLabel.AutoSize = true; 266 zamowienieDataLabel.Location = new System.Drawing.Point(36, 56); 279 zamowienieDataLabel.Location = new System.Drawing.Point(48, 69); 280 zamowienieDataLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 267 281 zamowienieDataLabel.Name = "zamowienieDataLabel"; 268 zamowienieDataLabel.Size = new System.Drawing.Size( 33, 13);282 zamowienieDataLabel.Size = new System.Drawing.Size(42, 17); 269 283 zamowienieDataLabel.TabIndex = 4; 270 284 zamowienieDataLabel.Text = "Data:"; … … 273 287 // 274 288 zamowienieDzialLabel.AutoSize = true; 275 zamowienieDzialLabel.Location = new System.Drawing.Point(212, 21); 289 zamowienieDzialLabel.Location = new System.Drawing.Point(283, 26); 290 zamowienieDzialLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 276 291 zamowienieDzialLabel.Name = "zamowienieDzialLabel"; 277 zamowienieDzialLabel.Size = new System.Drawing.Size( 35, 13);292 zamowienieDzialLabel.Size = new System.Drawing.Size(43, 17); 278 293 zamowienieDzialLabel.TabIndex = 2; 279 294 zamowienieDzialLabel.Text = "Dzia³:"; … … 282 297 // 283 298 zamowienieKtoLabel.AutoSize = true; 284 zamowienieKtoLabel.Location = new System.Drawing.Point(43, 23); 299 zamowienieKtoLabel.Location = new System.Drawing.Point(57, 28); 300 zamowienieKtoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 285 301 zamowienieKtoLabel.Name = "zamowienieKtoLabel"; 286 zamowienieKtoLabel.Size = new System.Drawing.Size( 26, 13);302 zamowienieKtoLabel.Size = new System.Drawing.Size(33, 17); 287 303 zamowienieKtoLabel.TabIndex = 1; 288 304 zamowienieKtoLabel.Text = "Kto:"; … … 307 323 this.kierownikGroupBox.Controls.Add(decyzja1DataLabel); 308 324 this.kierownikGroupBox.Controls.Add(this.KierownikPanel); 309 this.kierownikGroupBox.Location = new System.Drawing.Point(12, 426); 325 this.kierownikGroupBox.Location = new System.Drawing.Point(16, 524); 326 this.kierownikGroupBox.Margin = new System.Windows.Forms.Padding(4); 310 327 this.kierownikGroupBox.Name = "kierownikGroupBox"; 311 this.kierownikGroupBox.Size = new System.Drawing.Size(213, 165); 328 this.kierownikGroupBox.Padding = new System.Windows.Forms.Padding(4); 329 this.kierownikGroupBox.Size = new System.Drawing.Size(284, 203); 312 330 this.kierownikGroupBox.TabIndex = 37; 313 331 this.kierownikGroupBox.TabStop = false; … … 318 336 this.decyzja1DataLabel2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Decyzja1Data", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "g")); 319 337 this.decyzja1DataLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 320 this.decyzja1DataLabel2.Location = new System.Drawing.Point(90, 77); 338 this.decyzja1DataLabel2.Location = new System.Drawing.Point(120, 95); 339 this.decyzja1DataLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 321 340 this.decyzja1DataLabel2.Name = "decyzja1DataLabel2"; 322 this.decyzja1DataLabel2.Size = new System.Drawing.Size(1 00, 23);341 this.decyzja1DataLabel2.Size = new System.Drawing.Size(133, 28); 323 342 this.decyzja1DataLabel2.TabIndex = 48; 324 343 // … … 327 346 this.labelKto1.AutoSize = true; 328 347 this.labelKto1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 329 this.labelKto1.Location = new System.Drawing.Point(83, 50); 348 this.labelKto1.Location = new System.Drawing.Point(111, 62); 349 this.labelKto1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 330 350 this.labelKto1.Name = "labelKto1"; 331 this.labelKto1.Size = new System.Drawing.Size( 60, 13);351 this.labelKto1.Size = new System.Drawing.Size(76, 17); 332 352 this.labelKto1.TabIndex = 47; 333 353 this.labelKto1.Text = "labelKto1"; … … 337 357 this.labelDecyzja1.AutoSize = true; 338 358 this.labelDecyzja1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 339 this.labelDecyzja1.Location = new System.Drawing.Point(83, 26); 359 this.labelDecyzja1.Location = new System.Drawing.Point(111, 32); 360 this.labelDecyzja1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 340 361 this.labelDecyzja1.Name = "labelDecyzja1"; 341 this.labelDecyzja1.Size = new System.Drawing.Size( 86, 13);362 this.labelDecyzja1.Size = new System.Drawing.Size(109, 17); 342 363 this.labelDecyzja1.TabIndex = 46; 343 364 this.labelDecyzja1.Text = "labelDecyzja1"; … … 349 370 this.KierownikPanel.Controls.Add(this.akc1Button); 350 371 this.KierownikPanel.Enabled = false; 351 this.KierownikPanel.Location = new System.Drawing.Point(7, 103); 372 this.KierownikPanel.Location = new System.Drawing.Point(9, 127); 373 this.KierownikPanel.Margin = new System.Windows.Forms.Padding(4); 352 374 this.KierownikPanel.Name = "KierownikPanel"; 353 this.KierownikPanel.Size = new System.Drawing.Size(2 00, 55);375 this.KierownikPanel.Size = new System.Drawing.Size(267, 68); 354 376 this.KierownikPanel.TabIndex = 49; 355 377 // … … 357 379 // 358 380 this.wyczysc1Button.Image = ((System.Drawing.Image)(resources.GetObject("wyczysc1Button.Image"))); 359 this.wyczysc1Button.Location = new System.Drawing.Point(127, 7); 381 this.wyczysc1Button.Location = new System.Drawing.Point(169, 9); 382 this.wyczysc1Button.Margin = new System.Windows.Forms.Padding(4); 360 383 this.wyczysc1Button.Name = "wyczysc1Button"; 361 this.wyczysc1Button.Size = new System.Drawing.Size( 42, 40);384 this.wyczysc1Button.Size = new System.Drawing.Size(56, 49); 362 385 this.wyczysc1Button.TabIndex = 48; 363 386 this.wyczysc1Button.UseVisualStyleBackColor = true; … … 367 390 // 368 391 this.nie1Button.Image = ((System.Drawing.Image)(resources.GetObject("nie1Button.Image"))); 369 this.nie1Button.Location = new System.Drawing.Point(79, 7); 392 this.nie1Button.Location = new System.Drawing.Point(105, 9); 393 this.nie1Button.Margin = new System.Windows.Forms.Padding(4); 370 394 this.nie1Button.Name = "nie1Button"; 371 this.nie1Button.Size = new System.Drawing.Size( 42, 40);395 this.nie1Button.Size = new System.Drawing.Size(56, 49); 372 396 this.nie1Button.TabIndex = 47; 373 397 this.nie1Button.UseVisualStyleBackColor = true; … … 377 401 // 378 402 this.akc1Button.Image = ((System.Drawing.Image)(resources.GetObject("akc1Button.Image"))); 379 this.akc1Button.Location = new System.Drawing.Point(31, 7); 403 this.akc1Button.Location = new System.Drawing.Point(41, 9); 404 this.akc1Button.Margin = new System.Windows.Forms.Padding(4); 380 405 this.akc1Button.Name = "akc1Button"; 381 this.akc1Button.Size = new System.Drawing.Size( 42, 40);406 this.akc1Button.Size = new System.Drawing.Size(56, 49); 382 407 this.akc1Button.TabIndex = 46; 383 408 this.akc1Button.UseVisualStyleBackColor = true; … … 398 423 this.dyrFinanGroupBox.Controls.Add(decyzja2KtoLabel); 399 424 this.dyrFinanGroupBox.Controls.Add(decyzja2DataLabel); 400 this.dyrFinanGroupBox.Location = new System.Drawing.Point(231, 426); 425 this.dyrFinanGroupBox.Location = new System.Drawing.Point(308, 524); 426 this.dyrFinanGroupBox.Margin = new System.Windows.Forms.Padding(4); 401 427 this.dyrFinanGroupBox.Name = "dyrFinanGroupBox"; 402 this.dyrFinanGroupBox.Size = new System.Drawing.Size(211, 165); 428 this.dyrFinanGroupBox.Padding = new System.Windows.Forms.Padding(4); 429 this.dyrFinanGroupBox.Size = new System.Drawing.Size(281, 203); 403 430 this.dyrFinanGroupBox.TabIndex = 38; 404 431 this.dyrFinanGroupBox.TabStop = false; … … 411 438 this.DyrFinansPanel.Controls.Add(this.wyczysc2Button); 412 439 this.DyrFinansPanel.Enabled = false; 413 this.DyrFinansPanel.Location = new System.Drawing.Point(7, 103); 440 this.DyrFinansPanel.Location = new System.Drawing.Point(9, 127); 441 this.DyrFinansPanel.Margin = new System.Windows.Forms.Padding(4); 414 442 this.DyrFinansPanel.Name = "DyrFinansPanel"; 415 this.DyrFinansPanel.Size = new System.Drawing.Size(2 00, 55);443 this.DyrFinansPanel.Size = new System.Drawing.Size(267, 68); 416 444 this.DyrFinansPanel.TabIndex = 50; 417 445 // … … 419 447 // 420 448 this.akc2Button.Image = ((System.Drawing.Image)(resources.GetObject("akc2Button.Image"))); 421 this.akc2Button.Location = new System.Drawing.Point(28, 8); 449 this.akc2Button.Location = new System.Drawing.Point(37, 10); 450 this.akc2Button.Margin = new System.Windows.Forms.Padding(4); 422 451 this.akc2Button.Name = "akc2Button"; 423 this.akc2Button.Size = new System.Drawing.Size( 42, 40);452 this.akc2Button.Size = new System.Drawing.Size(56, 49); 424 453 this.akc2Button.TabIndex = 40; 425 454 this.akc2Button.UseVisualStyleBackColor = true; … … 429 458 // 430 459 this.nie2Button.Image = ((System.Drawing.Image)(resources.GetObject("nie2Button.Image"))); 431 this.nie2Button.Location = new System.Drawing.Point(76, 8); 460 this.nie2Button.Location = new System.Drawing.Point(101, 10); 461 this.nie2Button.Margin = new System.Windows.Forms.Padding(4); 432 462 this.nie2Button.Name = "nie2Button"; 433 this.nie2Button.Size = new System.Drawing.Size( 42, 40);463 this.nie2Button.Size = new System.Drawing.Size(56, 49); 434 464 this.nie2Button.TabIndex = 41; 435 465 this.nie2Button.UseVisualStyleBackColor = true; … … 439 469 // 440 470 this.wyczysc2Button.Image = ((System.Drawing.Image)(resources.GetObject("wyczysc2Button.Image"))); 441 this.wyczysc2Button.Location = new System.Drawing.Point(124, 8); 471 this.wyczysc2Button.Location = new System.Drawing.Point(165, 10); 472 this.wyczysc2Button.Margin = new System.Windows.Forms.Padding(4); 442 473 this.wyczysc2Button.Name = "wyczysc2Button"; 443 this.wyczysc2Button.Size = new System.Drawing.Size( 42, 40);474 this.wyczysc2Button.Size = new System.Drawing.Size(56, 49); 444 475 this.wyczysc2Button.TabIndex = 42; 445 476 this.wyczysc2Button.UseVisualStyleBackColor = true; … … 450 481 this.decyzja2DataLabel2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Decyzja2Data", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "g")); 451 482 this.decyzja2DataLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 452 this.decyzja2DataLabel2.Location = new System.Drawing.Point(80, 77); 483 this.decyzja2DataLabel2.Location = new System.Drawing.Point(107, 95); 484 this.decyzja2DataLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 453 485 this.decyzja2DataLabel2.Name = "decyzja2DataLabel2"; 454 this.decyzja2DataLabel2.Size = new System.Drawing.Size(1 00, 23);486 this.decyzja2DataLabel2.Size = new System.Drawing.Size(133, 28); 455 487 this.decyzja2DataLabel2.TabIndex = 49; 456 488 // … … 459 491 this.labelKto2.AutoSize = true; 460 492 this.labelKto2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 461 this.labelKto2.Location = new System.Drawing.Point(80, 50); 493 this.labelKto2.Location = new System.Drawing.Point(107, 62); 494 this.labelKto2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 462 495 this.labelKto2.Name = "labelKto2"; 463 this.labelKto2.Size = new System.Drawing.Size( 60, 13);496 this.labelKto2.Size = new System.Drawing.Size(76, 17); 464 497 this.labelKto2.TabIndex = 48; 465 498 this.labelKto2.Text = "labelKto2"; … … 469 502 this.labelDecyzja2.AutoSize = true; 470 503 this.labelDecyzja2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 471 this.labelDecyzja2.Location = new System.Drawing.Point(80, 26); 504 this.labelDecyzja2.Location = new System.Drawing.Point(107, 32); 505 this.labelDecyzja2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 472 506 this.labelDecyzja2.Name = "labelDecyzja2"; 473 this.labelDecyzja2.Size = new System.Drawing.Size( 86, 13);507 this.labelDecyzja2.Size = new System.Drawing.Size(109, 17); 474 508 this.labelDecyzja2.TabIndex = 47; 475 509 this.labelDecyzja2.Text = "labelDecyzja2"; … … 484 518 this.dyrGeneralGroupBox.Controls.Add(decyzja3KtoLabel); 485 519 this.dyrGeneralGroupBox.Controls.Add(decyzja3DataLabel); 486 this.dyrGeneralGroupBox.Location = new System.Drawing.Point(448, 426); 520 this.dyrGeneralGroupBox.Location = new System.Drawing.Point(597, 524); 521 this.dyrGeneralGroupBox.Margin = new System.Windows.Forms.Padding(4); 487 522 this.dyrGeneralGroupBox.Name = "dyrGeneralGroupBox"; 488 this.dyrGeneralGroupBox.Size = new System.Drawing.Size(209, 165); 523 this.dyrGeneralGroupBox.Padding = new System.Windows.Forms.Padding(4); 524 this.dyrGeneralGroupBox.Size = new System.Drawing.Size(279, 203); 489 525 this.dyrGeneralGroupBox.TabIndex = 39; 490 526 this.dyrGeneralGroupBox.TabStop = false; … … 497 533 this.DyrGeneralPanel.Controls.Add(this.wyczysc3Button); 498 534 this.DyrGeneralPanel.Enabled = false; 499 this.DyrGeneralPanel.Location = new System.Drawing.Point(5, 103); 535 this.DyrGeneralPanel.Location = new System.Drawing.Point(7, 127); 536 this.DyrGeneralPanel.Margin = new System.Windows.Forms.Padding(4); 500 537 this.DyrGeneralPanel.Name = "DyrGeneralPanel"; 501 this.DyrGeneralPanel.Size = new System.Drawing.Size(2 00, 55);538 this.DyrGeneralPanel.Size = new System.Drawing.Size(267, 68); 502 539 this.DyrGeneralPanel.TabIndex = 51; 503 540 // … … 505 542 // 506 543 this.akc3Button.Image = ((System.Drawing.Image)(resources.GetObject("akc3Button.Image"))); 507 this.akc3Button.Location = new System.Drawing.Point(32, 8); 544 this.akc3Button.Location = new System.Drawing.Point(43, 10); 545 this.akc3Button.Margin = new System.Windows.Forms.Padding(4); 508 546 this.akc3Button.Name = "akc3Button"; 509 this.akc3Button.Size = new System.Drawing.Size( 42, 40);547 this.akc3Button.Size = new System.Drawing.Size(56, 49); 510 548 this.akc3Button.TabIndex = 37; 511 549 this.akc3Button.UseVisualStyleBackColor = true; … … 515 553 // 516 554 this.nie3Button.Image = ((System.Drawing.Image)(resources.GetObject("nie3Button.Image"))); 517 this.nie3Button.Location = new System.Drawing.Point(80, 8); 555 this.nie3Button.Location = new System.Drawing.Point(107, 10); 556 this.nie3Button.Margin = new System.Windows.Forms.Padding(4); 518 557 this.nie3Button.Name = "nie3Button"; 519 this.nie3Button.Size = new System.Drawing.Size( 42, 40);558 this.nie3Button.Size = new System.Drawing.Size(56, 49); 520 559 this.nie3Button.TabIndex = 38; 521 560 this.nie3Button.UseVisualStyleBackColor = true; … … 525 564 // 526 565 this.wyczysc3Button.Image = ((System.Drawing.Image)(resources.GetObject("wyczysc3Button.Image"))); 527 this.wyczysc3Button.Location = new System.Drawing.Point(128, 8); 566 this.wyczysc3Button.Location = new System.Drawing.Point(171, 10); 567 this.wyczysc3Button.Margin = new System.Windows.Forms.Padding(4); 528 568 this.wyczysc3Button.Name = "wyczysc3Button"; 529 this.wyczysc3Button.Size = new System.Drawing.Size( 42, 40);569 this.wyczysc3Button.Size = new System.Drawing.Size(56, 49); 530 570 this.wyczysc3Button.TabIndex = 39; 531 571 this.wyczysc3Button.UseVisualStyleBackColor = true; … … 536 576 this.decyzja3DataLabel2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Decyzja3Data", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "g")); 537 577 this.decyzja3DataLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 538 this.decyzja3DataLabel2.Location = new System.Drawing.Point(79, 77); 578 this.decyzja3DataLabel2.Location = new System.Drawing.Point(105, 95); 579 this.decyzja3DataLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 539 580 this.decyzja3DataLabel2.Name = "decyzja3DataLabel2"; 540 this.decyzja3DataLabel2.Size = new System.Drawing.Size(1 00, 23);581 this.decyzja3DataLabel2.Size = new System.Drawing.Size(133, 28); 541 582 this.decyzja3DataLabel2.TabIndex = 50; 542 583 // … … 545 586 this.labelKto3.AutoSize = true; 546 587 this.labelKto3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 547 this.labelKto3.Location = new System.Drawing.Point(89, 50); 588 this.labelKto3.Location = new System.Drawing.Point(119, 62); 589 this.labelKto3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 548 590 this.labelKto3.Name = "labelKto3"; 549 this.labelKto3.Size = new System.Drawing.Size( 60, 13);591 this.labelKto3.Size = new System.Drawing.Size(76, 17); 550 592 this.labelKto3.TabIndex = 49; 551 593 this.labelKto3.Text = "labelKto3"; … … 555 597 this.labelDecyzja3.AutoSize = true; 556 598 this.labelDecyzja3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 557 this.labelDecyzja3.Location = new System.Drawing.Point(89, 26); 599 this.labelDecyzja3.Location = new System.Drawing.Point(119, 32); 600 this.labelDecyzja3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 558 601 this.labelDecyzja3.Name = "labelDecyzja3"; 559 this.labelDecyzja3.Size = new System.Drawing.Size( 86, 13);602 this.labelDecyzja3.Size = new System.Drawing.Size(109, 17); 560 603 this.labelDecyzja3.TabIndex = 48; 561 604 this.labelDecyzja3.Text = "labelDecyzja3"; … … 598 641 this.wiadoTabPage.Controls.Add(this.dodajButton); 599 642 this.wiadoTabPage.Controls.Add(this.realizacjeDataGridView); 600 this.wiadoTabPage.Location = new System.Drawing.Point(4, 22); 643 this.wiadoTabPage.Location = new System.Drawing.Point(4, 25); 644 this.wiadoTabPage.Margin = new System.Windows.Forms.Padding(4); 601 645 this.wiadoTabPage.Name = "wiadoTabPage"; 602 this.wiadoTabPage.Size = new System.Drawing.Size( 637, 382);646 this.wiadoTabPage.Size = new System.Drawing.Size(852, 473); 603 647 this.wiadoTabPage.TabIndex = 2; 604 648 this.wiadoTabPage.Text = "REALIZACJE"; … … 607 651 // edytujButton 608 652 // 609 this.edytujButton.Location = new System.Drawing.Point(272, 330); 653 this.edytujButton.Location = new System.Drawing.Point(363, 406); 654 this.edytujButton.Margin = new System.Windows.Forms.Padding(4); 610 655 this.edytujButton.Name = "edytujButton"; 611 this.edytujButton.Size = new System.Drawing.Size( 75, 23);656 this.edytujButton.Size = new System.Drawing.Size(100, 28); 612 657 this.edytujButton.TabIndex = 3; 613 658 this.edytujButton.Text = "Edytuj"; … … 617 662 // usunButton 618 663 // 619 this.usunButton.Location = new System.Drawing.Point(169, 330); 664 this.usunButton.Location = new System.Drawing.Point(225, 406); 665 this.usunButton.Margin = new System.Windows.Forms.Padding(4); 620 666 this.usunButton.Name = "usunButton"; 621 this.usunButton.Size = new System.Drawing.Size( 75, 23);667 this.usunButton.Size = new System.Drawing.Size(100, 28); 622 668 this.usunButton.TabIndex = 2; 623 669 this.usunButton.Text = "Usuñ"; … … 627 673 // dodajButton 628 674 // 629 this.dodajButton.Location = new System.Drawing.Point(373, 330); 675 this.dodajButton.Location = new System.Drawing.Point(497, 406); 676 this.dodajButton.Margin = new System.Windows.Forms.Padding(4); 630 677 this.dodajButton.Name = "dodajButton"; 631 this.dodajButton.Size = new System.Drawing.Size( 75, 23);678 this.dodajButton.Size = new System.Drawing.Size(100, 28); 632 679 this.dodajButton.TabIndex = 1; 633 680 this.dodajButton.Text = "Dodaj"; … … 649 696 this.realizacjeDataGridView.DataSource = this.realizacjeBindingSource; 650 697 this.realizacjeDataGridView.GridColor = System.Drawing.Color.DimGray; 651 this.realizacjeDataGridView.Location = new System.Drawing.Point(14, 17); 698 this.realizacjeDataGridView.Location = new System.Drawing.Point(19, 21); 699 this.realizacjeDataGridView.Margin = new System.Windows.Forms.Padding(4); 652 700 this.realizacjeDataGridView.Name = "realizacjeDataGridView"; 653 701 this.realizacjeDataGridView.ReadOnly = true; 654 702 this.realizacjeDataGridView.RowHeadersWidth = 10; 655 703 this.realizacjeDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; 656 this.realizacjeDataGridView.Size = new System.Drawing.Size( 601, 296);704 this.realizacjeDataGridView.Size = new System.Drawing.Size(801, 364); 657 705 this.realizacjeDataGridView.TabIndex = 0; 658 706 // … … 661 709 this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 662 710 this.dataGridViewTextBoxColumn8.DataPropertyName = "Data"; 663 dataGridViewCellStyle 1.Format = "d";664 this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle 1;711 dataGridViewCellStyle3.Format = "d"; 712 this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle3; 665 713 this.dataGridViewTextBoxColumn8.HeaderText = "Data"; 666 714 this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; … … 689 737 this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 690 738 this.dataGridViewTextBoxColumn11.DataPropertyName = "Wartosc"; 691 dataGridViewCellStyle 2.Format = "c";692 this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle 2;739 dataGridViewCellStyle4.Format = "c"; 740 this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle4; 693 741 this.dataGridViewTextBoxColumn11.FillWeight = 131.3869F; 694 742 this.dataGridViewTextBoxColumn11.HeaderText = "Wartosc"; … … 721 769 this.zamTabPage.Controls.Add(numerLabel); 722 770 this.zamTabPage.Controls.Add(this.groupBox1); 723 this.zamTabPage.Location = new System.Drawing.Point(4, 22); 771 this.zamTabPage.Location = new System.Drawing.Point(4, 25); 772 this.zamTabPage.Margin = new System.Windows.Forms.Padding(4); 724 773 this.zamTabPage.Name = "zamTabPage"; 725 this.zamTabPage.Padding = new System.Windows.Forms.Padding( 3);726 this.zamTabPage.Size = new System.Drawing.Size( 637, 382);774 this.zamTabPage.Padding = new System.Windows.Forms.Padding(4); 775 this.zamTabPage.Size = new System.Drawing.Size(852, 473); 727 776 this.zamTabPage.TabIndex = 0; 728 777 this.zamTabPage.Text = "ZAMÓWIENIE"; … … 732 781 // 733 782 this.zamowienieKtoLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 734 this.zamowienieKtoLabel2.Location = new System.Drawing.Point(75, 18); 783 this.zamowienieKtoLabel2.Location = new System.Drawing.Point(100, 22); 784 this.zamowienieKtoLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 735 785 this.zamowienieKtoLabel2.Name = "zamowienieKtoLabel2"; 736 this.zamowienieKtoLabel2.Size = new System.Drawing.Size(1 23, 23);786 this.zamowienieKtoLabel2.Size = new System.Drawing.Size(164, 28); 737 787 this.zamowienieKtoLabel2.TabIndex = 47; 738 788 // … … 740 790 // 741 791 this.iDETextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "IDE", true)); 742 this.iDETextBox.Location = new System.Drawing.Point(11, 142); 792 this.iDETextBox.Location = new System.Drawing.Point(15, 175); 793 this.iDETextBox.Margin = new System.Windows.Forms.Padding(4); 743 794 this.iDETextBox.Name = "iDETextBox"; 744 this.iDETextBox.Size = new System.Drawing.Size( 58, 20);795 this.iDETextBox.Size = new System.Drawing.Size(76, 22); 745 796 this.iDETextBox.TabIndex = 25; 746 797 this.iDETextBox.Visible = false; … … 749 800 // 750 801 this.zamowienieTrescTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "ZamowienieTresc", true)); 751 this.zamowienieTrescTextBox.Location = new System.Drawing.Point(78, 92); 802 this.zamowienieTrescTextBox.Location = new System.Drawing.Point(104, 113); 803 this.zamowienieTrescTextBox.Margin = new System.Windows.Forms.Padding(4); 752 804 this.zamowienieTrescTextBox.Multiline = true; 753 805 this.zamowienieTrescTextBox.Name = "zamowienieTrescTextBox"; 754 this.zamowienieTrescTextBox.Size = new System.Drawing.Size( 533, 211);806 this.zamowienieTrescTextBox.Size = new System.Drawing.Size(709, 259); 755 807 this.zamowienieTrescTextBox.TabIndex = 13; 756 808 // … … 758 810 // 759 811 this.zamowienieWartosc1TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "ZamowienieWartosc1", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2")); 760 this.zamowienieWartosc1TextBox.Location = new System.Drawing.Point(274, 53); 812 this.zamowienieWartosc1TextBox.Location = new System.Drawing.Point(365, 65); 813 this.zamowienieWartosc1TextBox.Margin = new System.Windows.Forms.Padding(4); 761 814 this.zamowienieWartosc1TextBox.Name = "zamowienieWartosc1TextBox"; 762 this.zamowienieWartosc1TextBox.Size = new System.Drawing.Size(1 21, 20);815 this.zamowienieWartosc1TextBox.Size = new System.Drawing.Size(160, 22); 763 816 this.zamowienieWartosc1TextBox.TabIndex = 15; 764 817 // … … 766 819 // 767 820 this.numer_RokTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Numer_Rok", true)); 768 this.numer_RokTextBox.Location = new System.Drawing.Point(11, 220); 821 this.numer_RokTextBox.Location = new System.Drawing.Point(15, 271); 822 this.numer_RokTextBox.Margin = new System.Windows.Forms.Padding(4); 769 823 this.numer_RokTextBox.Name = "numer_RokTextBox"; 770 this.numer_RokTextBox.Size = new System.Drawing.Size( 58, 20);824 this.numer_RokTextBox.Size = new System.Drawing.Size(76, 22); 771 825 this.numer_RokTextBox.TabIndex = 11; 772 826 this.numer_RokTextBox.Visible = false; … … 775 829 // 776 830 this.zamowienieWartosc2TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "ZamowienieWartosc2", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2")); 777 this.zamowienieWartosc2TextBox.Location = new System.Drawing.Point(475, 53); 831 this.zamowienieWartosc2TextBox.Location = new System.Drawing.Point(633, 65); 832 this.zamowienieWartosc2TextBox.Margin = new System.Windows.Forms.Padding(4); 778 833 this.zamowienieWartosc2TextBox.Name = "zamowienieWartosc2TextBox"; 779 this.zamowienieWartosc2TextBox.Size = new System.Drawing.Size(1 21, 20);834 this.zamowienieWartosc2TextBox.Size = new System.Drawing.Size(160, 22); 780 835 this.zamowienieWartosc2TextBox.TabIndex = 17; 781 836 // … … 783 838 // 784 839 this.numerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Numer", true)); 785 this.numerTextBox.Location = new System.Drawing.Point(17, 168); 840 this.numerTextBox.Location = new System.Drawing.Point(23, 207); 841 this.numerTextBox.Margin = new System.Windows.Forms.Padding(4); 786 842 this.numerTextBox.Name = "numerTextBox"; 787 this.numerTextBox.Size = new System.Drawing.Size( 43, 20);843 this.numerTextBox.Size = new System.Drawing.Size(56, 22); 788 844 this.numerTextBox.TabIndex = 7; 789 845 this.numerTextBox.Visible = false; … … 792 848 // 793 849 this.numer_RozTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.zamowieniaBindingSource, "Numer_Roz", true)); 794 this.numer_RozTextBox.Location = new System.Drawing.Point(9, 194); 850 this.numer_RozTextBox.Location = new System.Drawing.Point(12, 239); 851 this.numer_RozTextBox.Margin = new System.Windows.Forms.Padding(4); 795 852 this.numer_RozTextBox.Name = "numer_RozTextBox"; 796 this.numer_RozTextBox.Size = new System.Drawing.Size( 63, 20);853 this.numer_RozTextBox.Size = new System.Drawing.Size(83, 22); 797 854 this.numer_RozTextBox.TabIndex = 9; 798 855 this.numer_RozTextBox.Visible = false; … … 804 861 this.zamowienieDzialComboBox.DisplayMember = "Symbol"; 805 862 this.zamowienieDzialComboBox.FormattingEnabled = true; 806 this.zamowienieDzialComboBox.Location = new System.Drawing.Point(274, 20); 863 this.zamowienieDzialComboBox.Location = new System.Drawing.Point(365, 25); 864 this.zamowienieDzialComboBox.Margin = new System.Windows.Forms.Padding(4); 807 865 this.zamowienieDzialComboBox.Name = "zamowienieDzialComboBox"; 808 this.zamowienieDzialComboBox.Size = new System.Drawing.Size(1 21, 21);866 this.zamowienieDzialComboBox.Size = new System.Drawing.Size(160, 24); 809 867 this.zamowienieDzialComboBox.TabIndex = 24; 810 868 this.zamowienieDzialComboBox.ValueMember = "IDE"; … … 814 872 this.label1.AutoSize = true; 815 873 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 816 this.label1.Location = new System.Drawing.Point(471, 16); 874 this.label1.Location = new System.Drawing.Point(628, 20); 875 this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 817 876 this.label1.Name = "label1"; 818 this.label1.Size = new System.Drawing.Size( 57, 20);877 this.label1.Size = new System.Drawing.Size(70, 25); 819 878 this.label1.TabIndex = 22; 820 879 this.label1.Text = "label1"; … … 823 882 // 824 883 this.zapiszButton.Image = ((System.Drawing.Image)(resources.GetObject("zapiszButton.Image"))); 825 this.zapiszButton.Location = new System.Drawing.Point(511, 333); 884 this.zapiszButton.Location = new System.Drawing.Point(681, 410); 885 this.zapiszButton.Margin = new System.Windows.Forms.Padding(4); 826 886 this.zapiszButton.Name = "zapiszButton"; 827 this.zapiszButton.Size = new System.Drawing.Size(1 14, 35);887 this.zapiszButton.Size = new System.Drawing.Size(152, 43); 828 888 this.zapiszButton.TabIndex = 21; 829 889 this.zapiszButton.Text = "ZAPISZ"; … … 836 896 this.anulujButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 837 897 this.anulujButton.Image = ((System.Drawing.Image)(resources.GetObject("anulujButton.Image"))); 838 this.anulujButton.Location = new System.Drawing.Point(388, 333); 898 this.anulujButton.Location = new System.Drawing.Point(517, 410); 899 this.anulujButton.Margin = new System.Windows.Forms.Padding(4); 839 900 this.anulujButton.Name = "anulujButton"; 840 this.anulujButton.Size = new System.Drawing.Size(1 10, 35);901 this.anulujButton.Size = new System.Drawing.Size(147, 43); 841 902 this.anulujButton.TabIndex = 20; 842 903 this.anulujButton.Text = "ZAMKNIJ"; … … 848 909 // 849 910 this.zamowienieDataDateTimePicker.CalendarMonthBackground = System.Drawing.Color.White; 911 this.zamowienieDataDateTimePicker.CausesValidation = false; 912 this.zamowienieDataDateTimePicker.CustomFormat = "yyyy-MM-dd"; 850 913 this.zamowienieDataDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.zamowieniaBindingSource, "ZamowienieData", true)); 851 this.zamowienieDataDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Short; 852 this.zamowienieDataDateTimePicker.Location = new System.Drawing.Point(77, 53); 914 this.zamowienieDataDateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; 915 this.zamowienieDataDateTimePicker.Location = new System.Drawing.Point(103, 65); 916 this.zamowienieDataDateTimePicker.Margin = new System.Windows.Forms.Padding(4); 853 917 this.zamowienieDataDateTimePicker.Name = "zamowienieDataDateTimePicker"; 854 this.zamowienieDataDateTimePicker.Size = new System.Drawing.Size(1 21, 20);918 this.zamowienieDataDateTimePicker.Size = new System.Drawing.Size(160, 22); 855 919 this.zamowienieDataDateTimePicker.TabIndex = 5; 856 this.zamowienieDataDateTimePicker.ValueChanged += new System.EventHandler(this.zamowienieDataDateTimePicker_ValueChanged); 920 this.zamowienieDataDateTimePicker.Value = new System.DateTime(2009, 1, 14, 10, 47, 56, 0); 921 this.zamowienieDataDateTimePicker.CloseUp += new System.EventHandler(this.zamowienieDataDateTimePicker_CloseUp); 857 922 // 858 923 // groupBox1 … … 860 925 this.groupBox1.Controls.Add(this.odtwierdzButton); 861 926 this.groupBox1.Controls.Add(this.zatwierdzButton); 862 this.groupBox1.Location = new System.Drawing.Point(9, 309); 927 this.groupBox1.Location = new System.Drawing.Point(12, 380); 928 this.groupBox1.Margin = new System.Windows.Forms.Padding(4); 863 929 this.groupBox1.Name = "groupBox1"; 864 this.groupBox1.Size = new System.Drawing.Size(118, 67); 930 this.groupBox1.Padding = new System.Windows.Forms.Padding(4); 931 this.groupBox1.Size = new System.Drawing.Size(157, 82); 865 932 this.groupBox1.TabIndex = 46; 866 933 this.groupBox1.TabStop = false; … … 870 937 // 871 938 this.odtwierdzButton.Image = ((System.Drawing.Image)(resources.GetObject("odtwierdzButton.Image"))); 872 this.odtwierdzButton.Location = new System.Drawing.Point(62, 19); 939 this.odtwierdzButton.Location = new System.Drawing.Point(83, 23); 940 this.odtwierdzButton.Margin = new System.Windows.Forms.Padding(4); 873 941 this.odtwierdzButton.Name = "odtwierdzButton"; 874 this.odtwierdzButton.Size = new System.Drawing.Size( 42, 40);942 this.odtwierdzButton.Size = new System.Drawing.Size(56, 49); 875 943 this.odtwierdzButton.TabIndex = 45; 876 944 this.odtwierdzButton.UseVisualStyleBackColor = true; … … 880 948 // 881 949 this.zatwierdzButton.Image = ((System.Drawing.Image)(resources.GetObject("zatwierdzButton.Image"))); 882 this.zatwierdzButton.Location = new System.Drawing.Point(14, 19); 950 this.zatwierdzButton.Location = new System.Drawing.Point(19, 23); 951 this.zatwierdzButton.Margin = new System.Windows.Forms.Padding(4); 883 952 this.zatwierdzButton.Name = "zatwierdzButton"; 884 this.zatwierdzButton.Size = new System.Drawing.Size( 42, 40);953 this.zatwierdzButton.Size = new System.Drawing.Size(56, 49); 885 954 this.zatwierdzButton.TabIndex = 44; 886 955 this.zatwierdzButton.UseVisualStyleBackColor = true; … … 891 960 this.tabControl1.Controls.Add(this.zamTabPage); 892 961 this.tabControl1.Controls.Add(this.wiadoTabPage); 893 this.tabControl1.Location = new System.Drawing.Point(12, 12); 962 this.tabControl1.Location = new System.Drawing.Point(16, 15); 963 this.tabControl1.Margin = new System.Windows.Forms.Padding(4); 894 964 this.tabControl1.Name = "tabControl1"; 895 965 this.tabControl1.SelectedIndex = 0; 896 this.tabControl1.Size = new System.Drawing.Size( 645, 408);966 this.tabControl1.Size = new System.Drawing.Size(860, 502); 897 967 this.tabControl1.TabIndex = 40; 898 968 // 899 969 // ZamowienieForm 900 970 // 901 this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F);971 this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); 902 972 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 903 this.ClientSize = new System.Drawing.Size( 672, 600);973 this.ClientSize = new System.Drawing.Size(896, 738); 904 974 this.Controls.Add(this.tabControl1); 905 975 this.Controls.Add(this.dyrGeneralGroupBox); 906 976 this.Controls.Add(this.dyrFinanGroupBox); 907 977 this.Controls.Add(this.kierownikGroupBox); 978 this.Margin = new System.Windows.Forms.Padding(4); 908 979 this.Name = "ZamowienieForm"; 909 980 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; -
BazaZamowien/Zamowienia/ZamowienieForm.cs
r712 r715 35 35 DataRowView row = datatable.AddNew(); 36 36 37 // row["IDE"] = Utils.IDENowegoZamowienia();37 // row["IDE"] = Utils.IDENowegoZamowienia(); 38 38 row["ZamowienieKto"] = User.getUser().IDE; 39 39 row["ZamowienieDzial"] = User.getUser().IDEDzialu; 40 40 row["ZamowienieData"] = DateTime.Now; 41 row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(User.getUser().IDEDzialu );41 row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(User.getUser().IDEDzialu, zamowienieDataDateTimePicker.Value.Year); 42 42 row["Numer_Roz"] = User.getUser().Numer_Roz; 43 row["Numer_Rok"] = DateTime.Today.Year; 44 45 label1.Text = row["Numer"].ToString() + "/" + row["Numer_Roz"].ToString() + "/" + row["Numer_Rok"].ToString(); 46 43 row["Numer_Rok"] = zamowienieDataDateTimePicker.Value.Year; 44 45 SetOrderNumberText(row["Numer"].ToString(), 46 row["Numer_Roz"].ToString(), 47 row["Numer_Rok"].ToString()); 48 47 49 Validate(); 48 50 49 51 zamowieniaBindingSource.EndEdit(); 50 52 zamowieniaBindingSource.MoveLast(); 51 53 52 54 ustawLabele((DataRowView)zamowieniaBindingSource.Current); 53 55 … … 86 88 newRow["ZamowienieDzial"] = User.getUser().IDEDzialu; 87 89 newRow["ZamowienieData"] = DateTime.Now; 88 newRow["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(User.getUser().IDEDzialu );90 newRow["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(User.getUser().IDEDzialu, zamowienieDataDateTimePicker.Value.Year); 89 91 newRow["Numer_Roz"] = User.getUser().Numer_Roz; 90 newRow["Numer_Rok"] = DateTime.Today.Year;91 92 label1.Text = newRow["Numer"].ToString() + "/" + newRow["Numer_Roz"].ToString() + "/" + newRow["Numer_Rok"].ToString();92 newRow["Numer_Rok"] = zamowienieDataDateTimePicker.Value.Year; 93 94 SetOrderNumberText(newRow["Numer"].ToString(), newRow["Numer_Roz"].ToString(), newRow["Numer_Rok"].ToString()); 93 95 94 96 Validate(); … … 105 107 this.zamowieniaTableAdapter.FillByIDE(zamowieniaDataSet.Zamowienia, IDE); 106 108 DataRowView row = (DataRowView)zamowieniaBindingSource.Current; 107 label1.Text = row["Numer"].ToString() + "/" + row["Numer_Roz"].ToString() + "/" + row["Numer_Rok"].ToString(); 109 110 SetOrderNumberText(row["Numer"].ToString(), row["Numer_Roz"].ToString(), row["Numer_Rok"].ToString()); 108 111 109 112 ustawLabele((DataRowView)zamowieniaBindingSource.Current); … … 116 119 uprawnienia(); 117 120 } 121 } 122 123 private void SetOrderNumberText(string number, string numberExt, string year) 124 { 125 label1.Text = number + "/" + numberExt + "/" + year; 118 126 } 119 127 … … 413 421 zamowieniaBindingSource.EndEdit(); 414 422 415 label1.Text = ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(dzialRow["IDE"])).ToString() + "/" + dzialRow["roz"].ToString() + "/" + DateTime.Today.Year; 416 417 DataRowView row = (DataRowView)zamowieniaBindingSource.Current; 418 row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(dzialRow["IDE"])); 423 SetOrderNumberText(ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(dzialRow["IDE"]), zamowienieDataDateTimePicker.Value.Year).ToString(), 424 dzialRow["roz"].ToString(), 425 zamowienieDataDateTimePicker.Value.Year.ToString()); 426 427 DataRowView row = (DataRowView)zamowieniaBindingSource.Current; 428 row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(dzialRow["IDE"]), 429 zamowienieDataDateTimePicker.Value.Year); 419 430 row["Numer_Roz"] = dzialRow["roz"]; 420 431 … … 432 443 } 433 444 434 private void zamowienieDataDateTimePicker_ ValueChanged(object sender, EventArgs e)445 private void zamowienieDataDateTimePicker_CloseUp(object sender, EventArgs e) 435 446 { 436 447 DataRowView row = (DataRowView)zamowieniaBindingSource.Current; 437 448 //row["ZamowienieData"] = row["ZamowienieData"]; 438 449 row["ZamowienieData"] = zamowienieDataDateTimePicker.Value; 450 row["Numer_Rok"] = zamowienieDataDateTimePicker.Value.Year; 451 row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(zamowienieDzialComboBox.SelectedValue), 452 zamowienieDataDateTimePicker.Value.Year); 453 454 455 SetOrderNumberText(row["Numer"].ToString(), row["Numer_Roz"].ToString(), row["Numer_Rok"].ToString()); 456 439 457 zamowieniaBindingSource.EndEdit(); 440 458 } 459 460 //private void zamowienieDataDateTimePicker_ValueChanged(object sender, EventArgs e) 461 //{ 462 // return; 463 464 // if (!(sender is DateTimePicker)) 465 // return; 466 467 // DataRowView row = (DataRowView)zamowieniaBindingSource.Current; 468 // //row["ZamowienieData"] = row["ZamowienieData"]; 469 // row["ZamowienieData"] = zamowienieDataDateTimePicker.Value; 470 // row["Numer_Rok"] = zamowienieDataDateTimePicker.Value.Year; 471 // row["Numer"] = ZamowieniaUtils.nrNowegoZamowienia(Convert.ToInt32(zamowienieDzialComboBox.SelectedValue), 472 // zamowienieDataDateTimePicker.Value.Year); 473 474 475 // SetOrderNumberText(row["Numer"].ToString(), row["Numer_Roz"].ToString(), row["Numer_Rok"].ToString()); 476 477 // zamowieniaBindingSource.EndEdit(); 478 //} 441 479 442 480 private void anulujButton_Click(object sender, EventArgs e) … … 595 633 596 634 } 597 598 635 } 599 636 } -
BazaZamowien/Zamowienia/ZamowienieForm.resx
r710 r715 172 172 <value>17, 17</value> 173 173 </metadata> 174 <metadata name="zamowieniaDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 175 <value>17, 17</value> 176 </metadata> 174 177 <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 175 178 <data name="wyczysc1Button.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
