- Data:
- 2009-04-10 14:46:35 (17 years ago)
- Lokalizacja:
- branches/ReklamaReorganizacja/BazaReklam
- Pliki:
-
- 1 dodane
- 6 zmodyfikowane
-
Baza Reklam.csproj (zmodyfikowane) (1 diff)
-
ProjectForm.Designer.cs (zmodyfikowane) (6 diffs)
-
ProjectForm.cs (zmodyfikowane) (3 diffs)
-
ProjectForm.resx (zmodyfikowane) (1 diff)
-
Properties/Resources.Designer.cs (zmodyfikowane) (1 diff)
-
Properties/Resources.resx (zmodyfikowane) (1 diff)
-
Resources/folder.png (dodane)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
branches/ReklamaReorganizacja/BazaReklam/Baza Reklam.csproj
r560 r569 654 654 <Content Include="Docs\TODO.txt" /> 655 655 <Content Include="Resources\businessman_preferences.png" /> 656 <Content Include="Resources\folder.png" /> 656 657 </ItemGroup> 657 658 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> -
branches/ReklamaReorganizacja/BazaReklam/ProjectForm.Designer.cs
r65 r569 84 84 this.jezykComboBox = new System.Windows.Forms.ComboBox(); 85 85 this.label1 = new System.Windows.Forms.Label(); 86 this.btnOpenFolder = new System.Windows.Forms.Button(); 86 87 tYP_PROJEKTULabel = new System.Windows.Forms.Label(); 87 88 nAZWA_ZAMOWIENIALabel = new System.Windows.Forms.Label(); … … 327 328 this.path_to_materialTextBox.MaxLength = 100; 328 329 this.path_to_materialTextBox.Name = "path_to_materialTextBox"; 329 this.path_to_materialTextBox.Size = new System.Drawing.Size(4 46, 21);330 this.path_to_materialTextBox.Size = new System.Drawing.Size(405, 21); 330 331 this.path_to_materialTextBox.TabIndex = 18; 331 332 // … … 412 413 // 413 414 this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; 414 this.bindingNavigatorCountItem.Size = new System.Drawing.Size(3 5, 22);415 this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22); 415 416 this.bindingNavigatorCountItem.Text = "of {0}"; 416 417 this.bindingNavigatorCountItem.ToolTipText = "Total number of items"; … … 606 607 this.label1.Text = "Jêzyk:"; 607 608 // 609 // btnOpenFolder 610 // 611 this.btnOpenFolder.Image = global::Baza_Reklam.Properties.Resources.folder; 612 this.btnOpenFolder.Location = new System.Drawing.Point(439, 444); 613 this.btnOpenFolder.Name = "btnOpenFolder"; 614 this.btnOpenFolder.Size = new System.Drawing.Size(35, 23); 615 this.btnOpenFolder.TabIndex = 41; 616 this.btnOpenFolder.UseVisualStyleBackColor = true; 617 this.btnOpenFolder.Click += new System.EventHandler(this.btnOpenFolder_Click); 618 // 608 619 // ProjectForm 609 620 // … … 611 622 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 612 623 this.ClientSize = new System.Drawing.Size(509, 603); 624 this.Controls.Add(this.btnOpenFolder); 613 625 this.Controls.Add(this.label1); 614 626 this.Controls.Add(this.jezykComboBox); … … 706 718 private System.Windows.Forms.ComboBox jezykComboBox; 707 719 private System.Windows.Forms.Label label1; 720 private System.Windows.Forms.Button btnOpenFolder; 708 721 } 709 722 } -
branches/ReklamaReorganizacja/BazaReklam/ProjectForm.cs
r557 r569 3 3 using System.Data.SqlClient; 4 4 using System.Drawing; 5 using System.IO; 5 6 using System.Windows.Forms; 6 7 using System.Drawing.Printing; … … 53 54 private void ProjectForm_Load(object sender, EventArgs e) 54 55 { 55 56 ToolTip toolTip = new ToolTip(); 57 toolTip.ShowAlways = true; 58 toolTip.SetToolTip(btnOpenFolder, "Otwórz folder z materia³ami"); 56 59 57 60 pRODUKCJATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; … … 305 308 306 309 } 310 311 private void btnOpenFolder_Click(object sender, EventArgs e) 312 { 313 string path = path_to_materialTextBox.Text.Trim(); 314 315 if (string.IsNullOrEmpty(path)) return; 316 317 if (!Directory.Exists(path)) 318 { 319 MessageBox.Show("Nie znalaz³em cie¿ki: " + path, "Projekt - materia³y do reklamy"); 320 return; 321 } 322 System.Diagnostics.Process.Start(path); 323 } 307 324 } 308 325 } -
branches/ReklamaReorganizacja/BazaReklam/ProjectForm.resx
r65 r569 311 311 <value> 312 312 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 313 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAA LAAAA314 C wAB5DetvwAAAolJREFUOE+Fk/tLk1EYx8/c3s13b2nMKWZFKYk/RWVRaHQR1MggEEMqw6ZN1B+6GJo6313 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/gAA 314 Cv4B5iV4ZgAAAolJREFUOE+Fk/tLk1EYx8/c3s13b2nMKWZFKYk/RWVRaHQR1MggEEMqw6ZN1B+6GJo6 315 315 L7OhU2caIhZh0A/RDemfiAIp8hVs5TU1poiwUrrhD+3b87xuy6TyhQ/njHO+z+X7nOnEmi+uzzy4zbJ1 316 316 LwIQgUBABH4GxMzs3KulquVcuuonltdq/vhtva2o/T+6cf+LE3cXr8M5dQYbHcZBumQj4v8r5sOYXrP6 -
branches/ReklamaReorganizacja/BazaReklam/Properties/Resources.Designer.cs
r556 r569 93 93 } 94 94 95 internal static System.Drawing.Bitmap folder { 96 get { 97 object obj = ResourceManager.GetObject("folder", resourceCulture); 98 return ((System.Drawing.Bitmap)(obj)); 99 } 100 } 101 95 102 /// <summary> 96 103 /// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -
branches/ReklamaReorganizacja/BazaReklam/Properties/Resources.resx
r69 r569 131 131 <value>..\resources\bullet_ball_glass_green.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 132 132 </data> 133 <data name="folder" type="System.Resources.ResXFileRef, System.Windows.Forms"> 134 <value>..\Resources\folder.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 135 </data> 133 136 </root>
