|
@@ -52,6 +52,8 @@
|
|
|
colprdPrice = new ColumnHeader();
|
|
colprdPrice = new ColumnHeader();
|
|
|
colprdUri = new ColumnHeader();
|
|
colprdUri = new ColumnHeader();
|
|
|
colprdDescription = new ColumnHeader();
|
|
colprdDescription = new ColumnHeader();
|
|
|
|
|
+ colprdMinQty = new ColumnHeader();
|
|
|
|
|
+ colprdMaxQty = new ColumnHeader();
|
|
|
tsProducts = new ToolStrip();
|
|
tsProducts = new ToolStrip();
|
|
|
toolStripLabel4 = new ToolStripLabel();
|
|
toolStripLabel4 = new ToolStripLabel();
|
|
|
toolStripSeparator10 = new ToolStripSeparator();
|
|
toolStripSeparator10 = new ToolStripSeparator();
|
|
@@ -69,6 +71,8 @@
|
|
|
lvVariants = new ListView();
|
|
lvVariants = new ListView();
|
|
|
colvarName = new ColumnHeader();
|
|
colvarName = new ColumnHeader();
|
|
|
colvarPrice = new ColumnHeader();
|
|
colvarPrice = new ColumnHeader();
|
|
|
|
|
+ colvarMinQty = new ColumnHeader();
|
|
|
|
|
+ colvarMaxQty = new ColumnHeader();
|
|
|
tsVariants = new ToolStrip();
|
|
tsVariants = new ToolStrip();
|
|
|
toolStripLabel2 = new ToolStripLabel();
|
|
toolStripLabel2 = new ToolStripLabel();
|
|
|
toolStripSeparator6 = new ToolStripSeparator();
|
|
toolStripSeparator6 = new ToolStripSeparator();
|
|
@@ -99,6 +103,10 @@
|
|
|
tbdetDescription = new TextBox();
|
|
tbdetDescription = new TextBox();
|
|
|
ltbdetPrice = new Label();
|
|
ltbdetPrice = new Label();
|
|
|
tbdetPrice = new NumericUpDown();
|
|
tbdetPrice = new NumericUpDown();
|
|
|
|
|
+ ldetMinimal = new Label();
|
|
|
|
|
+ tbdetMinimal = new TextBox();
|
|
|
|
|
+ ldetMaximal = new Label();
|
|
|
|
|
+ tbdetMaximal = new TextBox();
|
|
|
lcbdetCategories = new Label();
|
|
lcbdetCategories = new Label();
|
|
|
cbdetCategories = new ComboBox();
|
|
cbdetCategories = new ComboBox();
|
|
|
ltbdetUri = new Label();
|
|
ltbdetUri = new Label();
|
|
@@ -114,8 +122,6 @@
|
|
|
dlgOpenDir = new FolderBrowserDialog();
|
|
dlgOpenDir = new FolderBrowserDialog();
|
|
|
dlgSaveFile = new SaveFileDialog();
|
|
dlgSaveFile = new SaveFileDialog();
|
|
|
dlgDirSelect = new FolderBrowserDialog();
|
|
dlgDirSelect = new FolderBrowserDialog();
|
|
|
- colprdMinQty = new ColumnHeader();
|
|
|
|
|
- colprdMaxQty = new ColumnHeader();
|
|
|
|
|
ssMain.SuspendLayout();
|
|
ssMain.SuspendLayout();
|
|
|
tsMain.SuspendLayout();
|
|
tsMain.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
@@ -315,6 +321,16 @@
|
|
|
colprdDescription.Tag = "ShortDescription";
|
|
colprdDescription.Tag = "ShortDescription";
|
|
|
colprdDescription.Text = "Popis";
|
|
colprdDescription.Text = "Popis";
|
|
|
//
|
|
//
|
|
|
|
|
+ // colprdMinQty
|
|
|
|
|
+ //
|
|
|
|
|
+ colprdMinQty.Tag = "QuantityMinimum";
|
|
|
|
|
+ colprdMinQty.Text = "Počet Min.";
|
|
|
|
|
+ //
|
|
|
|
|
+ // colprdMaxQty
|
|
|
|
|
+ //
|
|
|
|
|
+ colprdMaxQty.Tag = "QuantityMaximum";
|
|
|
|
|
+ colprdMaxQty.Text = "Počet Max.";
|
|
|
|
|
+ //
|
|
|
// tsProducts
|
|
// tsProducts
|
|
|
//
|
|
//
|
|
|
tsProducts.Items.AddRange(new ToolStripItem[] { toolStripLabel4, toolStripSeparator10, tbbutProdNew, tbbutProdVarNew, tbbutProdDelete, toolStripSeparator2, tbbutProdClone, toolStripSeparator3, toolStripLabel1, tbbutProduct, tbbutVariant });
|
|
tsProducts.Items.AddRange(new ToolStripItem[] { toolStripLabel4, toolStripSeparator10, tbbutProdNew, tbbutProdVarNew, tbbutProdDelete, toolStripSeparator2, tbbutProdClone, toolStripSeparator3, toolStripLabel1, tbbutProduct, tbbutVariant });
|
|
@@ -457,7 +473,7 @@
|
|
|
// lvVariants
|
|
// lvVariants
|
|
|
//
|
|
//
|
|
|
lvVariants.AllowColumnReorder = true;
|
|
lvVariants.AllowColumnReorder = true;
|
|
|
- lvVariants.Columns.AddRange(new ColumnHeader[] { colvarName, colvarPrice });
|
|
|
|
|
|
|
+ lvVariants.Columns.AddRange(new ColumnHeader[] { colvarName, colvarPrice, colvarMinQty, colvarMaxQty });
|
|
|
lvVariants.Dock = DockStyle.Fill;
|
|
lvVariants.Dock = DockStyle.Fill;
|
|
|
lvVariants.FullRowSelect = true;
|
|
lvVariants.FullRowSelect = true;
|
|
|
lvVariants.GridLines = true;
|
|
lvVariants.GridLines = true;
|
|
@@ -480,6 +496,16 @@
|
|
|
colvarPrice.Tag = "Price";
|
|
colvarPrice.Tag = "Price";
|
|
|
colvarPrice.Text = "Cena";
|
|
colvarPrice.Text = "Cena";
|
|
|
//
|
|
//
|
|
|
|
|
+ // colvarMinQty
|
|
|
|
|
+ //
|
|
|
|
|
+ colvarMinQty.Tag = "QuantityMinimum";
|
|
|
|
|
+ colvarMinQty.Text = "Min. Počet";
|
|
|
|
|
+ //
|
|
|
|
|
+ // colvarMaxQty
|
|
|
|
|
+ //
|
|
|
|
|
+ colvarMaxQty.Tag = "QuantityMaximum";
|
|
|
|
|
+ colvarMaxQty.Text = "Max. Počet";
|
|
|
|
|
+ //
|
|
|
// tsVariants
|
|
// tsVariants
|
|
|
//
|
|
//
|
|
|
tsVariants.Items.AddRange(new ToolStripItem[] { toolStripLabel2, toolStripSeparator6, tbbutVarNew, tbbutVarDelete, toolStripSeparator7, tbbutVarApply });
|
|
tsVariants.Items.AddRange(new ToolStripItem[] { toolStripLabel2, toolStripSeparator6, tbbutVarNew, tbbutVarDelete, toolStripSeparator7, tbbutVarApply });
|
|
@@ -620,6 +646,10 @@
|
|
|
detProduct.Controls.Add(tbdetDescription);
|
|
detProduct.Controls.Add(tbdetDescription);
|
|
|
detProduct.Controls.Add(ltbdetPrice);
|
|
detProduct.Controls.Add(ltbdetPrice);
|
|
|
detProduct.Controls.Add(tbdetPrice);
|
|
detProduct.Controls.Add(tbdetPrice);
|
|
|
|
|
+ detProduct.Controls.Add(ldetMinimal);
|
|
|
|
|
+ detProduct.Controls.Add(tbdetMinimal);
|
|
|
|
|
+ detProduct.Controls.Add(ldetMaximal);
|
|
|
|
|
+ detProduct.Controls.Add(tbdetMaximal);
|
|
|
detProduct.Controls.Add(lcbdetCategories);
|
|
detProduct.Controls.Add(lcbdetCategories);
|
|
|
detProduct.Controls.Add(cbdetCategories);
|
|
detProduct.Controls.Add(cbdetCategories);
|
|
|
detProduct.Controls.Add(ltbdetUri);
|
|
detProduct.Controls.Add(ltbdetUri);
|
|
@@ -751,10 +781,42 @@
|
|
|
tbdetPrice.TabIndex = 16;
|
|
tbdetPrice.TabIndex = 16;
|
|
|
tbdetPrice.ThousandsSeparator = true;
|
|
tbdetPrice.ThousandsSeparator = true;
|
|
|
//
|
|
//
|
|
|
|
|
+ // ldetMinimal
|
|
|
|
|
+ //
|
|
|
|
|
+ ldetMinimal.AutoSize = true;
|
|
|
|
|
+ ldetMinimal.Location = new Point(421, 0);
|
|
|
|
|
+ ldetMinimal.Name = "ldetMinimal";
|
|
|
|
|
+ ldetMinimal.Size = new Size(94, 15);
|
|
|
|
|
+ ldetMinimal.TabIndex = 21;
|
|
|
|
|
+ ldetMinimal.Text = "Minimální počet";
|
|
|
|
|
+ //
|
|
|
|
|
+ // tbdetMinimal
|
|
|
|
|
+ //
|
|
|
|
|
+ tbdetMinimal.Location = new Point(421, 18);
|
|
|
|
|
+ tbdetMinimal.Name = "tbdetMinimal";
|
|
|
|
|
+ tbdetMinimal.Size = new Size(203, 23);
|
|
|
|
|
+ tbdetMinimal.TabIndex = 22;
|
|
|
|
|
+ //
|
|
|
|
|
+ // ldetMaximal
|
|
|
|
|
+ //
|
|
|
|
|
+ ldetMaximal.AutoSize = true;
|
|
|
|
|
+ ldetMaximal.Location = new Point(421, 44);
|
|
|
|
|
+ ldetMaximal.Name = "ldetMaximal";
|
|
|
|
|
+ ldetMaximal.Size = new Size(96, 15);
|
|
|
|
|
+ ldetMaximal.TabIndex = 23;
|
|
|
|
|
+ ldetMaximal.Text = "Maximální počet";
|
|
|
|
|
+ //
|
|
|
|
|
+ // tbdetMaximal
|
|
|
|
|
+ //
|
|
|
|
|
+ tbdetMaximal.Location = new Point(421, 62);
|
|
|
|
|
+ tbdetMaximal.Name = "tbdetMaximal";
|
|
|
|
|
+ tbdetMaximal.Size = new Size(203, 23);
|
|
|
|
|
+ tbdetMaximal.TabIndex = 24;
|
|
|
|
|
+ //
|
|
|
// lcbdetCategories
|
|
// lcbdetCategories
|
|
|
//
|
|
//
|
|
|
lcbdetCategories.AutoSize = true;
|
|
lcbdetCategories.AutoSize = true;
|
|
|
- lcbdetCategories.Location = new Point(421, 0);
|
|
|
|
|
|
|
+ lcbdetCategories.Location = new Point(421, 88);
|
|
|
lcbdetCategories.Name = "lcbdetCategories";
|
|
lcbdetCategories.Name = "lcbdetCategories";
|
|
|
lcbdetCategories.Size = new Size(57, 15);
|
|
lcbdetCategories.Size = new Size(57, 15);
|
|
|
lcbdetCategories.TabIndex = 17;
|
|
lcbdetCategories.TabIndex = 17;
|
|
@@ -764,7 +826,7 @@
|
|
|
//
|
|
//
|
|
|
cbdetCategories.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbdetCategories.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
cbdetCategories.FormattingEnabled = true;
|
|
cbdetCategories.FormattingEnabled = true;
|
|
|
- cbdetCategories.Location = new Point(421, 18);
|
|
|
|
|
|
|
+ cbdetCategories.Location = new Point(421, 106);
|
|
|
cbdetCategories.Name = "cbdetCategories";
|
|
cbdetCategories.Name = "cbdetCategories";
|
|
|
cbdetCategories.Size = new Size(203, 23);
|
|
cbdetCategories.Size = new Size(203, 23);
|
|
|
cbdetCategories.TabIndex = 18;
|
|
cbdetCategories.TabIndex = 18;
|
|
@@ -772,7 +834,7 @@
|
|
|
// ltbdetUri
|
|
// ltbdetUri
|
|
|
//
|
|
//
|
|
|
ltbdetUri.AutoSize = true;
|
|
ltbdetUri.AutoSize = true;
|
|
|
- ltbdetUri.Location = new Point(421, 44);
|
|
|
|
|
|
|
+ ltbdetUri.Location = new Point(421, 132);
|
|
|
ltbdetUri.Name = "ltbdetUri";
|
|
ltbdetUri.Name = "ltbdetUri";
|
|
|
ltbdetUri.Size = new Size(68, 15);
|
|
ltbdetUri.Size = new Size(68, 15);
|
|
|
ltbdetUri.TabIndex = 19;
|
|
ltbdetUri.TabIndex = 19;
|
|
@@ -780,7 +842,7 @@
|
|
|
//
|
|
//
|
|
|
// tbdetUri
|
|
// tbdetUri
|
|
|
//
|
|
//
|
|
|
- tbdetUri.Location = new Point(421, 62);
|
|
|
|
|
|
|
+ tbdetUri.Location = new Point(421, 150);
|
|
|
tbdetUri.Name = "tbdetUri";
|
|
tbdetUri.Name = "tbdetUri";
|
|
|
tbdetUri.Size = new Size(203, 23);
|
|
tbdetUri.Size = new Size(203, 23);
|
|
|
tbdetUri.TabIndex = 20;
|
|
tbdetUri.TabIndex = 20;
|
|
@@ -856,16 +918,6 @@
|
|
|
//
|
|
//
|
|
|
dlgDirSelect.Description = "Vyberte adresář do kterého se vygeneruje struktura repository";
|
|
dlgDirSelect.Description = "Vyberte adresář do kterého se vygeneruje struktura repository";
|
|
|
//
|
|
//
|
|
|
- // colprdMinQty
|
|
|
|
|
- //
|
|
|
|
|
- colprdMinQty.Tag = "QuantityMinimum";
|
|
|
|
|
- colprdMinQty.Text = "Počet Min.";
|
|
|
|
|
- //
|
|
|
|
|
- // colprdMaxQty
|
|
|
|
|
- //
|
|
|
|
|
- colprdMaxQty.Tag = "QuantityMaximum";
|
|
|
|
|
- colprdMaxQty.Text = "Počet Max.";
|
|
|
|
|
- //
|
|
|
|
|
// FormProductEdit
|
|
// FormProductEdit
|
|
|
//
|
|
//
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
@@ -1001,5 +1053,11 @@
|
|
|
private FolderBrowserDialog dlgDirSelect;
|
|
private FolderBrowserDialog dlgDirSelect;
|
|
|
private ColumnHeader colprdMinQty;
|
|
private ColumnHeader colprdMinQty;
|
|
|
private ColumnHeader colprdMaxQty;
|
|
private ColumnHeader colprdMaxQty;
|
|
|
|
|
+ private Label ldetMinimal;
|
|
|
|
|
+ private TextBox tbdetMinimal;
|
|
|
|
|
+ private Label ldetMaximal;
|
|
|
|
|
+ private TextBox tbdetMaximal;
|
|
|
|
|
+ private ColumnHeader colvarMinQty;
|
|
|
|
|
+ private ColumnHeader colvarMaxQty;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|