251 lines
12 KiB
C#
251 lines
12 KiB
C#
namespace Microsoft.Samples.RssPlatform.ScreenSaver
|
|
{
|
|
partial class OptionsForm : System.Windows.Forms.Form
|
|
{
|
|
/// <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()
|
|
{
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.applyButton = new System.Windows.Forms.Button();
|
|
this.rssGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.rssFadePauseLength = new System.Windows.Forms.TrackBar();
|
|
this.imageGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.rootFolderTextBox = new System.Windows.Forms.TextBox();
|
|
this.backgroundImageLabel = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.rssGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.rssFadePauseLength)).BeginInit();
|
|
this.imageGroupBox.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.tableLayoutPanel2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.okButton.Location = new System.Drawing.Point(75, 3);
|
|
this.okButton.Margin = new System.Windows.Forms.Padding(3, 3, 2, 3);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 3;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.Location = new System.Drawing.Point(155, 3);
|
|
this.cancelButton.Margin = new System.Windows.Forms.Padding(1, 3, 3, 3);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 4;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// applyButton
|
|
//
|
|
this.applyButton.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.applyButton.Enabled = false;
|
|
this.applyButton.Location = new System.Drawing.Point(237, 3);
|
|
this.applyButton.Name = "applyButton";
|
|
this.applyButton.Size = new System.Drawing.Size(75, 23);
|
|
this.applyButton.TabIndex = 5;
|
|
this.applyButton.Text = "Apply";
|
|
this.applyButton.Click += new System.EventHandler(this.btnApply_Click);
|
|
//
|
|
// rssGroupBox
|
|
//
|
|
this.rssGroupBox.Controls.Add(this.label4);
|
|
this.rssGroupBox.Controls.Add(this.label3);
|
|
this.rssGroupBox.Controls.Add(this.label1);
|
|
this.rssGroupBox.Controls.Add(this.rssFadePauseLength);
|
|
this.rssGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.rssGroupBox.Location = new System.Drawing.Point(3, 3);
|
|
this.rssGroupBox.Name = "rssGroupBox";
|
|
this.rssGroupBox.Size = new System.Drawing.Size(315, 115);
|
|
this.rssGroupBox.TabIndex = 4;
|
|
this.rssGroupBox.TabStop = false;
|
|
this.rssGroupBox.Text = "Fade Pause";
|
|
//
|
|
// 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(27, 13);
|
|
this.label4.TabIndex = 2;
|
|
this.label4.Text = "Fast";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(201, 72);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(30, 13);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Slow";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 27);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(226, 13);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Number of seconds to pause between images:";
|
|
//
|
|
// rssFadePauseLength
|
|
//
|
|
this.rssFadePauseLength.Location = new System.Drawing.Point(6, 43);
|
|
this.rssFadePauseLength.Maximum = 30;
|
|
this.rssFadePauseLength.Name = "rssFadePauseLength";
|
|
this.rssFadePauseLength.Size = new System.Drawing.Size(225, 42);
|
|
this.rssFadePauseLength.TabIndex = 1;
|
|
this.rssFadePauseLength.TickFrequency = 2;
|
|
this.rssFadePauseLength.Value = 2;
|
|
this.rssFadePauseLength.Scroll += new System.EventHandler(this.rssFadePauseLength_Scroll);
|
|
//
|
|
// imageGroupBox
|
|
//
|
|
this.imageGroupBox.Controls.Add(this.label2);
|
|
this.imageGroupBox.Controls.Add(this.rootFolderTextBox);
|
|
this.imageGroupBox.Controls.Add(this.backgroundImageLabel);
|
|
this.imageGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.imageGroupBox.Location = new System.Drawing.Point(3, 124);
|
|
this.imageGroupBox.Name = "imageGroupBox";
|
|
this.imageGroupBox.Size = new System.Drawing.Size(315, 115);
|
|
this.imageGroupBox.TabIndex = 5;
|
|
this.imageGroupBox.TabStop = false;
|
|
this.imageGroupBox.Text = "Feed Folder";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 29);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(213, 13);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "(Leave blank to search from the root folder.)";
|
|
//
|
|
// rootFolderTextBox
|
|
//
|
|
this.rootFolderTextBox.Location = new System.Drawing.Point(6, 54);
|
|
this.rootFolderTextBox.Name = "rootFolderTextBox";
|
|
this.rootFolderTextBox.Size = new System.Drawing.Size(301, 20);
|
|
this.rootFolderTextBox.TabIndex = 2;
|
|
this.rootFolderTextBox.TextChanged += new System.EventHandler(this.rootFolderTextBox_TextChanged);
|
|
//
|
|
// backgroundImageLabel
|
|
//
|
|
this.backgroundImageLabel.AutoSize = true;
|
|
this.backgroundImageLabel.Location = new System.Drawing.Point(6, 16);
|
|
this.backgroundImageLabel.Name = "backgroundImageLabel";
|
|
this.backgroundImageLabel.Size = new System.Drawing.Size(206, 13);
|
|
this.backgroundImageLabel.TabIndex = 0;
|
|
this.backgroundImageLabel.Text = "Choose a feed folder to search for images:";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 1;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.Controls.Add(this.imageGroupBox, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.rssGroupBox, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 3;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(321, 278);
|
|
this.tableLayoutPanel1.TabIndex = 6;
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
this.tableLayoutPanel2.ColumnCount = 4;
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F));
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F));
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F));
|
|
this.tableLayoutPanel2.Controls.Add(this.applyButton, 3, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.cancelButton, 2, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.okButton, 1, 0);
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 245);
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
this.tableLayoutPanel2.RowCount = 1;
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(315, 30);
|
|
this.tableLayoutPanel2.TabIndex = 6;
|
|
//
|
|
// OptionsForm
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.cancelButton;
|
|
this.ClientSize = new System.Drawing.Size(339, 296);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "OptionsForm";
|
|
this.Padding = new System.Windows.Forms.Padding(9);
|
|
this.ShowIcon = false;
|
|
this.Text = "Screen Saver Settings";
|
|
this.rssGroupBox.ResumeLayout(false);
|
|
this.rssGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.rssFadePauseLength)).EndInit();
|
|
this.imageGroupBox.ResumeLayout(false);
|
|
this.imageGroupBox.PerformLayout();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button applyButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.GroupBox rssGroupBox;
|
|
private System.Windows.Forms.GroupBox imageGroupBox;
|
|
private System.Windows.Forms.TextBox rootFolderTextBox;
|
|
private System.Windows.Forms.Label backgroundImageLabel;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TrackBar rssFadePauseLength;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label3;
|
|
}
|
|
} |