예제 #1
0
 /// <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(SettingsForm));
     this.buttonOK = new System.Windows.Forms.Button();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.pathDialog = new Genghis.Windows.Forms.FolderNameDialog();
     this.groupExportBox = new System.Windows.Forms.GroupBox();
     this.buttonPath = new System.Windows.Forms.Button();
     this.textBoxPath = new System.Windows.Forms.TextBox();
     this.labelPath = new System.Windows.Forms.Label();
     this.requiredField = new Genghis.Windows.Forms.RequiredFieldValidator();
     this.containerValidator = new Genghis.Windows.Forms.ContainerValidator();
     this.button1 = new System.Windows.Forms.Button();
     this.groupExportBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.requiredField)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).BeginInit();
     this.SuspendLayout();
     //
     // buttonOK
     //
     this.buttonOK.Location = new System.Drawing.Point(239, 74);
     this.buttonOK.Name = "buttonOK";
     this.buttonOK.Size = new System.Drawing.Size(75, 23);
     this.buttonOK.TabIndex = 0;
     this.buttonOK.Text = "OK";
     this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location = new System.Drawing.Point(329, 74);
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Size = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex = 1;
     this.buttonCancel.Text = "Cancel";
     //
     // pathDialog
     //
     this.pathDialog.BrowseForComputer = false;
     this.pathDialog.BrowseForEverything = false;
     this.pathDialog.BrowseForPrinter = false;
     this.pathDialog.Description = "Choose a folder";
     this.pathDialog.DontTranslateTarget = false;
     this.pathDialog.NewUI = true;
     this.pathDialog.NoNewFolderButton = false;
     this.pathDialog.RestrictToDomain = false;
     this.pathDialog.RestrictToFilesystem = true;
     this.pathDialog.RestrictToSubfolders = false;
     this.pathDialog.ShowHint = false;
     this.pathDialog.ShowShareable = false;
     this.pathDialog.ShowStatusText = false;
     this.pathDialog.ShowTextBox = false;
     this.pathDialog.StartLocation = Genghis.Windows.Forms.FolderNameDialog.FolderNameFolder.Desktop;
     this.pathDialog.ValidResultsOnly = true;
     //
     // groupExportBox
     //
     this.groupExportBox.Controls.Add(this.buttonPath);
     this.groupExportBox.Controls.Add(this.textBoxPath);
     this.groupExportBox.Controls.Add(this.labelPath);
     this.groupExportBox.Location = new System.Drawing.Point(8, 8);
     this.groupExportBox.Name = "groupExportBox";
     this.groupExportBox.Size = new System.Drawing.Size(392, 60);
     this.groupExportBox.TabIndex = 5;
     this.groupExportBox.TabStop = false;
     this.groupExportBox.Text = "Configuração";
     //
     // buttonPath
     //
     this.buttonPath.Location = new System.Drawing.Point(336, 24);
     this.buttonPath.Name = "buttonPath";
     this.buttonPath.Size = new System.Drawing.Size(24, 20);
     this.buttonPath.TabIndex = 7;
     this.buttonPath.Text = "...";
     this.buttonPath.Click += new System.EventHandler(this.buttonPath_Click);
     //
     // textBoxPath
     //
     this.textBoxPath.Location = new System.Drawing.Point(104, 24);
     this.textBoxPath.Name = "textBoxPath";
     this.textBoxPath.Size = new System.Drawing.Size(224, 20);
     this.textBoxPath.TabIndex = 6;
     //
     // labelPath
     //
     this.labelPath.Location = new System.Drawing.Point(13, 26);
     this.labelPath.Name = "labelPath";
     this.labelPath.Size = new System.Drawing.Size(80, 16);
     this.labelPath.TabIndex = 5;
     this.labelPath.Text = "Caminho:";
     //
     // requiredField
     //
     this.requiredField.ControlToValidate = this.textBoxPath;
     this.requiredField.ErrorMessage = "Required.";
     this.requiredField.Icon = ((System.Drawing.Icon)(resources.GetObject("requiredField.Icon")));
     this.requiredField.IconPadding = 40;
     //
     // containerValidator
     //
     this.containerValidator.ContainerToValidate = this;
     //
     // button1
     //
     this.button1.Enabled = false;
     this.button1.Location = new System.Drawing.Point(12, 74);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(159, 22);
     this.button1.TabIndex = 6;
     this.button1.Text = "Actualizar ficheiros";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // SettingsForm
     //
     this.AcceptButton = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.buttonCancel;
     this.ClientSize = new System.Drawing.Size(410, 103);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.groupExportBox);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "SettingsForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Configuração";
     this.groupExportBox.ResumeLayout(false);
     this.groupExportBox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.requiredField)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).EndInit();
     this.ResumeLayout(false);
 }
