diff --git a/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.Designer.cs b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.Designer.cs new file mode 100644 index 00000000..0a767fa0 --- /dev/null +++ b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.Designer.cs @@ -0,0 +1,95 @@ +namespace UniversalEditor.Dialogs.FileSystem +{ + partial class CommentDialog + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtComment = new System.Windows.Forms.TextBox(); + this.cmdCancel = new System.Windows.Forms.Button(); + this.cmdOK = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // txtComment + // + this.txtComment.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtComment.HideSelection = false; + this.txtComment.Location = new System.Drawing.Point(12, 12); + this.txtComment.Multiline = true; + this.txtComment.Name = "txtComment"; + this.txtComment.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.txtComment.Size = new System.Drawing.Size(378, 142); + this.txtComment.TabIndex = 0; + // + // cmdCancel + // + this.cmdCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.cmdCancel.Location = new System.Drawing.Point(315, 160); + this.cmdCancel.Name = "cmdCancel"; + this.cmdCancel.Size = new System.Drawing.Size(75, 23); + this.cmdCancel.TabIndex = 1; + this.cmdCancel.Text = "Cancel"; + this.cmdCancel.UseVisualStyleBackColor = true; + // + // cmdOK + // + this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.cmdOK.Location = new System.Drawing.Point(234, 160); + this.cmdOK.Name = "cmdOK"; + this.cmdOK.Size = new System.Drawing.Size(75, 23); + this.cmdOK.TabIndex = 1; + this.cmdOK.Text = "&OK"; + this.cmdOK.UseVisualStyleBackColor = true; + // + // CommentDialog + // + this.AcceptButton = this.cmdOK; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.cmdCancel; + this.ClientSize = new System.Drawing.Size(402, 195); + this.Controls.Add(this.cmdOK); + this.Controls.Add(this.cmdCancel); + this.Controls.Add(this.txtComment); + this.Name = "CommentDialog"; + this.Text = "Comment"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button cmdCancel; + private System.Windows.Forms.Button cmdOK; + internal System.Windows.Forms.TextBox txtComment; + } +} \ No newline at end of file diff --git a/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.cs b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.cs new file mode 100644 index 00000000..60653185 --- /dev/null +++ b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Windows.Forms; + +namespace UniversalEditor.Dialogs.FileSystem +{ + public partial class CommentDialog : Form + { + public CommentDialog() + { + InitializeComponent(); + base.Font = SystemFonts.MenuFont; + } + } +} diff --git a/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.resx b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.resx new file mode 100644 index 00000000..7080a7d1 --- /dev/null +++ b/CSharp/Libraries/UniversalEditor.UserInterface.WindowsForms/Dialogs/FileSystem/CommentDialog.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file