Initialize

This commit is contained in:
Eugen Höglinger 2020-11-26 10:26:14 +01:00
commit 766b772205
51 changed files with 1840 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30406.217
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MessageBoxConfigurator", "MessageBoxConfigurator\MessageBoxConfigurator.csproj", "{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {048DB2D5-E71C-495E-B3DA-D037A61227E9}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

754
MessageBoxConfigurator/Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,754 @@
namespace MessageBoxConfigurator
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
System.Windows.Forms.ListViewItem listViewItem29 = new System.Windows.Forms.ListViewItem("OK");
System.Windows.Forms.ListViewItem listViewItem30 = new System.Windows.Forms.ListViewItem("Cancel");
System.Windows.Forms.ListViewItem listViewItem31 = new System.Windows.Forms.ListViewItem("Yes");
System.Windows.Forms.ListViewItem listViewItem32 = new System.Windows.Forms.ListViewItem("No");
System.Windows.Forms.ListViewItem listViewItem33 = new System.Windows.Forms.ListViewItem("Abort");
System.Windows.Forms.ListViewItem listViewItem34 = new System.Windows.Forms.ListViewItem("Retry");
System.Windows.Forms.ListViewItem listViewItem35 = new System.Windows.Forms.ListViewItem("Ignore");
this.groupBoxMsgBox = new System.Windows.Forms.GroupBox();
this.textBoxMessage = new System.Windows.Forms.TextBox();
this.textBoxCaption = new System.Windows.Forms.TextBox();
this.textBoxName = new System.Windows.Forms.TextBox();
this.labelMessage = new System.Windows.Forms.Label();
this.labelCaption = new System.Windows.Forms.Label();
this.labelName = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBoxFont = new System.Windows.Forms.GroupBox();
this.textBoxFont = new System.Windows.Forms.TextBox();
this.buttonFont = new System.Windows.Forms.Button();
this.groupBoxSound = new System.Windows.Forms.GroupBox();
this.checkBoxSound = new System.Windows.Forms.CheckBox();
this.groupBoxTimeOut = new System.Windows.Forms.GroupBox();
this.comboBoxResult = new System.Windows.Forms.ComboBox();
this.labelTimeoutResult = new System.Windows.Forms.Label();
this.textBoxTimeout = new System.Windows.Forms.TextBox();
this.labelTimeout = new System.Windows.Forms.Label();
this.groupBoxIcons = new System.Windows.Forms.GroupBox();
this.buttonName = new System.Windows.Forms.Button();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.textBoxIconName = new System.Windows.Forms.TextBox();
this.radioButtonUserDefinedIcon = new System.Windows.Forms.RadioButton();
this.radioButtonNone = new System.Windows.Forms.RadioButton();
this.radioButtonQuestion = new System.Windows.Forms.RadioButton();
this.radioButtonHand = new System.Windows.Forms.RadioButton();
this.radioButtonExclamation = new System.Windows.Forms.RadioButton();
this.radioButtonAsterisk = new System.Windows.Forms.RadioButton();
this.groupBoxSaveOptions = new System.Windows.Forms.GroupBox();
this.checkBoxUseSaveResponse = new System.Windows.Forms.CheckBox();
this.textBoxSaveResponse = new System.Windows.Forms.TextBox();
this.checkBoxAllowSaveResponse = new System.Windows.Forms.CheckBox();
this.groupBoxButton = new System.Windows.Forms.GroupBox();
this.listViewButtons = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.buttonAddButton = new System.Windows.Forms.Button();
this.groupBoxUserDefinedButton = new System.Windows.Forms.GroupBox();
this.checkBoxIsCancel = new System.Windows.Forms.CheckBox();
this.textBoxButtonHelpText = new System.Windows.Forms.TextBox();
this.textBoxButtonValue = new System.Windows.Forms.TextBox();
this.textBoxButtonText = new System.Windows.Forms.TextBox();
this.labelButtonHelpText = new System.Windows.Forms.Label();
this.labelButtonValue = new System.Windows.Forms.Label();
this.labelButtonText = new System.Windows.Forms.Label();
this.groupBoxCode = new System.Windows.Forms.GroupBox();
this.textBoxCode = new System.Windows.Forms.TextBox();
this.buttonCopyToClipboard = new System.Windows.Forms.Button();
this.buttonGenerateCode = new System.Windows.Forms.Button();
this.openFileDialogName = new System.Windows.Forms.OpenFileDialog();
this.fontDialog = new System.Windows.Forms.FontDialog();
this.groupBoxMsgBox.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBoxFont.SuspendLayout();
this.groupBoxSound.SuspendLayout();
this.groupBoxTimeOut.SuspendLayout();
this.groupBoxIcons.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.groupBoxSaveOptions.SuspendLayout();
this.groupBoxButton.SuspendLayout();
this.groupBoxUserDefinedButton.SuspendLayout();
this.groupBoxCode.SuspendLayout();
this.SuspendLayout();
//
// groupBoxMsgBox
//
this.groupBoxMsgBox.Controls.Add(this.textBoxMessage);
this.groupBoxMsgBox.Controls.Add(this.textBoxCaption);
this.groupBoxMsgBox.Controls.Add(this.textBoxName);
this.groupBoxMsgBox.Controls.Add(this.labelMessage);
this.groupBoxMsgBox.Controls.Add(this.labelCaption);
this.groupBoxMsgBox.Controls.Add(this.labelName);
this.groupBoxMsgBox.Location = new System.Drawing.Point(6, 19);
this.groupBoxMsgBox.Name = "groupBoxMsgBox";
this.groupBoxMsgBox.Size = new System.Drawing.Size(314, 177);
this.groupBoxMsgBox.TabIndex = 0;
this.groupBoxMsgBox.TabStop = false;
this.groupBoxMsgBox.Text = "Box";
//
// textBoxMessage
//
this.textBoxMessage.Location = new System.Drawing.Point(68, 73);
this.textBoxMessage.Multiline = true;
this.textBoxMessage.Name = "textBoxMessage";
this.textBoxMessage.Size = new System.Drawing.Size(240, 97);
this.textBoxMessage.TabIndex = 5;
this.textBoxMessage.Text = "<Text>";
//
// textBoxCaption
//
this.textBoxCaption.Location = new System.Drawing.Point(68, 47);
this.textBoxCaption.Name = "textBoxCaption";
this.textBoxCaption.Size = new System.Drawing.Size(240, 20);
this.textBoxCaption.TabIndex = 4;
this.textBoxCaption.Text = "<Caption>";
//
// textBoxName
//
this.textBoxName.Location = new System.Drawing.Point(68, 20);
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(240, 20);
this.textBoxName.TabIndex = 3;
this.textBoxName.Text = "<Name>";
//
// labelMessage
//
this.labelMessage.AutoSize = true;
this.labelMessage.Location = new System.Drawing.Point(6, 77);
this.labelMessage.Name = "labelMessage";
this.labelMessage.Size = new System.Drawing.Size(50, 13);
this.labelMessage.TabIndex = 2;
this.labelMessage.Text = "Message";
//
// labelCaption
//
this.labelCaption.AutoSize = true;
this.labelCaption.Location = new System.Drawing.Point(6, 50);
this.labelCaption.Name = "labelCaption";
this.labelCaption.Size = new System.Drawing.Size(43, 13);
this.labelCaption.TabIndex = 1;
this.labelCaption.Text = "Caption";
//
// labelName
//
this.labelName.AutoSize = true;
this.labelName.Location = new System.Drawing.Point(6, 23);
this.labelName.Name = "labelName";
this.labelName.Size = new System.Drawing.Size(35, 13);
this.labelName.TabIndex = 0;
this.labelName.Text = "Name";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.groupBoxFont);
this.groupBox1.Controls.Add(this.groupBoxSound);
this.groupBox1.Controls.Add(this.groupBoxTimeOut);
this.groupBox1.Controls.Add(this.groupBoxIcons);
this.groupBox1.Controls.Add(this.groupBoxSaveOptions);
this.groupBox1.Controls.Add(this.groupBoxButton);
this.groupBox1.Controls.Add(this.groupBoxMsgBox);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(667, 440);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "MessageBox";
//
// groupBoxFont
//
this.groupBoxFont.Controls.Add(this.textBoxFont);
this.groupBoxFont.Controls.Add(this.buttonFont);
this.groupBoxFont.Location = new System.Drawing.Point(481, 146);
this.groupBoxFont.Name = "groupBoxFont";
this.groupBoxFont.Size = new System.Drawing.Size(180, 49);
this.groupBoxFont.TabIndex = 7;
this.groupBoxFont.TabStop = false;
this.groupBoxFont.Text = "Font";
//
// textBoxFont
//
this.textBoxFont.Location = new System.Drawing.Point(76, 22);
this.textBoxFont.Name = "textBoxFont";
this.textBoxFont.Size = new System.Drawing.Size(98, 20);
this.textBoxFont.TabIndex = 1;
this.textBoxFont.Text = "\"Tahoma\", 8";
//
// buttonFont
//
this.buttonFont.Location = new System.Drawing.Point(7, 20);
this.buttonFont.Name = "buttonFont";
this.buttonFont.Size = new System.Drawing.Size(63, 23);
this.buttonFont.TabIndex = 0;
this.buttonFont.Text = "Font, Size";
this.buttonFont.UseVisualStyleBackColor = true;
this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
//
// groupBoxSound
//
this.groupBoxSound.Controls.Add(this.checkBoxSound);
this.groupBoxSound.Location = new System.Drawing.Point(481, 98);
this.groupBoxSound.Name = "groupBoxSound";
this.groupBoxSound.Size = new System.Drawing.Size(180, 42);
this.groupBoxSound.TabIndex = 6;
this.groupBoxSound.TabStop = false;
this.groupBoxSound.Text = "Sound";
//
// checkBoxSound
//
this.checkBoxSound.AutoSize = true;
this.checkBoxSound.Location = new System.Drawing.Point(6, 19);
this.checkBoxSound.Name = "checkBoxSound";
this.checkBoxSound.Size = new System.Drawing.Size(104, 17);
this.checkBoxSound.TabIndex = 0;
this.checkBoxSound.Text = "Play Alert Sound";
this.checkBoxSound.UseVisualStyleBackColor = true;
//
// groupBoxTimeOut
//
this.groupBoxTimeOut.Controls.Add(this.comboBoxResult);
this.groupBoxTimeOut.Controls.Add(this.labelTimeoutResult);
this.groupBoxTimeOut.Controls.Add(this.textBoxTimeout);
this.groupBoxTimeOut.Controls.Add(this.labelTimeout);
this.groupBoxTimeOut.Location = new System.Drawing.Point(481, 19);
this.groupBoxTimeOut.Name = "groupBoxTimeOut";
this.groupBoxTimeOut.Size = new System.Drawing.Size(180, 73);
this.groupBoxTimeOut.TabIndex = 5;
this.groupBoxTimeOut.TabStop = false;
this.groupBoxTimeOut.Text = "Timeout";
//
// comboBoxResult
//
this.comboBoxResult.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxResult.FormattingEnabled = true;
this.comboBoxResult.Items.AddRange(new object[] {
"Default",
"Cancel",
"Timeout"});
this.comboBoxResult.Location = new System.Drawing.Point(53, 46);
this.comboBoxResult.Name = "comboBoxResult";
this.comboBoxResult.Size = new System.Drawing.Size(121, 21);
this.comboBoxResult.TabIndex = 3;
//
// labelTimeoutResult
//
this.labelTimeoutResult.AutoSize = true;
this.labelTimeoutResult.Location = new System.Drawing.Point(6, 49);
this.labelTimeoutResult.Name = "labelTimeoutResult";
this.labelTimeoutResult.Size = new System.Drawing.Size(37, 13);
this.labelTimeoutResult.TabIndex = 2;
this.labelTimeoutResult.Text = "Result";
//
// textBoxTimeout
//
this.textBoxTimeout.Location = new System.Drawing.Point(7, 20);
this.textBoxTimeout.Name = "textBoxTimeout";
this.textBoxTimeout.Size = new System.Drawing.Size(141, 20);
this.textBoxTimeout.TabIndex = 1;
this.textBoxTimeout.Text = "0";
//
// labelTimeout
//
this.labelTimeout.AutoSize = true;
this.labelTimeout.Location = new System.Drawing.Point(154, 23);
this.labelTimeout.Name = "labelTimeout";
this.labelTimeout.Size = new System.Drawing.Size(20, 13);
this.labelTimeout.TabIndex = 0;
this.labelTimeout.Text = "ms";
//
// groupBoxIcons
//
this.groupBoxIcons.Controls.Add(this.buttonName);
this.groupBoxIcons.Controls.Add(this.pictureBox4);
this.groupBoxIcons.Controls.Add(this.pictureBox3);
this.groupBoxIcons.Controls.Add(this.pictureBox2);
this.groupBoxIcons.Controls.Add(this.pictureBox1);
this.groupBoxIcons.Controls.Add(this.textBoxIconName);
this.groupBoxIcons.Controls.Add(this.radioButtonUserDefinedIcon);
this.groupBoxIcons.Controls.Add(this.radioButtonNone);
this.groupBoxIcons.Controls.Add(this.radioButtonQuestion);
this.groupBoxIcons.Controls.Add(this.radioButtonHand);
this.groupBoxIcons.Controls.Add(this.radioButtonExclamation);
this.groupBoxIcons.Controls.Add(this.radioButtonAsterisk);
this.groupBoxIcons.Location = new System.Drawing.Point(6, 202);
this.groupBoxIcons.Name = "groupBoxIcons";
this.groupBoxIcons.Size = new System.Drawing.Size(229, 231);
this.groupBoxIcons.TabIndex = 3;
this.groupBoxIcons.TabStop = false;
this.groupBoxIcons.Text = "Icon";
//
// buttonName
//
this.buttonName.Enabled = false;
this.buttonName.Location = new System.Drawing.Point(6, 202);
this.buttonName.Name = "buttonName";
this.buttonName.Size = new System.Drawing.Size(75, 23);
this.buttonName.TabIndex = 12;
this.buttonName.Text = "File Name";
this.buttonName.UseVisualStyleBackColor = true;
this.buttonName.Click += new System.EventHandler(this.buttonName_Click);
//
// pictureBox4
//
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
this.pictureBox4.Location = new System.Drawing.Point(191, 139);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(32, 32);
this.pictureBox4.TabIndex = 11;
this.pictureBox4.TabStop = false;
//
// pictureBox3
//
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(191, 106);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(32, 32);
this.pictureBox3.TabIndex = 10;
this.pictureBox3.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(191, 76);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(32, 32);
this.pictureBox2.TabIndex = 9;
this.pictureBox2.TabStop = false;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(191, 44);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(32, 32);
this.pictureBox1.TabIndex = 8;
this.pictureBox1.TabStop = false;
//
// textBoxIconName
//
this.textBoxIconName.Enabled = false;
this.textBoxIconName.Location = new System.Drawing.Point(87, 204);
this.textBoxIconName.Name = "textBoxIconName";
this.textBoxIconName.Size = new System.Drawing.Size(136, 20);
this.textBoxIconName.TabIndex = 6;
this.textBoxIconName.Text = "<Path and File Name>";
this.textBoxIconName.TextChanged += new System.EventHandler(this.textBoxIconName_TextChanged);
//
// radioButtonUserDefinedIcon
//
this.radioButtonUserDefinedIcon.AutoSize = true;
this.radioButtonUserDefinedIcon.Location = new System.Drawing.Point(6, 179);
this.radioButtonUserDefinedIcon.Name = "radioButtonUserDefinedIcon";
this.radioButtonUserDefinedIcon.Size = new System.Drawing.Size(109, 17);
this.radioButtonUserDefinedIcon.TabIndex = 5;
this.radioButtonUserDefinedIcon.Text = "User defined Icon";
this.radioButtonUserDefinedIcon.UseVisualStyleBackColor = true;
this.radioButtonUserDefinedIcon.CheckedChanged += new System.EventHandler(this.radioButtonUserDefinedIcon_CheckedChanged);
//
// radioButtonNone
//
this.radioButtonNone.AutoSize = true;
this.radioButtonNone.Checked = true;
this.radioButtonNone.Location = new System.Drawing.Point(6, 19);
this.radioButtonNone.Name = "radioButtonNone";
this.radioButtonNone.Size = new System.Drawing.Size(51, 17);
this.radioButtonNone.TabIndex = 4;
this.radioButtonNone.TabStop = true;
this.radioButtonNone.Text = "None";
this.radioButtonNone.UseVisualStyleBackColor = true;
this.radioButtonNone.CheckedChanged += new System.EventHandler(this.radioButtonNone_CheckedChanged);
//
// radioButtonQuestion
//
this.radioButtonQuestion.AutoSize = true;
this.radioButtonQuestion.Location = new System.Drawing.Point(6, 147);
this.radioButtonQuestion.Name = "radioButtonQuestion";
this.radioButtonQuestion.Size = new System.Drawing.Size(67, 17);
this.radioButtonQuestion.TabIndex = 3;
this.radioButtonQuestion.Text = "Question";
this.radioButtonQuestion.UseVisualStyleBackColor = true;
this.radioButtonQuestion.CheckedChanged += new System.EventHandler(this.radioButtonQuestion_CheckedChanged);
//
// radioButtonHand
//
this.radioButtonHand.AutoSize = true;
this.radioButtonHand.Location = new System.Drawing.Point(6, 115);
this.radioButtonHand.Name = "radioButtonHand";
this.radioButtonHand.Size = new System.Drawing.Size(105, 17);
this.radioButtonHand.TabIndex = 2;
this.radioButtonHand.Text = "Hand/Error/Stop";
this.radioButtonHand.UseVisualStyleBackColor = true;
this.radioButtonHand.CheckedChanged += new System.EventHandler(this.radioButtonHand_CheckedChanged);
//
// radioButtonExclamation
//
this.radioButtonExclamation.AutoSize = true;
this.radioButtonExclamation.Location = new System.Drawing.Point(6, 83);
this.radioButtonExclamation.Name = "radioButtonExclamation";
this.radioButtonExclamation.Size = new System.Drawing.Size(127, 17);
this.radioButtonExclamation.TabIndex = 1;
this.radioButtonExclamation.Text = "Exclamation/Warning";
this.radioButtonExclamation.UseVisualStyleBackColor = true;
this.radioButtonExclamation.CheckedChanged += new System.EventHandler(this.radioButtonExclamation_CheckedChanged);
//
// radioButtonAsterisk
//
this.radioButtonAsterisk.AutoSize = true;
this.radioButtonAsterisk.Location = new System.Drawing.Point(6, 51);
this.radioButtonAsterisk.Name = "radioButtonAsterisk";
this.radioButtonAsterisk.Size = new System.Drawing.Size(119, 17);
this.radioButtonAsterisk.TabIndex = 0;
this.radioButtonAsterisk.Text = "Asterisk/Information";
this.radioButtonAsterisk.UseVisualStyleBackColor = true;
this.radioButtonAsterisk.CheckedChanged += new System.EventHandler(this.radioButtonAsterisk_CheckedChanged);
//
// groupBoxSaveOptions
//
this.groupBoxSaveOptions.Controls.Add(this.checkBoxUseSaveResponse);
this.groupBoxSaveOptions.Controls.Add(this.textBoxSaveResponse);
this.groupBoxSaveOptions.Controls.Add(this.checkBoxAllowSaveResponse);
this.groupBoxSaveOptions.Location = new System.Drawing.Point(326, 19);
this.groupBoxSaveOptions.Name = "groupBoxSaveOptions";
this.groupBoxSaveOptions.Size = new System.Drawing.Size(149, 177);
this.groupBoxSaveOptions.TabIndex = 4;
this.groupBoxSaveOptions.TabStop = false;
this.groupBoxSaveOptions.Text = "Save Options";
//
// checkBoxUseSaveResponse
//
this.checkBoxUseSaveResponse.AutoSize = true;
this.checkBoxUseSaveResponse.Location = new System.Drawing.Point(7, 153);
this.checkBoxUseSaveResponse.Name = "checkBoxUseSaveResponse";
this.checkBoxUseSaveResponse.Size = new System.Drawing.Size(124, 17);
this.checkBoxUseSaveResponse.TabIndex = 2;
this.checkBoxUseSaveResponse.Text = "Use Save Response";
this.checkBoxUseSaveResponse.UseVisualStyleBackColor = true;
//
// textBoxSaveResponse
//
this.textBoxSaveResponse.Location = new System.Drawing.Point(7, 42);
this.textBoxSaveResponse.Multiline = true;
this.textBoxSaveResponse.Name = "textBoxSaveResponse";
this.textBoxSaveResponse.Size = new System.Drawing.Size(136, 105);
this.textBoxSaveResponse.TabIndex = 1;
this.textBoxSaveResponse.Text = "<Save Response Text>";
//
// checkBoxAllowSaveResponse
//
this.checkBoxAllowSaveResponse.AutoSize = true;
this.checkBoxAllowSaveResponse.Location = new System.Drawing.Point(6, 18);
this.checkBoxAllowSaveResponse.Name = "checkBoxAllowSaveResponse";
this.checkBoxAllowSaveResponse.Size = new System.Drawing.Size(136, 17);
this.checkBoxAllowSaveResponse.TabIndex = 0;
this.checkBoxAllowSaveResponse.Text = "Allowe Save Response";
this.checkBoxAllowSaveResponse.UseVisualStyleBackColor = true;
//
// groupBoxButton
//
this.groupBoxButton.Controls.Add(this.listViewButtons);
this.groupBoxButton.Controls.Add(this.buttonAddButton);
this.groupBoxButton.Controls.Add(this.groupBoxUserDefinedButton);
this.groupBoxButton.Location = new System.Drawing.Point(242, 202);
this.groupBoxButton.Name = "groupBoxButton";
this.groupBoxButton.Size = new System.Drawing.Size(419, 231);
this.groupBoxButton.TabIndex = 2;
this.groupBoxButton.TabStop = false;
this.groupBoxButton.Text = "Button";
//
// listViewButtons
//
this.listViewButtons.CheckBoxes = true;
this.listViewButtons.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1});
this.listViewButtons.HideSelection = false;
listViewItem29.StateImageIndex = 0;
listViewItem30.StateImageIndex = 0;
listViewItem31.StateImageIndex = 0;
listViewItem32.StateImageIndex = 0;
listViewItem33.StateImageIndex = 0;
listViewItem34.StateImageIndex = 0;
listViewItem35.StateImageIndex = 0;
this.listViewButtons.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
listViewItem29,
listViewItem30,
listViewItem31,
listViewItem32,
listViewItem33,
listViewItem34,
listViewItem35});
this.listViewButtons.Location = new System.Drawing.Point(278, 20);
this.listViewButtons.Name = "listViewButtons";
this.listViewButtons.Size = new System.Drawing.Size(136, 206);
this.listViewButtons.TabIndex = 3;
this.listViewButtons.UseCompatibleStateImageBehavior = false;
this.listViewButtons.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "Buttons";
this.columnHeader1.Width = 132;
//
// buttonAddButton
//
this.buttonAddButton.Location = new System.Drawing.Point(186, 69);
this.buttonAddButton.Name = "buttonAddButton";
this.buttonAddButton.Size = new System.Drawing.Size(85, 23);
this.buttonAddButton.TabIndex = 2;
this.buttonAddButton.Text = "Add Button >>";
this.buttonAddButton.UseVisualStyleBackColor = true;
this.buttonAddButton.Click += new System.EventHandler(this.buttonAddButton_Click);
//
// groupBoxUserDefinedButton
//
this.groupBoxUserDefinedButton.Controls.Add(this.checkBoxIsCancel);
this.groupBoxUserDefinedButton.Controls.Add(this.textBoxButtonHelpText);
this.groupBoxUserDefinedButton.Controls.Add(this.textBoxButtonValue);
this.groupBoxUserDefinedButton.Controls.Add(this.textBoxButtonText);
this.groupBoxUserDefinedButton.Controls.Add(this.labelButtonHelpText);
this.groupBoxUserDefinedButton.Controls.Add(this.labelButtonValue);
this.groupBoxUserDefinedButton.Controls.Add(this.labelButtonText);
this.groupBoxUserDefinedButton.Location = new System.Drawing.Point(6, 19);
this.groupBoxUserDefinedButton.Name = "groupBoxUserDefinedButton";
this.groupBoxUserDefinedButton.Size = new System.Drawing.Size(173, 124);
this.groupBoxUserDefinedButton.TabIndex = 1;
this.groupBoxUserDefinedButton.TabStop = false;
this.groupBoxUserDefinedButton.Text = "User defined Button";
//
// checkBoxIsCancel
//
this.checkBoxIsCancel.AutoSize = true;
this.checkBoxIsCancel.Location = new System.Drawing.Point(67, 101);
this.checkBoxIsCancel.Name = "checkBoxIsCancel";
this.checkBoxIsCancel.Size = new System.Drawing.Size(70, 17);
this.checkBoxIsCancel.TabIndex = 6;
this.checkBoxIsCancel.Text = "Is Cancel";
this.checkBoxIsCancel.UseVisualStyleBackColor = true;
//
// textBoxButtonHelpText
//
this.textBoxButtonHelpText.Location = new System.Drawing.Point(67, 73);
this.textBoxButtonHelpText.Name = "textBoxButtonHelpText";
this.textBoxButtonHelpText.Size = new System.Drawing.Size(100, 20);
this.textBoxButtonHelpText.TabIndex = 5;
this.textBoxButtonHelpText.Text = "<Help Text>";
//
// textBoxButtonValue
//
this.textBoxButtonValue.Location = new System.Drawing.Point(67, 47);
this.textBoxButtonValue.Name = "textBoxButtonValue";
this.textBoxButtonValue.Size = new System.Drawing.Size(100, 20);
this.textBoxButtonValue.TabIndex = 4;
this.textBoxButtonValue.Text = "<Button Value>";
//
// textBoxButtonText
//
this.textBoxButtonText.Location = new System.Drawing.Point(67, 20);
this.textBoxButtonText.Name = "textBoxButtonText";
this.textBoxButtonText.Size = new System.Drawing.Size(100, 20);
this.textBoxButtonText.TabIndex = 3;
this.textBoxButtonText.Text = "<Button Text>";
//
// labelButtonHelpText
//
this.labelButtonHelpText.AutoSize = true;
this.labelButtonHelpText.Location = new System.Drawing.Point(6, 77);
this.labelButtonHelpText.Name = "labelButtonHelpText";
this.labelButtonHelpText.Size = new System.Drawing.Size(53, 13);
this.labelButtonHelpText.TabIndex = 2;
this.labelButtonHelpText.Text = "Help Text";
//
// labelButtonValue
//
this.labelButtonValue.AutoSize = true;
this.labelButtonValue.Location = new System.Drawing.Point(6, 50);
this.labelButtonValue.Name = "labelButtonValue";
this.labelButtonValue.Size = new System.Drawing.Size(34, 13);
this.labelButtonValue.TabIndex = 1;
this.labelButtonValue.Text = "Value";
//
// labelButtonText
//
this.labelButtonText.AutoSize = true;
this.labelButtonText.Location = new System.Drawing.Point(5, 23);
this.labelButtonText.Name = "labelButtonText";
this.labelButtonText.Size = new System.Drawing.Size(28, 13);
this.labelButtonText.TabIndex = 0;
this.labelButtonText.Text = "Text";
//
// groupBoxCode
//
this.groupBoxCode.Controls.Add(this.textBoxCode);
this.groupBoxCode.Controls.Add(this.buttonCopyToClipboard);
this.groupBoxCode.Controls.Add(this.buttonGenerateCode);
this.groupBoxCode.Location = new System.Drawing.Point(12, 458);
this.groupBoxCode.Name = "groupBoxCode";
this.groupBoxCode.Size = new System.Drawing.Size(667, 199);
this.groupBoxCode.TabIndex = 2;
this.groupBoxCode.TabStop = false;
this.groupBoxCode.Text = "Code";
//
// textBoxCode
//
this.textBoxCode.Location = new System.Drawing.Point(78, 20);
this.textBoxCode.Multiline = true;
this.textBoxCode.Name = "textBoxCode";
this.textBoxCode.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBoxCode.Size = new System.Drawing.Size(515, 173);
this.textBoxCode.TabIndex = 2;
//
// buttonCopyToClipboard
//
this.buttonCopyToClipboard.Location = new System.Drawing.Point(599, 158);
this.buttonCopyToClipboard.Name = "buttonCopyToClipboard";
this.buttonCopyToClipboard.Size = new System.Drawing.Size(62, 35);
this.buttonCopyToClipboard.TabIndex = 1;
this.buttonCopyToClipboard.Text = "Copy To Clipboard";
this.buttonCopyToClipboard.UseVisualStyleBackColor = true;
this.buttonCopyToClipboard.Click += new System.EventHandler(this.buttonCopyToClipboard_Click);
//
// buttonGenerateCode
//
this.buttonGenerateCode.Location = new System.Drawing.Point(7, 20);
this.buttonGenerateCode.Name = "buttonGenerateCode";
this.buttonGenerateCode.Size = new System.Drawing.Size(65, 35);
this.buttonGenerateCode.TabIndex = 0;
this.buttonGenerateCode.Text = "Generate Code";
this.buttonGenerateCode.UseVisualStyleBackColor = true;
this.buttonGenerateCode.Click += new System.EventHandler(this.buttonGenerateCode_Click);
//
// openFileDialogName
//
this.openFileDialogName.DefaultExt = "ico";
this.openFileDialogName.FileName = "openFileDialogName";
this.openFileDialogName.Filter = "Icon|*.ico|All Files|*.*";
this.openFileDialogName.InitialDirectory = "H:\\Programmieren\\Git-Repository\\VisualStudio\\2017";
this.openFileDialogName.RestoreDirectory = true;
this.openFileDialogName.Title = "Browse Icon Files";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(692, 669);
this.Controls.Add(this.groupBoxCode);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Message Box Configurator";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBoxMsgBox.ResumeLayout(false);
this.groupBoxMsgBox.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBoxFont.ResumeLayout(false);
this.groupBoxFont.PerformLayout();
this.groupBoxSound.ResumeLayout(false);
this.groupBoxSound.PerformLayout();
this.groupBoxTimeOut.ResumeLayout(false);
this.groupBoxTimeOut.PerformLayout();
this.groupBoxIcons.ResumeLayout(false);
this.groupBoxIcons.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.groupBoxSaveOptions.ResumeLayout(false);
this.groupBoxSaveOptions.PerformLayout();
this.groupBoxButton.ResumeLayout(false);
this.groupBoxUserDefinedButton.ResumeLayout(false);
this.groupBoxUserDefinedButton.PerformLayout();
this.groupBoxCode.ResumeLayout(false);
this.groupBoxCode.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBoxMsgBox;
private System.Windows.Forms.TextBox textBoxMessage;
private System.Windows.Forms.TextBox textBoxCaption;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.Label labelMessage;
private System.Windows.Forms.Label labelCaption;
private System.Windows.Forms.Label labelName;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBoxUserDefinedButton;
private System.Windows.Forms.CheckBox checkBoxIsCancel;
private System.Windows.Forms.TextBox textBoxButtonHelpText;
private System.Windows.Forms.TextBox textBoxButtonValue;
private System.Windows.Forms.TextBox textBoxButtonText;
private System.Windows.Forms.Label labelButtonHelpText;
private System.Windows.Forms.Label labelButtonValue;
private System.Windows.Forms.Label labelButtonText;
private System.Windows.Forms.GroupBox groupBoxButton;
private System.Windows.Forms.Button buttonAddButton;
private System.Windows.Forms.ListView listViewButtons;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.GroupBox groupBoxIcons;
private System.Windows.Forms.TextBox textBoxIconName;
private System.Windows.Forms.RadioButton radioButtonUserDefinedIcon;
private System.Windows.Forms.RadioButton radioButtonNone;
private System.Windows.Forms.RadioButton radioButtonQuestion;
private System.Windows.Forms.RadioButton radioButtonHand;
private System.Windows.Forms.RadioButton radioButtonExclamation;
private System.Windows.Forms.RadioButton radioButtonAsterisk;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.GroupBox groupBoxSaveOptions;
private System.Windows.Forms.TextBox textBoxSaveResponse;
private System.Windows.Forms.CheckBox checkBoxAllowSaveResponse;
private System.Windows.Forms.GroupBox groupBoxTimeOut;
private System.Windows.Forms.ComboBox comboBoxResult;
private System.Windows.Forms.Label labelTimeoutResult;
private System.Windows.Forms.TextBox textBoxTimeout;
private System.Windows.Forms.Label labelTimeout;
private System.Windows.Forms.CheckBox checkBoxUseSaveResponse;
private System.Windows.Forms.GroupBox groupBoxSound;
private System.Windows.Forms.CheckBox checkBoxSound;
private System.Windows.Forms.GroupBox groupBoxCode;
private System.Windows.Forms.TextBox textBoxCode;
private System.Windows.Forms.Button buttonCopyToClipboard;
private System.Windows.Forms.Button buttonGenerateCode;
private System.Windows.Forms.GroupBox groupBoxFont;
private System.Windows.Forms.Button buttonName;
private System.Windows.Forms.OpenFileDialog openFileDialogName;
private System.Windows.Forms.TextBox textBoxFont;
private System.Windows.Forms.Button buttonFont;
private System.Windows.Forms.FontDialog fontDialog;
}
}

