From: <no...@us...> - 2010-02-07 03:46:09
|
Revision: 8 http://passwdhk.svn.sourceforge.net/passwdhk/?rev=8&view=rev Author: nobull Date: 2010-02-07 03:46:02 +0000 (Sun, 07 Feb 2010) Log Message: ----------- Initial Import of C# .Net 2.0 Config GUI Added Paths: ----------- trunk/ trunk/passwdhk-config-net/ trunk/passwdhk-config-net/Aboutbox.Designer.cs trunk/passwdhk-config-net/Aboutbox.cs trunk/passwdhk-config-net/Aboutbox.resx trunk/passwdhk-config-net/Configuration.Designer.cs trunk/passwdhk-config-net/Configuration.cs trunk/passwdhk-config-net/Configuration.resx trunk/passwdhk-config-net/Program.cs trunk/passwdhk-config-net/Properties/ trunk/passwdhk-config-net/Properties/AssemblyInfo.cs trunk/passwdhk-config-net/Properties/Resources.Designer.cs trunk/passwdhk-config-net/Properties/Resources.resx trunk/passwdhk-config-net/Properties/Settings.Designer.cs trunk/passwdhk-config-net/Properties/Settings.settings trunk/passwdhk-config-net/bin/ trunk/passwdhk-config-net/bin/Debug/ trunk/passwdhk-config-net/bin/Release/ trunk/passwdhk-config-net/obj/ trunk/passwdhk-config-net/obj/Debug/ trunk/passwdhk-config-net/obj/Debug/TempPE/ trunk/passwdhk-config-net/obj/Release/ trunk/passwdhk-config-net/obj/Release/TempPE/ trunk/passwdhk-config-net/passwdhk-config.csproj trunk/passwdhk-config-net/passwdhk-config.csproj.user trunk/passwdhk-config-net/passwdhk-config.sln trunk/passwdhk-config-net/passwdhk-config.suo trunk/passwdhk-config-net/passwdhk_config.ico Added: trunk/passwdhk-config-net/Aboutbox.Designer.cs =================================================================== --- trunk/passwdhk-config-net/Aboutbox.Designer.cs (rev 0) +++ trunk/passwdhk-config-net/Aboutbox.Designer.cs 2010-02-07 03:46:02 UTC (rev 8) @@ -0,0 +1,173 @@ +namespace passwdhk +{ + partial class Aboutbox + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Aboutbox)); + this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); + this.logoPictureBox = new System.Windows.Forms.PictureBox(); + this.labelProductName = new System.Windows.Forms.Label(); + this.labelVersion = new System.Windows.Forms.Label(); + this.labelCopyright = new System.Windows.Forms.Label(); + this.textBoxDescription = new System.Windows.Forms.TextBox(); + this.okButton = new System.Windows.Forms.Button(); + this.tableLayoutPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit(); + this.SuspendLayout(); + // + // tableLayoutPanel + // + this.tableLayoutPanel.ColumnCount = 2; + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F)); + this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0); + this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0); + this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1); + this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2); + this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4); + this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5); + this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9); + this.tableLayoutPanel.Name = "tableLayoutPanel"; + this.tableLayoutPanel.RowCount = 6; + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel.Size = new System.Drawing.Size(417, 265); + this.tableLayoutPanel.TabIndex = 0; + // + // logoPictureBox + // + this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image"))); + this.logoPictureBox.Location = new System.Drawing.Point(3, 3); + this.logoPictureBox.Name = "logoPictureBox"; + this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6); + this.logoPictureBox.Size = new System.Drawing.Size(131, 259); + this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.logoPictureBox.TabIndex = 12; + this.logoPictureBox.TabStop = false; + // + // labelProductName + // + this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelProductName.Location = new System.Drawing.Point(143, 0); + this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17); + this.labelProductName.Name = "labelProductName"; + this.labelProductName.Size = new System.Drawing.Size(271, 17); + this.labelProductName.TabIndex = 19; + this.labelProductName.Text = "PasswdHk Config"; + this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelVersion + // + this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelVersion.Location = new System.Drawing.Point(143, 26); + this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17); + this.labelVersion.Name = "labelVersion"; + this.labelVersion.Size = new System.Drawing.Size(271, 17); + this.labelVersion.TabIndex = 0; + this.labelVersion.Text = "1.0"; + this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelCopyright + // + this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCopyright.Location = new System.Drawing.Point(143, 52); + this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17); + this.labelCopyright.Name = "labelCopyright"; + this.labelCopyright.Size = new System.Drawing.Size(271, 17); + this.labelCopyright.TabIndex = 21; + this.labelCopyright.Text = "Copyright (C) 2010"; + this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // textBoxDescription + // + this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxDescription.Location = new System.Drawing.Point(143, 107); + this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.textBoxDescription.Multiline = true; + this.textBoxDescription.Name = "textBoxDescription"; + this.textBoxDescription.ReadOnly = true; + this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.textBoxDescription.Size = new System.Drawing.Size(271, 126); + this.textBoxDescription.TabIndex = 23; + this.textBoxDescription.TabStop = false; + this.textBoxDescription.Text = "http://sourceforge.net/projects/passwdhk/"; + // + // okButton + // + this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.okButton.Location = new System.Drawing.Point(339, 239); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(75, 23); + this.okButton.TabIndex = 24; + this.okButton.Text = "&OK"; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // Aboutbox + // + this.AcceptButton = this.okButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(435, 283); + this.Controls.Add(this.tableLayoutPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Aboutbox"; + this.Padding = new System.Windows.Forms.Padding(9); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "About PasswdHk"; + this.tableLayoutPanel.ResumeLayout(false); + this.tableLayoutPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; + private System.Windows.Forms.PictureBox logoPictureBox; + private System.Windows.Forms.Label labelProductName; + private System.Windows.Forms.Label labelVersion; + private System.Windows.Forms.Label labelCopyright; + private System.Windows.Forms.TextBox textBoxDescription; + private System.Windows.Forms.Button okButton; + } +} Added: trunk/passwdhk-config-net/Aboutbox.cs =================================================================== --- trunk/passwdhk-config-net/Aboutbox.cs (rev 0) +++ trunk/passwdhk-config-net/Aboutbox.cs 2010-02-07 03:46:02 UTC (rev 8) @@ -0,0 +1,121 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Windows.Forms; +using System.Reflection; + +namespace passwdhk +{ + partial class Aboutbox : Form + { + public Aboutbox() + { + InitializeComponent(); + + // Initialize the AboutBox to display the product information from the assembly information. + // Change assembly information settings for your application through either: + // - Project->Properties->Application->Assembly Information + // - AssemblyInfo.cs + this.Text = String.Format("About {0}", AssemblyTitle); + this.labelProductName.Text = AssemblyProduct; + this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); + this.labelCopyright.Text = AssemblyCopyright; + //this.labelCompanyName.Text = AssemblyCompany; + this.textBoxDescription.Text = AssemblyDescription; + } + + #region Assembly Attribute Accessors + + public string AssemblyTitle + { + get + { + // Get all Title attributes on this assembly + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); + // If there is at least one Title attribute + if (attributes.Length > 0) + { + // Select the first one + AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; + // If it is not an empty string, return it + if (titleAttribute.Title != "") + return titleAttribute.Title; + } + // If there was no Title attribute, or if the Title attribute was the empty string, return the .exe name + return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase); + } + } + + public string AssemblyVersion + { + get + { + return Assembly.GetExecutingAssembly().GetName().Version.ToString(); + } + } + + public string AssemblyDescription + { + get + { + // Get all Description attributes on this assembly + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false); + // If there aren't any Description attributes, return an empty string + if (attributes.Length == 0) + return ""; + // If there is a Description attribute, return its value + return ((AssemblyDescriptionAttribute)attributes[0]).Description; + } + } + + public string AssemblyProduct + { + get + { + // Get all Product attributes on this assembly + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false); + // If there aren't any Product attributes, return an empty string + if (attributes.Length == 0) + return ""; + // If there is a Product attribute, return its value + return ((AssemblyProductAttribute)attributes[0]).Product; + } + } + + public string AssemblyCopyright + { + get + { + // Get all Copyright attributes on this assembly + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + // If there aren't any Copyright attributes, return an empty string + if (attributes.Length == 0) + return ""; + // If there is a Copyright attribute, return its value + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + } + + public string AssemblyCompany + { + get + { + // Get all Company attributes on this assembly + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); + // If there aren't any Company attributes, return an empty string + if (attributes.Length == 0) + return ""; + // If there is a Company attribute, return its value + return ((AssemblyCompanyAttribute)attributes[0]).Company; + } + } + #endregion + + private void okButton_Click(object sender, EventArgs e) + { + this.Close(); + } + + } +} Added: trunk/passwdhk-config-net/Aboutbox.resx =================================================================== --- trunk/passwdhk-config-net/Aboutbox.resx (rev 0) +++ trunk/passwdhk-config-net/Aboutbox.resx 2010-02-07 03:46:02 UTC (rev 8) @@ -0,0 +1,199 @@ +<?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=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> + <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <data name="logoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAHgAAAEGCAYAAACuO1HXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAACwwAAAsMAT9AIsgAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfaAgIBFzX9SiSA + AAAAGXRFWHRDb21tZW50AENyZWF0ZWQgd2l0aCBHSU1QV4EOFwAAEJxJREFUeF7tnQmMFUUTxxFRlAVB + ICIilxjFRYwoKOCSeMSAyhmNiEYUNEYkBBMQ44FRUAQioAuiRgG5QqISIK5ybBTEA1QUgyJBkENuCd7I + qfX5H9PjvPdm9vXsG77tqqlKDO6b6p7q+k3N0V3dXY1URHugmujWaeNIAQu/CBSwAhbuAeHN0whWwMI9 + ILx5GsEKWLgHhDdPI1gBC/eA8OZpBCtg4R4Q3jyNYAUs3APCm6cRrICFe0B48zSCFbBwDwhvnkawAhbu + AeHN0whWwDw9UK1aNQr+x7MVhVstNoIV8L8XhwIuPEicrkEBO42ncOMUcOE+dLoGBew0nsKNcx7w1q1b + qVOnTvTxxx/Ham0hL1kfff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</data> +</root> \ No newline at end of file Added: trunk/passwdhk-config-net/Configuration.Designer.cs =================================================================== --- trunk/passwdhk-config-net/Configuration.Designer.cs (rev 0) +++ trunk/passwdhk-config-net/Configuration.Designer.cs 2010-02-07 03:46:02 UTC (rev 8) @@ -0,0 +1,629 @@ +namespace passwdhk +{ + partial class Configuration + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Configuration)); + this.apply_button = new System.Windows.Forms.Button(); + this.exit_button = new System.Windows.Forms.Button(); + this.about_button = new System.Windows.Forms.Button(); + this.prechange_program_t = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.prechange_prog_button = new System.Windows.Forms.Button(); + this.prechange_waittime_n = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.prechange_arguments_t = new System.Windows.Forms.TextBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.postchange_prog_button = new System.Windows.Forms.Button(); + this.postchange_waittime_n = new System.Windows.Forms.NumericUpDown(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.postchange_arguments_t = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.postchange_program_t = new System.Windows.Forms.TextBox(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.logging_filename_button = new System.Windows.Forms.Button(); + this.log_level_n = new System.Windows.Forms.NumericUpDown(); + this.log_maxsize_n = new System.Windows.Forms.NumericUpDown(); + this.label10 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.log_filename_t = new System.Windows.Forms.TextBox(); + this.password_urlencode_c = new System.Windows.Forms.CheckBox(); + this.password_quote_c = new System.Windows.Forms.CheckBox(); + this.label8 = new System.Windows.Forms.Label(); + this.working_dir_t = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.environment_t = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.redirect_output_c = new System.Windows.Forms.CheckBox(); + this.label13 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.workdir_button = new System.Windows.Forms.Button(); + this.enable_passwdhk_c = new System.Windows.Forms.CheckBox(); + this.label14 = new System.Windows.Forms.Label(); + this.priority_d = new System.Windows.Forms.ComboBox(); + this.cancel_button = new System.Windows.Forms.Button(); + this.groupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.prechange_waittime_n)).BeginInit(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.postchange_waittime_n)).BeginInit(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.log_level_n)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.log_maxsize_n)).BeginInit(); + this.groupBox4.SuspendLayout(); + this.SuspendLayout(); + // + // apply_button + // + this.apply_button.Location = new System.Drawing.Point(12, 448); + this.apply_button.Name = "apply_button"; + this.apply_button.Size = new System.Drawing.Size(75, 23); + this.apply_button.TabIndex = 0; + this.apply_button.Text = "Apply"; + this.apply_button.UseVisualStyleBackColor = true; + this.apply_button.Click += new System.EventHandler(this.apply_button_Click); + // + // exit_button + // + this.exit_button.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.exit_button.Location = new System.Drawing.Point(597, 448); + this.exit_button.Name = "exit_button"; + this.exit_button.Size = new System.Drawing.Size(75, 23); + this.exit_button.TabIndex = 2; + this.exit_button.Text = "Exit"; + this.exit_button.UseVisualStyleBackColor = true; + this.exit_button.Click += new System.EventHandler(this.exit_button_Click); + // + // about_button + // + this.about_button.Location = new System.Drawing.Point(516, 448); + this.about_button.Name = "about_button"; + this.about_button.Size = new System.Drawing.Size(75, 23); + this.about_button.TabIndex = 1; + this.about_button.Text = "About"; + this.about_button.UseVisualStyleBackColor = true; + this.about_button.Click += new System.EventHandler(this.about_button_Click); + // + // prechange_program_t + // + this.prechange_program_t.Location = new System.Drawing.Point(72, 13); + this.prechange_program_t.Name = "prechange_program_t"; + this.prechange_program_t.Size = new System.Drawing.Size(501, 20); + this.prechange_program_t.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 16); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(49, 13); + this.label1.TabIndex = 4; + this.label1.Text = "Program:"; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.prechange_prog_button); + this.groupBox1.Controls.Add(this.prechange_waittime_n); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.prechange_arguments_t); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.prechange_program_t); + this.groupBox1.Location = new System.Drawing.Point(12, 25); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(660, 94); + this.groupBox1.TabIndex = 4; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Pre-change"; + // + // prechange_prog_button + // + this.prechange_prog_button.Location = new System.Drawing.Point(579, 10); + this.prechange_prog_button.Name = "prechange_prog_button"; + this.prechange_prog_button.Size = new System.Drawing.Size(75, 23); + this.prechange_prog_button.TabIndex = 1; + this.prechange_prog_button.Text = "Browse..."; + this.prechange_prog_button.UseVisualStyleBackColor = true; + this.prechange_prog_button.Click += new System.EventHandler(this.button4_Click); + // + // prechange_waittime_n + // + this.prechange_waittime_n.Location = new System.Drawing.Point(92, 66); + this.prechange_waittime_n.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.prechange_waittime_n.Name = "prechange_waittime_n"; + this.prechange_waittime_n.Size = new System.Drawing.Size(86, 20); + this.prechange_waittime_n.TabIndex = 3; + this.prechange_waittime_n.Value = new decimal(new int[] { + 5000, + 0, + 0, + 0}); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(6, 68); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(80, 13); + this.label3.TabIndex = 8; + this.label3.Text = "Wait Time (ms):"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 41); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(60, 13); + this.label2.TabIndex = 6; + this.label2.Text = "Arguments:"; + // + // prechange_arguments_t + // + this.prechange_arguments_t.Location = new System.Drawing.Point(72, 39); + this.prechange_arguments_t.Name = "prechange_arguments_t"; + this.prechange_arguments_t.Size = new System.Drawing.Size(582, 20); + this.prechange_arguments_t.TabIndex = 2; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.postchange_prog_button); + this.groupBox2.Controls.Add(this.postchange_waittime_n); + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Controls.Add(this.label5); + this.groupBox2.Controls.Add(this.postchange_arguments_t); + this.groupBox2.Controls.Add(this.label6); + this.groupBox2.Controls.Add(this.postchange_program_t); + this.groupBox2.Location = new System.Drawing.Point(12, 125); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(660, 98); + this.groupBox2.TabIndex = 5; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Post-change"; + // + // postchange_prog_button + // + this.postchange_prog_button.Location = new System.Drawing.Point(579, 15); + this.postchange_prog_button.Name = "postchange_prog_button"; + this.postchange_prog_button.Size = new System.Drawing.Size(75, 23); + this.postchange_prog_button.TabIndex = 1; + this.postchange_prog_button.Text = "Browse..."; + this.postchange_prog_button.UseVisualStyleBackColor = true; + this.postchange_prog_button.Click += new System.EventHandler(this.button5_Click); + // + // postchange_waittime_n + // + this.postchange_waittime_n.Location = new System.Drawing.Point(92, 70); + this.postchange_waittime_n.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.postchange_waittime_n.Name = "postchange_waittime_n"; + this.postchange_waittime_n.Size = new System.Drawing.Size(86, 20); + this.postchange_waittime_n.TabIndex = 3; + this.postchange_waittime_n.Value = new decimal(new int[] { + 5000, + 0, + 0, + 0}); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(6, 72); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(80, 13); + this.label4.TabIndex = 8; + this.label4.Text = "Wait Time (ms):"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(6, 45); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(60, 13); + this.label5.TabIndex = 6; + this.label5.Text = "Arguments:"; + // + // postchange_arguments_t + // + this.postchange_arguments_t.Location = new System.Drawing.Point(72, 43); + this.postchange_arguments_t.Name = "postchange_arguments_t"; + this.postchange_arguments_t.Size = new System.Drawing.Size(582, 20); + this.postchange_arguments_t.TabIndex = 2; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(6, 20); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(49, 13); + this.label6.TabIndex = 4; + this.label6.Text = "Program:"; + // + // postchange_program_t + // + this.postchange_program_t.Location = new System.Drawing.Point(72, 17); + this.postchange_program_t.Name = "postchange_program_t"; + this.postchange_program_t.Size = new System.Drawing.Size(501, 20); + this.postchange_program_t.TabIndex = 0; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.logging_filename_button); + this.groupBox3.Controls.Add(this.log_level_n); + this.groupBox3.Controls.Add(this.log_maxsize_n); + this.groupBox3.Controls.Add(this.label10); + this.groupBox3.Controls.Add(this.label7); + this.groupBox3.Controls.Add(this.label9); + this.groupBox3.Controls.Add(this.log_filename_t); + this.groupBox3.Location = new System.Drawing.Point(12, 229); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(660, 70); + this.groupBox3.TabIndex = 6; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "Logging"; + // + // logging_filename_button + // + this.logging_filename_button.Location = new System.Drawing.Point(579, 13); + this.logging_filename_button.Name = "logging_filename_button"; + this.logging_filename_button.Size = new System.Drawing.Size(75, 23); + this.logging_filename_button.TabIndex = 1; + this.logging_filename_button.Text = "Browse..."; + this.logging_filename_button.UseVisualStyleBackColor = true; + this.logging_filename_button.Click += new System.EventHandler(this.button1_Click); + // + // log_level_n + // + this.log_level_n.Location = new System.Drawing.Point(321, 41); + this.log_level_n.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.log_level_n.Name = "log_level_n"; + this.log_level_n.Size = new System.Drawing.Size(68, 20); + this.log_level_n.TabIndex = 3; + // + // log_maxsize_n + // + this.log_maxsize_n.Increment = new decimal(new int[] { + 16, + 0, + 0, + 0}); + this.log_maxsize_n.Location = new System.Drawing.Point(112, 41); + this.log_maxsize_n.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.log_maxsize_n.Name = "log_maxsize_n"; + this.log_maxsize_n.Size = new System.Drawing.Size(91, 20); + this.log_maxsize_n.TabIndex = 2; + this.log_maxsize_n.Value = new decimal(new int[] { + 8192, + 0, + 0, + 0}); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(258, 44); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(57, 13); + this.label10.TabIndex = 10; + this.label10.Text = "Log Level:"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(6, 44); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(100, 13); + this.label7.TabIndex = 8; + this.label7.Text = "Maximum Size (KB):"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(6, 18); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(52, 13); + this.label9.TabIndex = 4; + this.label9.Text = "Filename:"; + // + // log_filename_t + // + this.log_filename_t.Location = new System.Drawing.Point(61, 15); + this.log_filename_t.Name = "log_filename_t"; + this.log_filename_t.Size = new System.Drawing.Size(512, 20); + this.log_filename_t.TabIndex = 0; + // + // password_urlencode_c + // + this.password_urlencode_c.AutoSize = true; + this.password_urlencode_c.Location = new System.Drawing.Point(6, 19); + this.password_urlencode_c.Name = "password_urlencode_c"; + this.password_urlencode_c.Size = new System.Drawing.Size(88, 17); + this.password_urlencode_c.TabIndex = 0; + this.password_urlencode_c.Text = "URL Encode"; + this.password_urlencode_c.UseVisualStyleBackColor = true; + // + // password_quote_c + // + this.password_quote_c.AutoSize = true; + this.password_quote_c.Location = new System.Drawing.Point(105, 19); + this.password_quote_c.Name = "password_quote_c"; + this.password_quote_c.Size = new System.Drawing.Size(92, 17); + this.password_quote_c.TabIndex = 1; + this.password_quote_c.Text = "Double Quote"; + this.password_quote_c.UseVisualStyleBackColor = true; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(12, 388); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(95, 13); + this.label8.TabIndex = 12; + this.label8.Text = "Working Directory:"; + // + // working_dir_t + // + this.working_dir_t.Location = new System.Drawing.Point(184, 385); + this.working_dir_t.Name = "working_dir_t"; + this.working_dir_t.Size = new System.Drawing.Size(401, 20); + this.working_dir_t.TabIndex = 12; + this.working_dir_t.Text = "c:\\windows\\temp\\"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(12, 362); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(166, 13); + this.label11.TabIndex = 14; + this.label11.Text = "Environment (\"$%%$\" separated):"; + // + // environment_t + // + this.environment_t.Location = new System.Drawing.Point(184, 359); + this.environment_t.Name = "environment_t"; + this.environment_t.Size = new System.Drawing.Size(482, 20); + this.environment_t.TabIndex = 11; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(221, 325); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(66, 13); + this.label12.TabIndex = 12; + this.label12.Text = "CPU Priority:"; + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.password_urlencode_c); + this.groupBox4.Controls.Add(this.password_quote_c); + this.groupBox4.Location = new System.Drawing.Point(12, 305); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(203, 45); + this.groupBox4.TabIndex = 7; + this.groupBox4.TabStop = false; + this.groupBox4.Text = "Password Escaping"; + // + // redirect_output_c + // + this.redirect_output_c.AutoSize = true; + this.redirect_output_c.Location = new System.Drawing.Point(369, 324); + this.redirect_output_c.Name = "redirect_output_c"; + this.redirect_output_c.Size = new System.Drawing.Size(101, 17); + this.redirect_output_c.TabIndex = 9; + this.redirect_output_c.Text = "Redirect Output"; + this.redirect_output_c.UseVisualStyleBackColor = true; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(12, 9); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(318, 13); + this.label13.TabIndex = 3; + this.label13.Text = "Configuration of the passwdHk settings. For more information see:"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(333, 9); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(212, 13); + this.linkLabel1.TabIndex = 3; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "http://sourceforge.net/projects/passwdhk/"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // workdir_button + // + this.workdir_button.Location = new System.Drawing.Point(591, 383); + this.workdir_button.Name = "workdir_button"; + this.workdir_button.Size = new System.Drawing.Size(75, 23); + this.workdir_button.TabIndex = 13; + this.workdir_button.Text = "Browse..."; + this.workdir_button.UseVisualStyleBackColor = true; + this.workdir_button.Click += new System.EventHandler(this.button6_Click); + // + // enable_passwdhk_c + // + this.enable_passwdhk_c.AutoSize = true; + this.enable_passwdhk_c.Location = new System.Drawing.Point(12, 413); + this.enable_passwdhk_c.Name = "enable_passwdhk_c"; + this.enable_passwdhk_c.Size = new System.Drawing.Size(113, 17); + this.enable_passwdhk_c.TabIndex = 14; + this.enable_passwdhk_c.Text = "Enable PasswdHk"; + this.enable_passwdhk_c.UseVisualStyleBackColor = true; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.ForeColor = System.Drawing.Color.Red; + this.label14.Location = new System.Drawing.Point(101, 453); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(249, 13); + this.label14.TabIndex = 15; + this.label14.Text = "Any changes applied needs a reboot to take effect."; + // + // priority_d + // + this.priority_d.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.priority_d.FormattingEnabled = true; + this.priority_d.Items.AddRange(new object[] { + "Idle", + "Normal", + "High"}); + this.priority_d.Location = new System.Drawing.Point(293, 322); + this.priority_d.Name = "priority_d"; + this.priority_d.Size = new System.Drawing.Size(64, 21); + this.priority_d.TabIndex = 16; + // + // cancel_button + // + this.cancel_button.Location = new System.Drawing.Point(435, 448); + this.cancel_button.Name = "cancel_button"; + this.cancel_button.Size = new System.Drawing.Size(75, 23); + this.cancel_button.TabIndex = 17; + this.cancel_button.Text = "Cancel"; + this.cancel_button.UseVisualStyleBackColor = true; + this.cancel_button.Click += new System.EventHandler(this.cancel_button_Click); + // + // Configuration + // + this.AcceptButton = this.apply_button; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.cancel_button; + this.ClientSize = new System.Drawing.Size(684, 483); + this.Controls.Add(this.cancel_button); + this.Controls.Add(this.priority_d); + this.Controls.Add(this.label14); + this.Controls.Add(this.enable_passwdhk_c); + this.Controls.Add(this.workdir_button); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.label13); + this.Controls.Add(this.redirect_output_c); + this.Controls.Add(this.label12); + this.Controls.Add(this.label11); + this.Controls.Add(this.environment_t); + this.Controls.Add(this.label8); + this.Controls.Add(this.working_dir_t); + this.Controls.Add(this.groupBox3); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.about_button); + this.Controls.Add(this.exit_button); + this.Controls.Add(this.apply_button); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.groupBox4); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "Configuration"; + this.Text = "passwdHk Configuration Manager"; + this.Load += new System.EventHandler(this.Configuration_Load); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.prechange_waittime_n)).EndInit(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.postchange_waittime_n)).EndInit(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.log_level_n)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.log_maxsize_n)).EndInit(); + this.groupBox4.ResumeLayout(false); + this.groupBox4.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button apply_button; + private System.Windows.Forms.Button exit_button; + private System.Windows.Forms.Button about_button; + private System.Windows.Forms.TextBox prechange_program_t; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox prechange_arguments_t; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox postchange_arguments_t; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox postchange_program_t; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TextBox log_filename_t; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.CheckBox password_urlencode_c; + private System.Windows.Forms.CheckBox password_quote_c; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox working_dir_t; + private System.Windows.Forms.NumericUpDown prechange_waittime_n; + private System.Windows.Forms.NumericUpDown postchange_waittime_n; + private System.Windows.Forms.NumericUpDown log_maxsize_n; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.TextBox environment_t; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.NumericUpDown log_level_n; + private System.Windows.Forms.GroupBox groupBox4; + private System.Windows.Forms.CheckBox redirect_output_c; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.Button prechange_prog_button; + private System.Windows.Forms.Button postchange_prog_button; + private System.Windows.Forms.Button workdir_button; + private System.Windows.Forms.Button logging_filename_button; + private System.Windows.For... [truncated message content] |