예제 #2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(XmlForm));

            this.tabControl         = new System.Windows.Forms.TabControl();
            this.buttonOK           = new System.Windows.Forms.Button();
            this.buttonCancel       = new System.Windows.Forms.Button();
            this.containerValidator = new Genghis.Windows.Forms.ContainerValidator();
            ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).BeginInit();
            this.SuspendLayout();
            //
            // tabControl
            //
            this.tabControl.Location      = new System.Drawing.Point(8, 8);
            this.tabControl.Name          = "tabControl";
            this.tabControl.SelectedIndex = 0;
            this.tabControl.ShowToolTips  = true;

            this.tabControl.TabIndex              = 0;
            this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
            //
            // buttonOK
            //

            this.buttonOK.Name      = "buttonOK";
            this.buttonOK.TabIndex  = 1;
            this.buttonOK.Text      = "OK";
            this.buttonOK.Click    += new System.EventHandler(this.buttonOK_Click);
            this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.buttonOK.UseVisualStyleBackColor = true;
            //
            // buttonCancel
            //
            this.buttonCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.buttonCancel.Name                    = "buttonCancel";
            this.buttonCancel.TabIndex                = 1;
            this.buttonCancel.Text                    = "Cancel";
            this.buttonCancel.FlatStyle               = System.Windows.Forms.FlatStyle.System;
            this.buttonCancel.UseVisualStyleBackColor = true;
            //
            // containerValidator
            //
            this.containerValidator.ContainerToValidate = this;
            //
            // XmlForm
            //
            this.AcceptButton      = this.buttonOK;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.CancelButton      = this.buttonCancel;
            this.Controls.Add(this.buttonOK);
            this.Controls.Add(this.tabControl);
            this.Controls.Add(this.buttonCancel);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.HelpButton      = true;
            //this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox   = false;
            this.MinimizeBox   = false;
            this.Name          = "XmlForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            this.Text          = "XmlForm";
            this.Activated    += new System.EventHandler(this.XmlForm_Activated);
            ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).EndInit();
            ManageShapeSize();
            this.ResumeLayout(false);
        }
