diff --git a/BatchForm.Designer.cs b/BatchForm.Designer.cs
index d67f838..14e25a9 100644
--- a/BatchForm.Designer.cs
+++ b/BatchForm.Designer.cs
@@ -36,7 +36,7 @@ private void InitializeComponent()
buttonUndo = new Button();
buttonCreateList = new Button();
progressBar = new ProgressBar();
- labelProcress = new Label();
+ labelProgess = new Label();
buttonDeleteList = new Button();
buttonSaveList = new Button();
buttonCopyList = new Button();
@@ -47,7 +47,7 @@ private void InitializeComponent()
labelNumberMin = new Label();
labelStringAfterNumber = new Label();
labelStringBeforeNumber = new Label();
- listView1 = new ListView();
+ listView = new ListView();
columnHeader1 = new ColumnHeader();
columnHeader2 = new ColumnHeader();
columnHeader3 = new ColumnHeader();
@@ -62,7 +62,7 @@ private void InitializeComponent()
toolStripSplitButtonStyle = new ToolStripSplitButton();
toolStripMenuItemActivateVisualStyle = new ToolStripMenuItem();
toolStripMenuItemDeactivateVisualStyle = new ToolStripMenuItem();
- button1 = new Button();
+ buttonAddToList = new Button();
backgroundWorker = new System.ComponentModel.BackgroundWorker();
toolTip = new ToolTip(components);
((System.ComponentModel.ISupportInitialize)numericUpDownNumberMaximum).BeginInit();
@@ -78,15 +78,21 @@ private void InitializeComponent()
buttonRedo.AccessibleRole = AccessibleRole.PushButton;
buttonRedo.AutoEllipsis = true;
buttonRedo.Image = Properties.Resources.redo;
- buttonRedo.Location = new Point(218, 331);
+ buttonRedo.Location = new Point(345, 125);
buttonRedo.Margin = new Padding(4, 3, 4, 3);
buttonRedo.Name = "buttonRedo";
- buttonRedo.Size = new Size(64, 30);
- buttonRedo.TabIndex = 31;
+ buttonRedo.Size = new Size(64, 23);
+ buttonRedo.TabIndex = 11;
buttonRedo.Text = "&Redo";
buttonRedo.TextAlign = ContentAlignment.MiddleRight;
buttonRedo.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonRedo, "Letzte Änderung verwerfen");
buttonRedo.UseVisualStyleBackColor = true;
+ buttonRedo.Click += ButtonRedo_Click;
+ buttonRedo.Enter += SetStatusbar_Enter;
+ buttonRedo.Leave += ClearStatusbar_Leave;
+ buttonRedo.MouseEnter += SetStatusbar_Enter;
+ buttonRedo.MouseLeave += ClearStatusbar_Leave;
//
// textBoxStringAfterNumber
//
@@ -99,9 +105,14 @@ private void InitializeComponent()
textBoxStringAfterNumber.Margin = new Padding(4, 3, 4, 3);
textBoxStringAfterNumber.Name = "textBoxStringAfterNumber";
textBoxStringAfterNumber.PlaceholderText = "Eingabe des Textes nach der Zahlenangabe";
- textBoxStringAfterNumber.Size = new Size(282, 23);
- textBoxStringAfterNumber.TabIndex = 26;
+ textBoxStringAfterNumber.Size = new Size(153, 23);
+ textBoxStringAfterNumber.TabIndex = 8;
textBoxStringAfterNumber.Text = ".jpg";
+ toolTip.SetToolTip(textBoxStringAfterNumber, "Eingabe des Textes nach der Zahlenangabe");
+ textBoxStringAfterNumber.Enter += SetStatusbar_Enter;
+ textBoxStringAfterNumber.Leave += ClearStatusbar_Leave;
+ textBoxStringAfterNumber.MouseEnter += SetStatusbar_Enter;
+ textBoxStringAfterNumber.MouseLeave += ClearStatusbar_Leave;
//
// textBoxStringBeforeNumber
//
@@ -115,8 +126,13 @@ private void InitializeComponent()
textBoxStringBeforeNumber.Name = "textBoxStringBeforeNumber";
textBoxStringBeforeNumber.PlaceholderText = "Eingabe des Textes vor der Zahlenangabe";
textBoxStringBeforeNumber.Size = new Size(395, 23);
- textBoxStringBeforeNumber.TabIndex = 19;
+ textBoxStringBeforeNumber.TabIndex = 1;
textBoxStringBeforeNumber.Text = "http://www.domain.com/files/picture";
+ toolTip.SetToolTip(textBoxStringBeforeNumber, "Eingabe des Textes vor der Zahlenangabe");
+ textBoxStringBeforeNumber.Enter += SetStatusbar_Enter;
+ textBoxStringBeforeNumber.Leave += ClearStatusbar_Leave;
+ textBoxStringBeforeNumber.MouseEnter += SetStatusbar_Enter;
+ textBoxStringBeforeNumber.MouseLeave += ClearStatusbar_Leave;
//
// buttonUndo
//
@@ -125,15 +141,21 @@ private void InitializeComponent()
buttonUndo.AccessibleRole = AccessibleRole.PushButton;
buttonUndo.AutoEllipsis = true;
buttonUndo.Image = (Image)resources.GetObject("buttonUndo.Image");
- buttonUndo.Location = new Point(146, 331);
+ buttonUndo.Location = new Point(273, 125);
buttonUndo.Margin = new Padding(4, 3, 4, 3);
buttonUndo.Name = "buttonUndo";
- buttonUndo.Size = new Size(64, 30);
- buttonUndo.TabIndex = 30;
+ buttonUndo.Size = new Size(64, 23);
+ buttonUndo.TabIndex = 10;
buttonUndo.Text = "&Undo";
buttonUndo.TextAlign = ContentAlignment.MiddleRight;
buttonUndo.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonUndo, "Änderung rückgängigmachen");
buttonUndo.UseVisualStyleBackColor = true;
+ buttonUndo.Click += ButtonUndo_Click;
+ buttonUndo.Enter += SetStatusbar_Enter;
+ buttonUndo.Leave += ClearStatusbar_Leave;
+ buttonUndo.MouseEnter += SetStatusbar_Enter;
+ buttonUndo.MouseLeave += ClearStatusbar_Leave;
//
// buttonCreateList
//
@@ -145,12 +167,18 @@ private void InitializeComponent()
buttonCreateList.Location = new Point(13, 331);
buttonCreateList.Margin = new Padding(4, 3, 4, 3);
buttonCreateList.Name = "buttonCreateList";
- buttonCreateList.Size = new Size(125, 30);
- buttonCreateList.TabIndex = 27;
- buttonCreateList.Text = "Liste neu &erstellen";
+ buttonCreateList.Size = new Size(101, 30);
+ buttonCreateList.TabIndex = 13;
+ buttonCreateList.Text = "Neu &erstellen";
buttonCreateList.TextAlign = ContentAlignment.MiddleRight;
buttonCreateList.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonCreateList, "Liste neu erstellen");
buttonCreateList.UseVisualStyleBackColor = true;
+ buttonCreateList.Click += ButtonCreateList_Click;
+ buttonCreateList.Enter += SetStatusbar_Enter;
+ buttonCreateList.Leave += ClearStatusbar_Leave;
+ buttonCreateList.MouseEnter += SetStatusbar_Enter;
+ buttonCreateList.MouseLeave += ClearStatusbar_Leave;
//
// progressBar
//
@@ -162,21 +190,29 @@ private void InitializeComponent()
progressBar.Name = "progressBar";
progressBar.Size = new Size(310, 20);
progressBar.Style = ProgressBarStyle.Continuous;
- progressBar.TabIndex = 35;
- //
- // labelProcress
- //
- labelProcress.AccessibleDescription = "Verarbeitung";
- labelProcress.AccessibleName = "Verarbeitung";
- labelProcress.AccessibleRole = AccessibleRole.StaticText;
- labelProcress.AutoEllipsis = true;
- labelProcress.AutoSize = true;
- labelProcress.Location = new Point(12, 377);
- labelProcress.Margin = new Padding(4, 0, 4, 0);
- labelProcress.Name = "labelProcress";
- labelProcress.Size = new Size(77, 15);
- labelProcress.TabIndex = 34;
- labelProcress.Text = "Verarbeitun&g:";
+ progressBar.TabIndex = 18;
+ toolTip.SetToolTip(progressBar, "Zeigt den laufenden Verarbeitungsstatus an");
+ progressBar.MouseEnter += SetStatusbar_Enter;
+ progressBar.MouseLeave += ClearStatusbar_Leave;
+ //
+ // labelProgess
+ //
+ labelProgess.AccessibleDescription = "Verarbeitung";
+ labelProgess.AccessibleName = "Verarbeitung";
+ labelProgess.AccessibleRole = AccessibleRole.StaticText;
+ labelProgess.AutoEllipsis = true;
+ labelProgess.AutoSize = true;
+ labelProgess.Location = new Point(12, 377);
+ labelProgess.Margin = new Padding(4, 0, 4, 0);
+ labelProgess.Name = "labelProgess";
+ labelProgess.Size = new Size(77, 15);
+ labelProgess.TabIndex = 17;
+ labelProgess.Text = "Verarbeitun&g:";
+ toolTip.SetToolTip(labelProgess, "Verarbeitung");
+ labelProgess.Enter += SetStatusbar_Enter;
+ labelProgess.Leave += ClearStatusbar_Leave;
+ labelProgess.MouseEnter += SetStatusbar_Enter;
+ labelProgess.MouseLeave += ClearStatusbar_Leave;
//
// buttonDeleteList
//
@@ -185,15 +221,21 @@ private void InitializeComponent()
buttonDeleteList.AccessibleRole = AccessibleRole.PushButton;
buttonDeleteList.AutoEllipsis = true;
buttonDeleteList.Image = Properties.Resources.bin_empty;
- buttonDeleteList.Location = new Point(290, 331);
+ buttonDeleteList.Location = new Point(122, 331);
buttonDeleteList.Margin = new Padding(4, 3, 4, 3);
buttonDeleteList.Name = "buttonDeleteList";
- buttonDeleteList.Size = new Size(117, 30);
- buttonDeleteList.TabIndex = 29;
- buttonDeleteList.Text = "Liste &löschen";
+ buttonDeleteList.Size = new Size(77, 30);
+ buttonDeleteList.TabIndex = 14;
+ buttonDeleteList.Text = "&Löschen";
buttonDeleteList.TextAlign = ContentAlignment.MiddleRight;
buttonDeleteList.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonDeleteList, "Liste löschen");
buttonDeleteList.UseVisualStyleBackColor = true;
+ buttonDeleteList.Click += ButtonDeleteList_Click;
+ buttonDeleteList.Enter += SetStatusbar_Enter;
+ buttonDeleteList.Leave += ClearStatusbar_Leave;
+ buttonDeleteList.MouseEnter += SetStatusbar_Enter;
+ buttonDeleteList.MouseLeave += ClearStatusbar_Leave;
//
// buttonSaveList
//
@@ -202,32 +244,44 @@ private void InitializeComponent()
buttonSaveList.AccessibleRole = AccessibleRole.PushButton;
buttonSaveList.AutoEllipsis = true;
buttonSaveList.Image = Properties.Resources.diskette;
- buttonSaveList.Location = new Point(142, 414);
+ buttonSaveList.Location = new Point(294, 331);
buttonSaveList.Margin = new Padding(4, 3, 4, 3);
buttonSaveList.Name = "buttonSaveList";
- buttonSaveList.Size = new Size(120, 30);
- buttonSaveList.TabIndex = 33;
- buttonSaveList.Text = "Liste &speichern";
+ buttonSaveList.Size = new Size(83, 30);
+ buttonSaveList.TabIndex = 16;
+ buttonSaveList.Text = "&Speichern";
buttonSaveList.TextAlign = ContentAlignment.MiddleRight;
buttonSaveList.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonSaveList, "Liste abspeichern");
buttonSaveList.UseVisualStyleBackColor = true;
+ buttonSaveList.Click += ButtonSaveList_Click;
+ buttonSaveList.Enter += SetStatusbar_Enter;
+ buttonSaveList.Leave += ClearStatusbar_Leave;
+ buttonSaveList.MouseEnter += SetStatusbar_Enter;
+ buttonSaveList.MouseLeave += ClearStatusbar_Leave;
//
// buttonCopyList
//
buttonCopyList.AccessibleDescription = "Kopiert die Liste in die Windows-Zwischenablage";
- buttonCopyList.AccessibleName = "Liste koperien";
+ buttonCopyList.AccessibleName = "Liste kopieren";
buttonCopyList.AccessibleRole = AccessibleRole.PushButton;
buttonCopyList.AutoEllipsis = true;
buttonCopyList.Image = Properties.Resources.page_copy;
- buttonCopyList.Location = new Point(13, 414);
+ buttonCopyList.Location = new Point(207, 331);
buttonCopyList.Margin = new Padding(4, 3, 4, 3);
buttonCopyList.Name = "buttonCopyList";
- buttonCopyList.Size = new Size(121, 30);
- buttonCopyList.TabIndex = 32;
- buttonCopyList.Text = "Liste &kopieren";
+ buttonCopyList.Size = new Size(79, 30);
+ buttonCopyList.TabIndex = 15;
+ buttonCopyList.Text = "&Kopieren";
buttonCopyList.TextAlign = ContentAlignment.MiddleRight;
buttonCopyList.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonCopyList, "Liste kopieren");
buttonCopyList.UseVisualStyleBackColor = true;
+ buttonCopyList.Click += ButtonCopyList_Click;
+ buttonCopyList.Enter += SetStatusbar_Enter;
+ buttonCopyList.Leave += ClearStatusbar_Leave;
+ buttonCopyList.MouseEnter += SetStatusbar_Enter;
+ buttonCopyList.MouseLeave += ClearStatusbar_Leave;
//
// checkBoxFillWithZeros
//
@@ -239,9 +293,14 @@ private void InitializeComponent()
checkBoxFillWithZeros.Margin = new Padding(4, 3, 4, 3);
checkBoxFillWithZeros.Name = "checkBoxFillWithZeros";
checkBoxFillWithZeros.Size = new Size(132, 19);
- checkBoxFillWithZeros.TabIndex = 24;
+ checkBoxFillWithZeros.TabIndex = 6;
checkBoxFillWithZeros.Text = "&mit Nullen auffüllen";
+ toolTip.SetToolTip(checkBoxFillWithZeros, "Markieren, wenn die Einträge mit voranführenden Nullen aufgefüllt werden sollen");
checkBoxFillWithZeros.UseVisualStyleBackColor = true;
+ checkBoxFillWithZeros.Enter += SetStatusbar_Enter;
+ checkBoxFillWithZeros.Leave += ClearStatusbar_Leave;
+ checkBoxFillWithZeros.MouseEnter += SetStatusbar_Enter;
+ checkBoxFillWithZeros.MouseLeave += ClearStatusbar_Leave;
//
// numericUpDownNumberMaximum
//
@@ -253,21 +312,30 @@ private void InitializeComponent()
numericUpDownNumberMaximum.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 });
numericUpDownNumberMaximum.Name = "numericUpDownNumberMaximum";
numericUpDownNumberMaximum.Size = new Size(57, 23);
- numericUpDownNumberMaximum.TabIndex = 23;
+ numericUpDownNumberMaximum.TabIndex = 5;
+ toolTip.SetToolTip(numericUpDownNumberMaximum, "Maximun der Zahl, mit der die Einträge erstellt werden sollen");
numericUpDownNumberMaximum.Value = new decimal(new int[] { 10, 0, 0, 0 });
+ numericUpDownNumberMaximum.Enter += SetStatusbar_Enter;
+ numericUpDownNumberMaximum.Leave += ClearStatusbar_Leave;
//
// labelNumberMax
//
labelNumberMax.AccessibleDescription = "Zahlen Maximum";
labelNumberMax.AccessibleName = "Zahlen Maximum";
labelNumberMax.AccessibleRole = AccessibleRole.StaticText;
+ labelNumberMax.AutoEllipsis = true;
labelNumberMax.AutoSize = true;
labelNumberMax.Location = new Point(152, 68);
labelNumberMax.Margin = new Padding(4, 0, 4, 0);
labelNumberMax.Name = "labelNumberMax";
labelNumberMax.Size = new Size(22, 15);
- labelNumberMax.TabIndex = 22;
+ labelNumberMax.TabIndex = 4;
labelNumberMax.Text = "b&is";
+ toolTip.SetToolTip(labelNumberMax, "Zahlen Maximum");
+ labelNumberMax.Enter += SetStatusbar_Enter;
+ labelNumberMax.Leave += ClearStatusbar_Leave;
+ labelNumberMax.MouseEnter += SetStatusbar_Enter;
+ labelNumberMax.MouseLeave += ClearStatusbar_Leave;
//
// numericUpDownNumberMinimum
//
@@ -279,8 +347,11 @@ private void InitializeComponent()
numericUpDownNumberMinimum.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 });
numericUpDownNumberMinimum.Name = "numericUpDownNumberMinimum";
numericUpDownNumberMinimum.Size = new Size(57, 23);
- numericUpDownNumberMinimum.TabIndex = 21;
+ numericUpDownNumberMinimum.TabIndex = 3;
+ toolTip.SetToolTip(numericUpDownNumberMinimum, "Minimun der Zahl, mit der die Einträge erstellt werden sollen");
numericUpDownNumberMinimum.Value = new decimal(new int[] { 1, 0, 0, 0 });
+ numericUpDownNumberMinimum.Enter += SetStatusbar_Enter;
+ numericUpDownNumberMinimum.Leave += ClearStatusbar_Leave;
//
// labelNumberMin
//
@@ -293,8 +364,13 @@ private void InitializeComponent()
labelNumberMin.Margin = new Padding(4, 0, 4, 0);
labelNumberMin.Name = "labelNumberMin";
labelNumberMin.Size = new Size(66, 15);
- labelNumberMin.TabIndex = 20;
+ labelNumberMin.TabIndex = 2;
labelNumberMin.Text = "Zahlen v&on";
+ toolTip.SetToolTip(labelNumberMin, "Zahlen Minimum");
+ labelNumberMin.Enter += SetStatusbar_Enter;
+ labelNumberMin.Leave += ClearStatusbar_Leave;
+ labelNumberMin.MouseEnter += SetStatusbar_Enter;
+ labelNumberMin.MouseLeave += ClearStatusbar_Leave;
//
// labelStringAfterNumber
//
@@ -307,8 +383,13 @@ private void InitializeComponent()
labelStringAfterNumber.Margin = new Padding(4, 0, 4, 0);
labelStringAfterNumber.Name = "labelStringAfterNumber";
labelStringAfterNumber.Size = new Size(153, 15);
- labelStringAfterNumber.TabIndex = 25;
+ labelStringAfterNumber.TabIndex = 7;
labelStringAfterNumber.Text = "Zeichenkette &nach der Zahl:";
+ toolTip.SetToolTip(labelStringAfterNumber, "Zeichenkette nach der Zahl");
+ labelStringAfterNumber.Enter += SetStatusbar_Enter;
+ labelStringAfterNumber.Leave += ClearStatusbar_Leave;
+ labelStringAfterNumber.MouseEnter += SetStatusbar_Enter;
+ labelStringAfterNumber.MouseLeave += ClearStatusbar_Leave;
//
// labelStringBeforeNumber
//
@@ -321,23 +402,32 @@ private void InitializeComponent()
labelStringBeforeNumber.Margin = new Padding(4, 0, 4, 0);
labelStringBeforeNumber.Name = "labelStringBeforeNumber";
labelStringBeforeNumber.Size = new Size(144, 15);
- labelStringBeforeNumber.TabIndex = 18;
+ labelStringBeforeNumber.TabIndex = 0;
labelStringBeforeNumber.Text = "Zeichenkette &vor der Zahl:";
- //
- // listView1
- //
- listView1.Activation = ItemActivation.OneClick;
- listView1.Columns.AddRange(new ColumnHeader[] { columnHeader1, columnHeader2, columnHeader3, columnHeader4 });
- listView1.FullRowSelect = true;
- listView1.GridLines = true;
- listView1.HoverSelection = true;
- listView1.Location = new Point(12, 165);
- listView1.Name = "listView1";
- listView1.ShowItemToolTips = true;
- listView1.Size = new Size(395, 145);
- listView1.TabIndex = 36;
- listView1.UseCompatibleStateImageBehavior = false;
- listView1.View = View.Details;
+ toolTip.SetToolTip(labelStringBeforeNumber, "Zeichenkette vor der Zahl");
+ labelStringBeforeNumber.Enter += SetStatusbar_Enter;
+ labelStringBeforeNumber.Leave += ClearStatusbar_Leave;
+ labelStringBeforeNumber.MouseEnter += SetStatusbar_Enter;
+ labelStringBeforeNumber.MouseLeave += ClearStatusbar_Leave;
+ //
+ // listView
+ //
+ listView.Activation = ItemActivation.OneClick;
+ listView.Columns.AddRange(new ColumnHeader[] { columnHeader1, columnHeader2, columnHeader3, columnHeader4 });
+ listView.FullRowSelect = true;
+ listView.GridLines = true;
+ listView.HoverSelection = true;
+ listView.Location = new Point(13, 165);
+ listView.Name = "listView";
+ listView.ShowItemToolTips = true;
+ listView.Size = new Size(396, 145);
+ listView.TabIndex = 12;
+ listView.UseCompatibleStateImageBehavior = false;
+ listView.View = View.Details;
+ listView.Enter += SetStatusbar_Enter;
+ listView.Leave += ClearStatusbar_Leave;
+ listView.MouseEnter += SetStatusbar_Enter;
+ listView.MouseLeave += ClearStatusbar_Leave;
//
// columnHeader1
//
@@ -365,14 +455,19 @@ private void InitializeComponent()
statusStripInfo.AccessibleName = "Statusbar";
statusStripInfo.AccessibleRole = AccessibleRole.StatusBar;
statusStripInfo.Items.AddRange(new ToolStripItem[] { toolStripStatusLabelInformation });
- statusStripInfo.Location = new Point(0, 460);
+ statusStripInfo.Location = new Point(0, 410);
statusStripInfo.Name = "statusStripInfo";
statusStripInfo.ShowItemToolTips = true;
statusStripInfo.Size = new Size(422, 22);
statusStripInfo.SizingGrip = false;
- statusStripInfo.TabIndex = 38;
+ statusStripInfo.TabIndex = 19;
statusStripInfo.TabStop = true;
statusStripInfo.Text = "statusStripInfo";
+ toolTip.SetToolTip(statusStripInfo, "Statusbar für Informationstext");
+ statusStripInfo.Enter += SetStatusbar_Enter;
+ statusStripInfo.Leave += ClearStatusbar_Leave;
+ statusStripInfo.MouseEnter += SetStatusbar_Enter;
+ statusStripInfo.MouseLeave += ClearStatusbar_Leave;
//
// toolStripStatusLabelInformation
//
@@ -383,6 +478,8 @@ private void InitializeComponent()
toolStripStatusLabelInformation.Name = "toolStripStatusLabelInformation";
toolStripStatusLabelInformation.Size = new Size(28, 17);
toolStripStatusLabelInformation.Text = "info";
+ toolStripStatusLabelInformation.MouseEnter += SetStatusbar_Enter;
+ toolStripStatusLabelInformation.MouseLeave += ClearStatusbar_Leave;
//
// statusStripStatistic
//
@@ -391,15 +488,20 @@ private void InitializeComponent()
statusStripStatistic.AccessibleRole = AccessibleRole.StatusBar;
statusStripStatistic.AllowItemReorder = true;
statusStripStatistic.Items.AddRange(new ToolStripItem[] { toolStripStatusLabelSize, toolStripStatusLabelLines, toolStripStatusLabelTimeSpan, toolStripStatusLabelLim, toolStripSplitButtonStyle });
- statusStripStatistic.Location = new Point(0, 482);
+ statusStripStatistic.Location = new Point(0, 432);
statusStripStatistic.Name = "statusStripStatistic";
statusStripStatistic.Padding = new Padding(1, 0, 16, 0);
statusStripStatistic.ShowItemToolTips = true;
statusStripStatistic.Size = new Size(422, 24);
statusStripStatistic.SizingGrip = false;
- statusStripStatistic.TabIndex = 37;
+ statusStripStatistic.TabIndex = 20;
statusStripStatistic.TabStop = true;
statusStripStatistic.Text = "statusStripStatistic";
+ toolTip.SetToolTip(statusStripStatistic, "Statusbar für statistische Angaben");
+ statusStripStatistic.Enter += SetStatusbar_Enter;
+ statusStripStatistic.Leave += ClearStatusbar_Leave;
+ statusStripStatistic.MouseEnter += SetStatusbar_Enter;
+ statusStripStatistic.MouseLeave += ClearStatusbar_Leave;
//
// toolStripStatusLabelSize
//
@@ -412,6 +514,8 @@ private void InitializeComponent()
toolStripStatusLabelSize.Size = new Size(43, 19);
toolStripStatusLabelSize.Tag = "Größe";
toolStripStatusLabelSize.Text = "Größe";
+ toolStripStatusLabelSize.MouseEnter += SetStatusbar_Enter;
+ toolStripStatusLabelSize.MouseLeave += ClearStatusbar_Leave;
//
// toolStripStatusLabelLines
//
@@ -424,6 +528,8 @@ private void InitializeComponent()
toolStripStatusLabelLines.Size = new Size(43, 19);
toolStripStatusLabelLines.Tag = "Zeilen";
toolStripStatusLabelLines.Text = "Zeilen";
+ toolStripStatusLabelLines.MouseEnter += SetStatusbar_Enter;
+ toolStripStatusLabelLines.MouseLeave += ClearStatusbar_Leave;
//
// toolStripStatusLabelTimeSpan
//
@@ -437,6 +543,8 @@ private void InitializeComponent()
toolStripStatusLabelTimeSpan.Tag = "Dauer";
toolStripStatusLabelTimeSpan.Text = "Dauer";
toolStripStatusLabelTimeSpan.ToolTipText = "Dauer";
+ toolStripStatusLabelTimeSpan.MouseEnter += SetStatusbar_Enter;
+ toolStripStatusLabelTimeSpan.MouseLeave += ClearStatusbar_Leave;
//
// toolStripStatusLabelLim
//
@@ -450,6 +558,8 @@ private void InitializeComponent()
toolStripStatusLabelLim.Spring = true;
toolStripStatusLabelLim.Tag = "LIM";
toolStripStatusLabelLim.Text = "LIM";
+ toolStripStatusLabelLim.MouseEnter += SetStatusbar_Enter;
+ toolStripStatusLabelLim.MouseLeave += ClearStatusbar_Leave;
//
// toolStripSplitButtonStyle
//
@@ -463,6 +573,8 @@ private void InitializeComponent()
toolStripSplitButtonStyle.Name = "toolStripSplitButtonStyle";
toolStripSplitButtonStyle.Size = new Size(32, 22);
toolStripSplitButtonStyle.Text = "Visueller Stil";
+ toolStripSplitButtonStyle.MouseEnter += SetStatusbar_Enter;
+ toolStripSplitButtonStyle.MouseLeave += ClearStatusbar_Leave;
//
// toolStripMenuItemActivateVisualStyle
//
@@ -475,6 +587,8 @@ private void InitializeComponent()
toolStripMenuItemActivateVisualStyle.Size = new Size(204, 22);
toolStripMenuItemActivateVisualStyle.Text = "Visueller Stil &aktivieren";
toolStripMenuItemActivateVisualStyle.ToolTipText = "Visueller Stil aktivieren";
+ toolStripMenuItemActivateVisualStyle.MouseEnter += SetStatusbar_Enter;
+ toolStripMenuItemActivateVisualStyle.MouseLeave += ClearStatusbar_Leave;
//
// toolStripMenuItemDeactivateVisualStyle
//
@@ -487,23 +601,31 @@ private void InitializeComponent()
toolStripMenuItemDeactivateVisualStyle.Size = new Size(204, 22);
toolStripMenuItemDeactivateVisualStyle.Text = "Visueller Stil &deaktivieren";
toolStripMenuItemDeactivateVisualStyle.ToolTipText = "Visueller Stil deaktivieren";
- //
- // button1
- //
- button1.AccessibleDescription = "Fügt die Einträge an der vorhandenen Liste an";
- button1.AccessibleName = "Liste anfügen";
- button1.AccessibleRole = AccessibleRole.PushButton;
- button1.AutoEllipsis = true;
- button1.Image = Properties.Resources.add;
- button1.Location = new Point(302, 125);
- button1.Margin = new Padding(4, 3, 4, 3);
- button1.Name = "button1";
- button1.Size = new Size(106, 23);
- button1.TabIndex = 39;
- button1.Text = "&Anfügen";
- button1.TextAlign = ContentAlignment.MiddleRight;
- button1.TextImageRelation = TextImageRelation.ImageBeforeText;
- button1.UseVisualStyleBackColor = true;
+ toolStripMenuItemDeactivateVisualStyle.MouseEnter += SetStatusbar_Enter;
+ toolStripMenuItemDeactivateVisualStyle.MouseLeave += ClearStatusbar_Leave;
+ //
+ // buttonAddToList
+ //
+ buttonAddToList.AccessibleDescription = "Fügt die Einträge an der vorhandenen Liste an";
+ buttonAddToList.AccessibleName = "Liste anfügen";
+ buttonAddToList.AccessibleRole = AccessibleRole.PushButton;
+ buttonAddToList.AutoEllipsis = true;
+ buttonAddToList.Image = Properties.Resources.add;
+ buttonAddToList.Location = new Point(177, 125);
+ buttonAddToList.Margin = new Padding(4, 3, 4, 3);
+ buttonAddToList.Name = "buttonAddToList";
+ buttonAddToList.Size = new Size(88, 23);
+ buttonAddToList.TabIndex = 9;
+ buttonAddToList.Text = "&Anfügen";
+ buttonAddToList.TextAlign = ContentAlignment.MiddleRight;
+ buttonAddToList.TextImageRelation = TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(buttonAddToList, "Liste anfügen");
+ buttonAddToList.UseVisualStyleBackColor = true;
+ buttonAddToList.Click += ButtonAddToList_Click;
+ buttonAddToList.Enter += SetStatusbar_Enter;
+ buttonAddToList.Leave += ClearStatusbar_Leave;
+ buttonAddToList.MouseEnter += SetStatusbar_Enter;
+ buttonAddToList.MouseLeave += ClearStatusbar_Leave;
//
// backgroundWorker
//
@@ -514,18 +636,18 @@ private void InitializeComponent()
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
- ClientSize = new Size(422, 506);
- Controls.Add(button1);
+ ClientSize = new Size(422, 456);
+ Controls.Add(buttonAddToList);
Controls.Add(statusStripInfo);
Controls.Add(statusStripStatistic);
- Controls.Add(listView1);
+ Controls.Add(listView);
Controls.Add(buttonRedo);
Controls.Add(textBoxStringAfterNumber);
Controls.Add(textBoxStringBeforeNumber);
Controls.Add(buttonUndo);
Controls.Add(buttonCreateList);
Controls.Add(progressBar);
- Controls.Add(labelProcress);
+ Controls.Add(labelProgess);
Controls.Add(buttonDeleteList);
Controls.Add(buttonSaveList);
Controls.Add(buttonCopyList);
@@ -536,8 +658,10 @@ private void InitializeComponent()
Controls.Add(labelNumberMin);
Controls.Add(labelStringAfterNumber);
Controls.Add(labelStringBeforeNumber);
+ Icon = (Icon)resources.GetObject("$this.Icon");
Name = "BatchForm";
- Text = "BatchForm";
+ Text = "Stapelverarbeitung";
+ Load += BatchForm_Load;
((System.ComponentModel.ISupportInitialize)numericUpDownNumberMaximum).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDownNumberMinimum).EndInit();
statusStripInfo.ResumeLayout(false);
@@ -556,7 +680,7 @@ private void InitializeComponent()
private Button buttonUndo;
private Button buttonCreateList;
private ProgressBar progressBar;
- private Label labelProcress;
+ private Label labelProgess;
private Button buttonDeleteList;
private Button buttonSaveList;
private Button buttonCopyList;
@@ -567,7 +691,7 @@ private void InitializeComponent()
private Label labelNumberMin;
private Label labelStringAfterNumber;
private Label labelStringBeforeNumber;
- private ListView listView1;
+ private ListView listView;
private ColumnHeader columnHeader1;
private ColumnHeader columnHeader2;
private ColumnHeader columnHeader3;
@@ -579,11 +703,11 @@ private void InitializeComponent()
private ToolStripStatusLabel toolStripStatusLabelLines;
private ToolStripStatusLabel toolStripStatusLabelTimeSpan;
private ToolStripStatusLabel toolStripStatusLabelLim;
+ private Button buttonAddToList;
+ private System.ComponentModel.BackgroundWorker backgroundWorker;
+ private ToolTip toolTip;
private ToolStripSplitButton toolStripSplitButtonStyle;
private ToolStripMenuItem toolStripMenuItemActivateVisualStyle;
private ToolStripMenuItem toolStripMenuItemDeactivateVisualStyle;
- private Button button1;
- private System.ComponentModel.BackgroundWorker backgroundWorker;
- private ToolTip toolTip;
}
}
\ No newline at end of file
diff --git a/BatchForm.cs b/BatchForm.cs
index f5bbcfc..db032b7 100644
--- a/BatchForm.cs
+++ b/BatchForm.cs
@@ -6,5 +6,98 @@ public BatchForm()
{
InitializeComponent();
}
+
+ ///