View File

@ -0,0 +1,308 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MessageBoxConfigurator
{
public partial class Form1 : Form
{
#region Version und Copyright
// Version und Copyright
string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
string copyright = GenerateCopyright();
string icon = Application.StartupPath + "\\Info.bmp";
//Assembly Datum und Zeit
static DateTime value = AssemblyDateTime();
string date = value.ToShortDateString();
string time = value.ToLongTimeString();
private static DateTime AssemblyDateTime()
{
var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision));
//Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original)
return buildDateTime;
}
private static string CurrentYear()
{
DateTime dtn = DateTime.Now;
return dtn.Year.ToString();
}
private static string StartYear()
{
//string startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
//return startYear.Remove(0, startYear.LastIndexOf(" ") + 1);
string startYear = "";
if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © "))
{
startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", "");
while (startYear.StartsWith(" "))
{
startYear = startYear.Remove(0, 1);
}
startYear = startYear.Remove(startYear.IndexOf(" "));
return startYear;
}
else
{
DateTime dtn = DateTime.Now;
return dtn.Year.ToString();
}
}
private static string GenerateCopyright()
{
string startYear = StartYear();
string currentYear = CurrentYear();
if (startYear == currentYear)
{
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
else
{
//return String.Concat(((AssemblyCopyrightAttribute)attributes[0]).Copyright, "-", currentYear);
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear));
}
}
#endregion
#region Programm-Info
/// <summary>
/// Contains the name of the program file
/// </summary>
public static string ProgramName { set; get; }
/// <summary>
/// Contains the version of the program file
/// </summary>
public static string ProgramVersion { set; get; }
/// <summary>
/// Contains the copyright notice
/// </summary>
public static string Copyright { set; get; }
private void SetProgramInfo()
{
//Name, Version und Copyright setzen
ProgramName = programName;
ProgramVersion = programVersion;
Copyright = copyright;
}
#endregion
public Form1()
{
InitializeComponent();
SetProgramInfo(); //Name, Version und Copyright setzen
this.Text = String.Concat(ProgramName, " - V", ProgramVersion, " - ", Copyright);
}
private void Form1_Load(object sender, EventArgs e)
{
comboBoxResult.SelectedIndex = 0;
SelectedIcon = "None";
IntializeButtons();
}
List<MessageBoxExButton> buttons = new List<MessageBoxExButton>();
private void IntializeButtons()
{
IntializeButton("OK", "OK", "", false);
IntializeButton("Cancel", "Cancel", "", false);
IntializeButton("Yes", "Yes", "", false);
IntializeButton("No", "No", "", false);
IntializeButton("Abort", "Abort", "", false);
IntializeButton("Retry", "Retry", "", false);
IntializeButton("Ignore", "Ignore", "", false);
}
private void IntializeButton(string text, string value, string helpText, bool isCancelButton)
{
MessageBoxExButton button = new MessageBoxExButton();
button.Text = text;
button.Value = value;
button.HelpText = helpText;
button.IsCancelButton = isCancelButton;
buttons.Add(button);
}
#region MessageBox
//
#endregion
#region SaveOptions
//
#endregion
#region Timeout
//
#endregion
#region Sound
//
#endregion
#region Font
private void buttonFont_Click(object sender, EventArgs e)
{
if (fontDialog.ShowDialog() == DialogResult.OK)
{
textBoxFont.Text = "\"" + fontDialog.Font.Name + "\", " + fontDialog.Font.Size.ToString().Replace(",", ".");
}
}
#endregion
#region Icon
private string SelectedIcon { set; get; }
private void radioButtonNone_CheckedChanged(object sender, EventArgs e)
{
SelectedIcon = "None";
}
private void radioButtonAsterisk_CheckedChanged(object sender, EventArgs e)
{
SelectedIcon = "Asterisk";
}
private void radioButtonExclamation_CheckedChanged(object sender, EventArgs e)
{
SelectedIcon = "Exclamation";
}
private void radioButtonHand_CheckedChanged(object sender, EventArgs e)
{
SelectedIcon = "Hand";
}
private void radioButtonQuestion_CheckedChanged(object sender, EventArgs e)
{
SelectedIcon = "Question";
}
private void radioButtonUserDefinedIcon_CheckedChanged(object sender, EventArgs e)
{
//radioButtonUserDefinedIcon.Checked =! radioButtonUserDefinedIcon.Checked;
buttonName.Enabled =! buttonName.Enabled;
textBoxIconName.Enabled =!textBoxIconName.Enabled;
}
private void buttonName_Click(object sender, EventArgs e)
{
if (openFileDialogName.ShowDialog() == DialogResult.OK)
{
textBoxIconName.Text = openFileDialogName.FileName;
}
}
private void textBoxIconName_TextChanged(object sender, EventArgs e)
{
}
#endregion
#region Button
private void buttonAddButton_Click(object sender, EventArgs e)
{
MessageBoxExButton button = new MessageBoxExButton();
button.Text = textBoxButtonText.Text;
button.Value = textBoxButtonValue.Text;
button.HelpText = textBoxButtonHelpText.Text;
button.IsCancelButton = checkBoxIsCancel.Checked;
ListViewItem item = new ListViewItem();
item.Text = button.Text;
item.Tag = button;
listViewButtons.Items.Add(item);
buttons.Add(button); //Add button to button list
}
#endregion
#region Code
private void buttonGenerateCode_Click(object sender, EventArgs e)
{
if (textBoxName.Text == "<Name>" || textBoxCaption.Text == "<Caption>" || textBoxMessage.Text == "<Text>")
{
MessageBox.Show("Please define MessageBox Values first!", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else
{
string code = String.Concat("private string OwnMessageBox()", "\r\n{"); //Method body
code = String.Concat(code, "\r\n\tMessageBoxEx msgBox = MessageBoxExManager.CreateMessageBox(\"", textBoxName.Text, "\"); //ATTENTION: Name must be unique"); //Name
code = String.Concat(code, "\r\n\t", "msgBox.Caption = \"", textBoxCaption.Text, "\";"); //Caption
code = String.Concat(code, "\r\n\t", "msgBox.Text = \"", textBoxMessage.Text, "\";"); //Message
code = String.Concat(code, "\r\n\t", "msgBox.AllowSaveResponse = ", checkBoxAllowSaveResponse.Checked.ToString().ToLower(), ";"); //Allowe Save Response
code = String.Concat(code, "\r\n\t", "msgBox.SaveResponseText = \"", textBoxSaveResponse.Text, "\";"); //Save Response Text
code = String.Concat(code, "\r\n\t", "msgBox.UseSavedResponse = ", checkBoxUseSaveResponse.Checked.ToString().ToLower(), ";"); //Use Save Response
code = String.Concat(code, "\r\n\t", "msgBox.Timeout = ", textBoxTimeout.Text, ";"); //Timeout Text
code = String.Concat(code, "\r\n\t", "msgBox.TimeoutResult = ", comboBoxResult.SelectedItem.ToString().ToLower(), ";"); //Timeout Result
code = String.Concat(code, "\r\n\t", "msgBox.PlayAlsertSound = ", checkBoxSound.Checked.ToString().ToLower(), ";"); //Play Alert Sound
code = String.Concat(code, "\r\n\t", "msgBox.Font = new Font(", textBoxFont.Text, ");"); //Font
//Icon
if (radioButtonUserDefinedIcon.Checked)
{
code = String.Concat(code, "\r\n\t", "//Use a customer icon");
code = String.Concat(code, "\r\n\t", "using (var bmp = Bitmap.FromFile(@\"", textBoxIconName.Text, "\") as Bitmap)");
code = String.Concat(code, "\r\n\t\t", "Icon = Icon.FromHandle(bmp.GetHicon());");
code = String.Concat(code, "\r\n\t", "msgBox.CustomIcon = Icon;");
}
else
{
code = String.Concat(code, "\r\n\t", "//Use a standard icon");
code = String.Concat(code, "\r\n\t", "msgBox.Icon = MessageBoxExIcon.", SelectedIcon, ";");
}
//Button
if (listViewButtons.CheckedItems.Count > 0)
{
foreach (ListViewItem item in listViewButtons.Items)
{
if (item.Checked)
{
code = String.Concat(code, "\r\n\t", "MessageBoxExButton btn", buttons[item.Index].Text, " = new MessageBoxExButton();");
code = String.Concat(code, "\r\n\t", "btn", buttons[item.Index].Text, ".Text = \"", buttons[item.Index].Text, "\";");
code = String.Concat(code, "\r\n\t", "btn", buttons[item.Index].Text, ".Value = \"", buttons[item.Index].Value, "\";");
code = String.Concat(code, "\r\n\t", "btn", buttons[item.Index].Text, ".HelpText = \"", buttons[item.Index].HelpText, "\";");
code = String.Concat(code, "\r\n\t", "btn", buttons[item.Index].Text, ".IsCancelButton = ", buttons[item.Index].IsCancelButton.ToString().ToLower(), ";");
code = String.Concat(code, "\r\n\t", "msgBox.AddButton(", "btn", buttons[item.Index].Text, ");");
}
}
}
code = String.Concat(code, "\r\n\t", "return msgBox.Show(); //Returns the result");
code = String.Concat(code, "\r\n}"); //Methode end
textBoxCode.Text = code; //Show text
}
}
private void buttonCopyToClipboard_Click(object sender, EventArgs e)
{
Clipboard.Clear(); //Clear if any old value is there in Clipboard
Clipboard.SetText(textBoxCode.Text); //Copy text to Clipboard
}
#endregion
}
}