예제 #3
0
 /// <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(SettingsForm));
     this.buttonOK           = new System.Windows.Forms.Button();
     this.buttonCancel       = new System.Windows.Forms.Button();
     this.pathDialog         = new Genghis.Windows.Forms.FolderNameDialog();
     this.groupExportBox     = new System.Windows.Forms.GroupBox();
     this.buttonPath         = new System.Windows.Forms.Button();
     this.textBoxPath        = new System.Windows.Forms.TextBox();
     this.labelPath          = new System.Windows.Forms.Label();
     this.requiredField      = new Genghis.Windows.Forms.RequiredFieldValidator();
     this.containerValidator = new Genghis.Windows.Forms.ContainerValidator();
     this.button1            = new System.Windows.Forms.Button();
     this.groupExportBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.requiredField)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).BeginInit();
     this.SuspendLayout();
     //
     // buttonOK
     //
     this.buttonOK.Location = new System.Drawing.Point(239, 74);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.Size     = new System.Drawing.Size(75, 23);
     this.buttonOK.TabIndex = 0;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(329, 74);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex     = 1;
     this.buttonCancel.Text         = "Cancel";
     //
     // pathDialog
     //
     this.pathDialog.BrowseForComputer   = false;
     this.pathDialog.BrowseForEverything = false;
     this.pathDialog.BrowseForPrinter    = false;
     this.pathDialog.Description         = "Choose a folder";
     this.pathDialog.DontTranslateTarget = false;
     this.pathDialog.NewUI                = true;
     this.pathDialog.NoNewFolderButton    = false;
     this.pathDialog.RestrictToDomain     = false;
     this.pathDialog.RestrictToFilesystem = true;
     this.pathDialog.RestrictToSubfolders = false;
     this.pathDialog.ShowHint             = false;
     this.pathDialog.ShowShareable        = false;
     this.pathDialog.ShowStatusText       = false;
     this.pathDialog.ShowTextBox          = false;
     this.pathDialog.StartLocation        = Genghis.Windows.Forms.FolderNameDialog.FolderNameFolder.Desktop;
     this.pathDialog.ValidResultsOnly     = true;
     //
     // groupExportBox
     //
     this.groupExportBox.Controls.Add(this.buttonPath);
     this.groupExportBox.Controls.Add(this.textBoxPath);
     this.groupExportBox.Controls.Add(this.labelPath);
     this.groupExportBox.Location = new System.Drawing.Point(8, 8);
     this.groupExportBox.Name     = "groupExportBox";
     this.groupExportBox.Size     = new System.Drawing.Size(392, 60);
     this.groupExportBox.TabIndex = 5;
     this.groupExportBox.TabStop  = false;
     this.groupExportBox.Text     = "Configuração";
     //
     // buttonPath
     //
     this.buttonPath.Location = new System.Drawing.Point(336, 24);
     this.buttonPath.Name     = "buttonPath";
     this.buttonPath.Size     = new System.Drawing.Size(24, 20);
     this.buttonPath.TabIndex = 7;
     this.buttonPath.Text     = "...";
     this.buttonPath.Click   += new System.EventHandler(this.buttonPath_Click);
     //
     // textBoxPath
     //
     this.textBoxPath.Location = new System.Drawing.Point(104, 24);
     this.textBoxPath.Name     = "textBoxPath";
     this.textBoxPath.Size     = new System.Drawing.Size(224, 20);
     this.textBoxPath.TabIndex = 6;
     //
     // labelPath
     //
     this.labelPath.Location = new System.Drawing.Point(13, 26);
     this.labelPath.Name     = "labelPath";
     this.labelPath.Size     = new System.Drawing.Size(80, 16);
     this.labelPath.TabIndex = 5;
     this.labelPath.Text     = "Caminho:";
     //
     // requiredField
     //
     this.requiredField.ControlToValidate = this.textBoxPath;
     this.requiredField.ErrorMessage      = "Required.";
     this.requiredField.Icon        = ((System.Drawing.Icon)(resources.GetObject("requiredField.Icon")));
     this.requiredField.IconPadding = 40;
     //
     // containerValidator
     //
     this.containerValidator.ContainerToValidate = this;
     //
     // button1
     //
     this.button1.Enabled  = false;
     this.button1.Location = new System.Drawing.Point(12, 74);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(159, 22);
     this.button1.TabIndex = 6;
     this.button1.Text     = "Actualizar ficheiros";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // SettingsForm
     //
     this.AcceptButton      = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(410, 103);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.groupExportBox);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SettingsForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Configuração";
     this.groupExportBox.ResumeLayout(false);
     this.groupExportBox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.requiredField)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).EndInit();
     this.ResumeLayout(false);
 }
예제 #4
0
파일: XmlForm.cs 프로젝트: zi-yu/midgard
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(XmlForm));

            this.tabControl = new System.Windows.Forms.TabControl();
            this.buttonOK = new System.Windows.Forms.Button();
            this.buttonCancel = new System.Windows.Forms.Button();
            this.containerValidator = new Genghis.Windows.Forms.ContainerValidator();
            ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).BeginInit();
            this.SuspendLayout();
            //
            // tabControl
            //
            this.tabControl.Location = new System.Drawing.Point(8, 8);
            this.tabControl.Name = "tabControl";
            this.tabControl.SelectedIndex = 0;
            this.tabControl.ShowToolTips = true;

            this.tabControl.TabIndex = 0;
            this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
            //
            // buttonOK
            //

            this.buttonOK.Name = "buttonOK";
            this.buttonOK.TabIndex = 1;
            this.buttonOK.Text = "OK";
            this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
            this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.buttonOK.UseVisualStyleBackColor = true;
            //
            // buttonCancel
            //
            this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.TabIndex = 1;
            this.buttonCancel.Text = "Cancel";
            this.buttonCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.buttonCancel.UseVisualStyleBackColor = true;
            //
            // containerValidator
            //
            this.containerValidator.ContainerToValidate = this;
            //
            // XmlForm
            //
            this.AcceptButton = this.buttonOK;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.CancelButton = this.buttonCancel;
            this.Controls.Add(this.buttonOK);
            this.Controls.Add(this.tabControl);
            this.Controls.Add(this.buttonCancel);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.HelpButton = true;
            //this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "XmlForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            this.Text = "XmlForm";
            this.Activated += new System.EventHandler(this.XmlForm_Activated);
            ((System.ComponentModel.ISupportInitialize)(this.containerValidator)).EndInit();
            ManageShapeSize();
            this.ResumeLayout(false);
        }