View File

@ -0,0 +1,307 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAACZNJREFUWEe9V2lQVFca5c/U1FSZWNEYtcaIRisaQQehgS4ausEBMcqwL8MiyCiI
UqLRoNGJOprEGIzswyqGptmKTWCgaUBpoFnC1kBABBTU5EfciKWzOYg5832XtDBoapKaqnlVh368d+89
33rufUYAfhJu3LiBhitXoMrJwbmYGBw7ehT7o6IE+J6f8Tsew2Pnzv8xvPThbOj1euSqVDhx/DiUSiUa
GxsxOjqKiYkJPH36VIDv+Rm/4zE8lufw3LnrzcVLHzLGx8dRVFSE2PPnodVqcf/+fUGibdThUlULMgo6
cTy2ER981oCzaa1QFrWiSk3GjYyKsTyH5/IavNbc9Q146cOe7m4kJSVBU1MjvOvs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KeUMwbEYaTS3Wbj5PhOlEnor5VskU8kT6TcBCaSJ+TUXGPe0QrEKashZV1Q2oVLdi
/0daCi+Ta6ZJqYsUVNBygSbIA5rIACpw98v4Iq9WpPz5ZsR/Zm/HUdFn8CvzBCJOwiuWCYR4MiAei2SJ
pGTJWL0lA6nZtWgmg2vUddBe1qK9ox8u4RoKMRETkTygGXb+LZSaVsh8GS2Q+rTCLTQbD0ioXtiOGYYD
ycjICH7rcxy/MIvFPEkcXpHEYoF1HJbaJZCWU5u5ZuFSdSvaWtqp/XRobm7D4MAQvCLUsPGdJpb5koR7
d8Ca4cWgzcy1FL3911Cr0bx4IGHMPpJpKURS15P4pdk5MuBzCn8s9XgS7WTpWLs1C0fOaoh0EMO0g46N
jiC3WAepZ9VzYivPTlh6dFPICW49kLiQWqp1otB/9EjGmH0o1TY2QeZ6DPMsYrDIJo60PJnIM0lIlLDw
yseOI5Uku3U4eJqq2/sShZjCTOSWHl0wJ1KzbXps2NoPq9+Vo7Sy+b8fSg2YfSzndGyPOIVVDmdIaFJI
Ti8QuQpSv2ISmzJYkFJaenHudcJ79tzcVY/1RGzi1AG3kBz0fTX804/lBrCVHCrDh0nppSp4h56ClVss
JF45dNoppequhD21mn0QFR3l3canExJ3OjltuwLn32cjp6BOzP3ZHyYGcJ64WLhiDZ9m+t5+nI0lEdpz
Fi5Bn1GxxhGSiTAZ/uEpOHEmF23UEf/zp9lscLtwz/7fP07nglWLpZP1mzcR3sl4O2XwPT/jdzyGx86d
/3LA6N8D9eMTPOW8/wAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAACNBJREFUWEe9V1lwlFUazZsgCiqoVRZFsapAZJUlLAFkk01ghkWWUh+UscoqKZ8c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TE5q4toNdMvCvOxig4FjHT4DlscdQ
RFiJ1ImT0NvgphDFDgpRQIq7qOFnOOWSx40z5OrbFEqonYtsHCzlzK+Pa66z2k9yBqjaRR4otNMsvmp6
5afM9lG0fvzpJ9Nq0pAyEleOHIEyKqHjyz+Z690Xhw8PSjHFzQwjDYiGqCgkMt+xPFyi8Q8iid1g4f2g
vbvbkEdTJ/7G72WkDBC5UqaCzXnxRbRxDtyXYjJK+ZyOBQx7NdfU8Ky0p59Gh9WCImvQMNI/weM4m7ea
hOeeQxQ3KMTHiTiO39rz5xG1JALf8v8SFBmgfk8jRK5c5xIlrCF/ZiaKeHFR6Ou41s09zrHjkE2Dhh3H
QuBC0sNcx0+dhlPMvzwVofDXoaf0XOmRAQq/vFeV55Fc3irPepbzKeLGJ59EHesqaeJE9LFA8+nIzy4k
QvCVzJucjARuiKIR3wwRyxhFJNgAk/sh71XhIq/gOyffibyJ5G6ekfzCC2jLyEQ9p+UvXsmE4EtpM42I
oQRHsw2/4UEyItgA06Ih3pcSVVxTS3i4x0XyFLZpW1bWf7+UBhB8LVc6NDhOPP88ollAqnzVRqgB6nG1
mW3kKNSQ2Mm1WU89hTO8JfVRmH71tTwAWalQBX6YtLO9yj4+hJhJkxHFfCbw8GQak04jzhHnCQuJs9lm
iSTP27WLV/FMs/d//mESgPKkYlHFSud1ZeulfF5iS1YfOYLcvXuQHLEICeEzkU1Piz/6CI0Ulx5626ef
ZlRX7dUZwTkPxbAvg6F2Uc/+33+chkKqJemUfmuIaJJpnAr6rHdmrnCN1obuHx4I+w8O8tujizkvzgAA
AABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACEAAAAeCAYAAACiyHcXAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAABr1JREFUWEfFlltsVNcVhg8QD9SRG9EWAkUFihE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TfM2EwGMjLu8i5c5lC1jznszifmU1mVjZZ2blkZ+eTnZNPTn4B
+fmF8xQUUSCo1wUtV57n5Mq4nIsyPpcLWTlkXshJxErETJBJcXExoVDongkVj8fD/5uF3HdNfHmg/A9x
XUWkEIU5ZQAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAAd0SU1FB9oDGgUnLgetJYMAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAu
OWwzfk4AAApgSURBVFhHrVcJUJNnGqbaVoOgIEauBCEcIUAIBDkENCCnoCiHWsAbtqhchhASQg4QEDGg
FS9EUBSrWMSutbpSj229Wyi11S3YWm2tPbSd2dm2s21dZp99v5AOK65jp7PPzDd/+Mn/P+/1Pd8Ti98P
te2YMdqssWO1rWPH6vpeeEH3PcfSMMQW+8zu0dozZkxFJvuu+aH/B7RCIt3L4eh/sXfWwt2nHL7TVRCH
KeAbWgKfEFrBCngFqsD3Koedgxbjxut+ZoHSs57ml/wRGCwpo4YJVvpHAqEG0vBSSCOVCIxUQxKpgX+k
Fn4RWviEayEM1cAjWA1BkBLuUgU8aDm6loNjqX9EgRgtLOQc80t/L7Sezz+vu8Fz1WE6kYbIVAiJ1iE0
dj3C4uoQFr8JofENCI5vhDS2AZJoI3xn1cErvBpuwTrwqBouAQq40bJz1ILe9RG1xcP88mdBEzBunO47
H4kGoTIlZsRoEZlQC1lyA6JSmhA9fyeiU1sgW9AKaXwr/GNaEZLUgqDEXfS5Cd6zGiCYsQG8IB3sxUrw
JSVwdFfjhRf1DykxiZnkadB6jhun/04sVWNGtAoz4ysRnbwJcQu2ISGjBXMWtyMp6yBiMg5Bs/FdfHH/
J3zz8J94pfUGgpIOImReOwISWiCK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R4T+TC0nsxAukkUmOxRCq53JZz8G+AavBOe4e3wieqEJP4YBfImQlNOY9m6Jw0JC0Ca8AbE0UfhHcHI
94LHSi80wpb13llhGj6W/Xg6/J5wRsy9MgPJI4WyEZRhirAKDuIG8KU74BbaBs+IgxDRRPvN7sbS4gtm
2hHsO/IJRDM74RHWQXPUSplvp2oaMVlQRaUvA8c+Hw7Cot8MSb2Z9r8h5zD36uShhr1QDmvXMth6VoIr
2gQH/61wljbDhbJyCT6Aqi1PDuHV/ofkhveBF0AGhLYcV1hPmRM5n/a9fQGmCAqGLdlY3XXKfryZdDTU
Hsy9OpOB5HrJMcGlFNYCHWw8a2FH2fhFH8Rfr3yDoaF/m2kfx8ef/B2Za8/AjgTHxlUPKzZ0DkROU+/k
aTKl35ITcjOTPQ1aCXOvLFoHbzks+SwQFazd9NSO7XREv4VVJWfIJbF11rzODN+X9yCUbJg1ye0E2u+W
jmtNZbendw2TG/zNJM9ChTtzr6xfPPJwk93XgcNbR8EoYTWtnNqjpXNdj0luBlp6TCQzaz1NAyt+GSyJ
mOOYT6JTQAOnMPV8uOzPzHw05BzmXsdb6n5l24YFwvUqJrJiWDoXgeNUTIsCY1fHIiIuwCSXAnA9ikzE
7JnxHN2vwwP31J7/HlA1yEAyD8dsFJNQpuPM3TqT12eLfWb32P+YwtEx++PwPn/qj5A/AoMVk232Ylqm
n+cU1BA7UtmpRvd62f+G5dWscM+EhcV/ABQ+MjIwFZTbAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="openFileDialogName.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="fontDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>183, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>79</value>
</metadata>
</root>

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{BDEF90AC-086D-49A1-8E56-51EF74EBAB4A}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MessageBoxConfigurator</RootNamespace>
<AssemblyName>MessageBoxConfigurator</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="MessageBoxExButton.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,52 @@
using System;
namespace MessageBoxConfigurator
{
/// <summary>
/// Internal DataStructure used to represent a button
/// </summary>
public class MessageBoxExButton
{
private string _text = null;
/// <summary>
/// Gets or Sets the text of the button
/// </summary>
public string Text
{
get{ return _text; }
set{ _text = value; }
}
private string _value = null;
/// <summary>
/// Gets or Sets the return value when this button is clicked
/// </summary>
public string Value
{
get{ return _value; }
set{_value = value; }
}
private string _helpText = null;
/// <summary>
/// Gets or Sets the tooltip that is displayed for this button
/// </summary>
public string HelpText
{
get{ return _helpText; }
set{ _helpText = value; }
}
private bool _isCancelButton = false;
/// <summary>
/// Gets or Sets wether this button is a cancel button. i.e. the button
/// that will be assumed to have been clicked if the user closes the message box
/// without pressing any button.
/// </summary>
public bool IsCancelButton
{
get{ return _isCancelButton; }
set{ _isCancelButton = value; }
}
}
}

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MessageBoxConfigurator
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("MessageBoxConfigurator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MessageBoxConfigurator")]
[assembly: AssemblyCopyright("Copyright © 2020 by Eugen Höglinger")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("bdef90ac-086d-49a1-8e56-51ef74ebab4a")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 4.0.30319.42000
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MessageBoxConfigurator.Properties
{
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MessageBoxConfigurator.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MessageBoxConfigurator.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

View File

@ -0,0 +1 @@
f8f7d440a77096160c62b81fb43d5b350efa2a8b

View File

@ -0,0 +1,10 @@
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\bin\Debug\MessageBoxConfigurator.exe.config
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\bin\Debug\MessageBoxConfigurator.exe
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\bin\Debug\MessageBoxConfigurator.pdb
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.csprojAssemblyReference.cache
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.Form1.resources
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.Properties.Resources.resources
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.csproj.GenerateResource.cache
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.csproj.CoreCompileInputs.cache
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.exe
H:\Programmieren\Git-Repository\VisualStudio\2017\_PROJEKTE\MessageBoxConfigurator.git\MessageBoxConfigurator\obj\Debug\MessageBoxConfigurator.pdb