ssg: advanced settings: fix designer and tab indexes
This commit is contained in:
parent
753116f329
commit
1fc8ac670f
|
@ -45,7 +45,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
// private System.ComponentModel.Container components = null;
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public string PostsPath
|
||||
{
|
||||
|
@ -95,6 +95,11 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
set => textBoxImagesPath.Text = value;
|
||||
}
|
||||
|
||||
public AuthoringPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public AuthoringPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
{
|
||||
|
@ -141,6 +146,19 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
LayoutHelper.NaturalizeHeight(checkBoxImagesEnabled, labelImagesPath, textBoxImagesPath);
|
||||
}
|
||||
|
||||
/// <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 Component Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
|
@ -216,7 +234,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.textBoxDraftsPath.Location = new System.Drawing.Point(16, 108);
|
||||
this.textBoxDraftsPath.Name = "textBoxDraftsPath";
|
||||
this.textBoxDraftsPath.Size = new System.Drawing.Size(316, 23);
|
||||
this.textBoxDraftsPath.TabIndex = 1;
|
||||
this.textBoxDraftsPath.TabIndex = 4;
|
||||
//
|
||||
// labelDraftsPath
|
||||
//
|
||||
|
@ -224,7 +242,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelDraftsPath.Location = new System.Drawing.Point(16, 89);
|
||||
this.labelDraftsPath.Name = "labelDraftsPath";
|
||||
this.labelDraftsPath.Size = new System.Drawing.Size(144, 16);
|
||||
this.labelDraftsPath.TabIndex = 0;
|
||||
this.labelDraftsPath.TabIndex = 3;
|
||||
this.labelDraftsPath.Text = "Drafts Path:";
|
||||
//
|
||||
// groupBoxPages
|
||||
|
@ -260,7 +278,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.checkBoxPagesEnabled.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
|
||||
this.checkBoxPagesEnabled.Name = "checkBoxPagesEnabled";
|
||||
this.checkBoxPagesEnabled.Size = new System.Drawing.Size(95, 19);
|
||||
this.checkBoxPagesEnabled.TabIndex = 2;
|
||||
this.checkBoxPagesEnabled.TabIndex = 0;
|
||||
this.checkBoxPagesEnabled.Text = "Enable Pages";
|
||||
this.checkBoxPagesEnabled.UseVisualStyleBackColor = true;
|
||||
this.checkBoxPagesEnabled.CheckedChanged += new System.EventHandler(this.CheckBoxPagesEnabled_CheckedChanged);
|
||||
|
@ -270,7 +288,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.textBoxPagesPath.Location = new System.Drawing.Point(16, 63);
|
||||
this.textBoxPagesPath.Name = "textBoxPagesPath";
|
||||
this.textBoxPagesPath.Size = new System.Drawing.Size(316, 23);
|
||||
this.textBoxPagesPath.TabIndex = 1;
|
||||
this.textBoxPagesPath.TabIndex = 2;
|
||||
//
|
||||
// labelPagesPath
|
||||
//
|
||||
|
@ -278,7 +296,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelPagesPath.Location = new System.Drawing.Point(16, 44);
|
||||
this.labelPagesPath.Name = "labelPagesPath";
|
||||
this.labelPagesPath.Size = new System.Drawing.Size(144, 16);
|
||||
this.labelPagesPath.TabIndex = 0;
|
||||
this.labelPagesPath.TabIndex = 1;
|
||||
this.labelPagesPath.Text = "Pages Path:";
|
||||
//
|
||||
// groupBoxImages
|
||||
|
@ -290,7 +308,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.groupBoxImages.Location = new System.Drawing.Point(8, 308);
|
||||
this.groupBoxImages.Name = "groupBoxImages";
|
||||
this.groupBoxImages.Size = new System.Drawing.Size(345, 101);
|
||||
this.groupBoxImages.TabIndex = 4;
|
||||
this.groupBoxImages.TabIndex = 3;
|
||||
this.groupBoxImages.TabStop = false;
|
||||
this.groupBoxImages.Text = "Images";
|
||||
//
|
||||
|
@ -300,7 +318,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.checkBoxImagesEnabled.Location = new System.Drawing.Point(16, 22);
|
||||
this.checkBoxImagesEnabled.Name = "checkBoxImagesEnabled";
|
||||
this.checkBoxImagesEnabled.Size = new System.Drawing.Size(102, 19);
|
||||
this.checkBoxImagesEnabled.TabIndex = 5;
|
||||
this.checkBoxImagesEnabled.TabIndex = 0;
|
||||
this.checkBoxImagesEnabled.Text = "Enable Images";
|
||||
this.checkBoxImagesEnabled.UseVisualStyleBackColor = true;
|
||||
this.checkBoxImagesEnabled.CheckedChanged += new System.EventHandler(this.CheckBoxImagesEnabled_CheckedChanged);
|
||||
|
@ -310,7 +328,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.textBoxImagesPath.Location = new System.Drawing.Point(16, 63);
|
||||
this.textBoxImagesPath.Name = "textBoxImagesPath";
|
||||
this.textBoxImagesPath.Size = new System.Drawing.Size(316, 23);
|
||||
this.textBoxImagesPath.TabIndex = 4;
|
||||
this.textBoxImagesPath.TabIndex = 2;
|
||||
//
|
||||
// labelImagesPath
|
||||
//
|
||||
|
@ -318,7 +336,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelImagesPath.Location = new System.Drawing.Point(16, 44);
|
||||
this.labelImagesPath.Name = "labelImagesPath";
|
||||
this.labelImagesPath.Size = new System.Drawing.Size(144, 16);
|
||||
this.labelImagesPath.TabIndex = 3;
|
||||
this.labelImagesPath.TabIndex = 1;
|
||||
this.labelImagesPath.Text = "Images Path:";
|
||||
//
|
||||
// AuthoringPanel
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
// private System.ComponentModel.Container components = null;
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public bool ShowCmdWindows
|
||||
{
|
||||
|
@ -100,8 +100,14 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
set => textBoxPublishCommand.Text = value;
|
||||
}
|
||||
|
||||
public BuildPublishPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
numericUpDownCmdTimeout.Maximum = int.MaxValue;
|
||||
}
|
||||
|
||||
public BuildPublishPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
: base(controller)
|
||||
{
|
||||
InitializeComponent();
|
||||
numericUpDownCmdTimeout.Maximum = int.MaxValue;
|
||||
|
@ -139,6 +145,19 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
RecomputeEnabledStates();
|
||||
}
|
||||
|
||||
/// <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 Component Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
|
@ -186,8 +205,8 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.checkBoxEnableCmdTimeout.Location = new System.Drawing.Point(16, 50);
|
||||
this.checkBoxEnableCmdTimeout.Margin = new System.Windows.Forms.Padding(13, 5, 3, 3);
|
||||
this.checkBoxEnableCmdTimeout.Name = "checkBoxEnableCmdTimeout";
|
||||
this.checkBoxEnableCmdTimeout.Size = new System.Drawing.Size(285, 34);
|
||||
this.checkBoxEnableCmdTimeout.TabIndex = 3;
|
||||
this.checkBoxEnableCmdTimeout.Size = new System.Drawing.Size(168, 19);
|
||||
this.checkBoxEnableCmdTimeout.TabIndex = 1;
|
||||
this.checkBoxEnableCmdTimeout.Text = "Enable Command Timeout";
|
||||
this.checkBoxEnableCmdTimeout.UseVisualStyleBackColor = true;
|
||||
this.checkBoxEnableCmdTimeout.CheckedChanged += new System.EventHandler(this.CheckBoxEnableCmdTimeout_CheckedChanged);
|
||||
|
@ -197,7 +216,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelCmdTimeout.AutoSize = true;
|
||||
this.labelCmdTimeout.Location = new System.Drawing.Point(13, 77);
|
||||
this.labelCmdTimeout.Name = "labelCmdTimeout";
|
||||
this.labelCmdTimeout.Size = new System.Drawing.Size(241, 30);
|
||||
this.labelCmdTimeout.Size = new System.Drawing.Size(141, 15);
|
||||
this.labelCmdTimeout.TabIndex = 2;
|
||||
this.labelCmdTimeout.Text = "Command Timeout (ms):";
|
||||
//
|
||||
|
@ -210,8 +229,8 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
0,
|
||||
0});
|
||||
this.numericUpDownCmdTimeout.Name = "numericUpDownCmdTimeout";
|
||||
this.numericUpDownCmdTimeout.Size = new System.Drawing.Size(169, 35);
|
||||
this.numericUpDownCmdTimeout.TabIndex = 1;
|
||||
this.numericUpDownCmdTimeout.Size = new System.Drawing.Size(169, 23);
|
||||
this.numericUpDownCmdTimeout.TabIndex = 3;
|
||||
//
|
||||
// checkBoxShowCommandWindows
|
||||
//
|
||||
|
@ -219,7 +238,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.checkBoxShowCommandWindows.Location = new System.Drawing.Point(16, 23);
|
||||
this.checkBoxShowCommandWindows.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3);
|
||||
this.checkBoxShowCommandWindows.Name = "checkBoxShowCommandWindows";
|
||||
this.checkBoxShowCommandWindows.Size = new System.Drawing.Size(282, 34);
|
||||
this.checkBoxShowCommandWindows.Size = new System.Drawing.Size(167, 19);
|
||||
this.checkBoxShowCommandWindows.TabIndex = 0;
|
||||
this.checkBoxShowCommandWindows.Text = "Show Command Windows";
|
||||
this.checkBoxShowCommandWindows.UseVisualStyleBackColor = true;
|
||||
|
@ -242,16 +261,16 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
//
|
||||
this.textBoxOutputPath.Location = new System.Drawing.Point(16, 106);
|
||||
this.textBoxOutputPath.Name = "textBoxOutputPath";
|
||||
this.textBoxOutputPath.Size = new System.Drawing.Size(313, 35);
|
||||
this.textBoxOutputPath.TabIndex = 4;
|
||||
this.textBoxOutputPath.Size = new System.Drawing.Size(313, 23);
|
||||
this.textBoxOutputPath.TabIndex = 8;
|
||||
//
|
||||
// labelOutputPath
|
||||
//
|
||||
this.labelOutputPath.AutoSize = true;
|
||||
this.labelOutputPath.Location = new System.Drawing.Point(13, 88);
|
||||
this.labelOutputPath.Name = "labelOutputPath";
|
||||
this.labelOutputPath.Size = new System.Drawing.Size(256, 30);
|
||||
this.labelOutputPath.TabIndex = 3;
|
||||
this.labelOutputPath.Size = new System.Drawing.Size(146, 15);
|
||||
this.labelOutputPath.TabIndex = 7;
|
||||
this.labelOutputPath.Text = "Site Output Path: (relative)";
|
||||
//
|
||||
// textBoxBuildCommand
|
||||
|
@ -259,8 +278,8 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.textBoxBuildCommand.Location = new System.Drawing.Point(16, 62);
|
||||
this.textBoxBuildCommand.Margin = new System.Windows.Forms.Padding(13, 3, 13, 3);
|
||||
this.textBoxBuildCommand.Name = "textBoxBuildCommand";
|
||||
this.textBoxBuildCommand.Size = new System.Drawing.Size(313, 35);
|
||||
this.textBoxBuildCommand.TabIndex = 2;
|
||||
this.textBoxBuildCommand.Size = new System.Drawing.Size(313, 23);
|
||||
this.textBoxBuildCommand.TabIndex = 6;
|
||||
//
|
||||
// labelBuildCommand
|
||||
//
|
||||
|
@ -268,8 +287,8 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelBuildCommand.Location = new System.Drawing.Point(13, 44);
|
||||
this.labelBuildCommand.Margin = new System.Windows.Forms.Padding(13, 0, 3, 0);
|
||||
this.labelBuildCommand.Name = "labelBuildCommand";
|
||||
this.labelBuildCommand.Size = new System.Drawing.Size(166, 30);
|
||||
this.labelBuildCommand.TabIndex = 1;
|
||||
this.labelBuildCommand.Size = new System.Drawing.Size(97, 15);
|
||||
this.labelBuildCommand.TabIndex = 5;
|
||||
this.labelBuildCommand.Text = "Build Command:";
|
||||
//
|
||||
// checkBoxBuildingEnabled
|
||||
|
@ -278,8 +297,8 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.checkBoxBuildingEnabled.Location = new System.Drawing.Point(16, 22);
|
||||
this.checkBoxBuildingEnabled.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3);
|
||||
this.checkBoxBuildingEnabled.Name = "checkBoxBuildingEnabled";
|
||||
this.checkBoxBuildingEnabled.Size = new System.Drawing.Size(182, 34);
|
||||
this.checkBoxBuildingEnabled.TabIndex = 0;
|
||||
this.checkBoxBuildingEnabled.Size = new System.Drawing.Size(108, 19);
|
||||
this.checkBoxBuildingEnabled.TabIndex = 4;
|
||||
this.checkBoxBuildingEnabled.Text = "Enable Building";
|
||||
this.checkBoxBuildingEnabled.UseVisualStyleBackColor = true;
|
||||
this.checkBoxBuildingEnabled.CheckedChanged += new System.EventHandler(this.CheckBoxBuildingEnabled_CheckedChanged);
|
||||
|
@ -300,15 +319,15 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.textBoxPublishCommand.Location = new System.Drawing.Point(16, 37);
|
||||
this.textBoxPublishCommand.Margin = new System.Windows.Forms.Padding(13, 3, 13, 3);
|
||||
this.textBoxPublishCommand.Name = "textBoxPublishCommand";
|
||||
this.textBoxPublishCommand.Size = new System.Drawing.Size(313, 35);
|
||||
this.textBoxPublishCommand.TabIndex = 5;
|
||||
this.textBoxPublishCommand.Size = new System.Drawing.Size(313, 23);
|
||||
this.textBoxPublishCommand.TabIndex = 1;
|
||||
//
|
||||
// labelPublishCommand
|
||||
//
|
||||
this.labelPublishCommand.AutoSize = true;
|
||||
this.labelPublishCommand.Location = new System.Drawing.Point(13, 19);
|
||||
this.labelPublishCommand.Name = "labelPublishCommand";
|
||||
this.labelPublishCommand.Size = new System.Drawing.Size(187, 30);
|
||||
this.labelPublishCommand.Size = new System.Drawing.Size(109, 15);
|
||||
this.labelPublishCommand.TabIndex = 0;
|
||||
this.labelPublishCommand.Text = "Publish Command:";
|
||||
//
|
||||
|
|
|
@ -34,12 +34,18 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
// private System.ComponentModel.Container components = null;
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
private DataGridViewTextBoxColumn colProperty;
|
||||
private DataGridViewTextBoxColumn colKey;
|
||||
private Label labelSubtitle;
|
||||
private Dictionary<KeyIdentifier, DataGridViewRow> _keyRowMap = new Dictionary<KeyIdentifier, DataGridViewRow>();
|
||||
|
||||
public FrontMatterPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public FrontMatterPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
{
|
||||
|
@ -67,6 +73,19 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
dataGridView?.AutoResizeRows();
|
||||
}
|
||||
|
||||
/// <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);
|
||||
}
|
||||
|
||||
private void AddTableRow(KeyIdentifier keyIdentifier, string prop, string key)
|
||||
{
|
||||
_keyRowMap[keyIdentifier] = new DataGridViewRow();
|
||||
|
@ -120,7 +139,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.colProperty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colKey = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
|
@ -146,13 +165,13 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.dataGridView.Name = "dataGridView";
|
||||
this.dataGridView.RowHeadersVisible = false;
|
||||
this.dataGridView.Size = new System.Drawing.Size(350, 341);
|
||||
this.dataGridView.TabIndex = 1;
|
||||
this.dataGridView.TabIndex = 2;
|
||||
//
|
||||
// colProperty
|
||||
//
|
||||
this.colProperty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.colProperty.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.colProperty.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.colProperty.HeaderText = "Property";
|
||||
this.colProperty.Name = "colProperty";
|
||||
this.colProperty.ReadOnly = true;
|
||||
|
@ -170,7 +189,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelSubtitle.Location = new System.Drawing.Point(9, 31);
|
||||
this.labelSubtitle.Name = "labelSubtitle";
|
||||
this.labelSubtitle.Size = new System.Drawing.Size(353, 36);
|
||||
this.labelSubtitle.TabIndex = 2;
|
||||
this.labelSubtitle.TabIndex = 1;
|
||||
this.labelSubtitle.Text = "Below you can adjust the post front matter keys used to match your static site ge" +
|
||||
"nerator.";
|
||||
//
|
||||
|
|
|
@ -123,10 +123,4 @@
|
|||
<metadata name="colKey.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colProperty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colKey.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -43,7 +43,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
// private System.ComponentModel.Container components = null;
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public string SiteTitle
|
||||
{
|
||||
|
@ -63,6 +63,11 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
set => textBoxLocalSitePath.Text = value;
|
||||
}
|
||||
|
||||
public GeneralPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public GeneralPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
{
|
||||
|
@ -105,6 +110,19 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
buttonRunAutoDetect));
|
||||
}
|
||||
|
||||
/// <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 Component Designer generated code
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
|
@ -114,6 +132,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GeneralPanel));
|
||||
this.groupBoxSetup = new System.Windows.Forms.GroupBox();
|
||||
this.buttonBrowseLocalSitePath = new System.Windows.Forms.Button();
|
||||
this.textBoxLocalSitePath = new System.Windows.Forms.TextBox();
|
||||
this.labelLocalSitePath = new System.Windows.Forms.Label();
|
||||
this.textBoxSiteUrl = new System.Windows.Forms.TextBox();
|
||||
|
@ -125,7 +144,6 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelAutoDetect = new System.Windows.Forms.Label();
|
||||
this.buttonRunAutoDetect = new System.Windows.Forms.Button();
|
||||
this.labelRunWizardAgain = new System.Windows.Forms.Label();
|
||||
this.buttonBrowseLocalSitePath = new System.Windows.Forms.Button();
|
||||
this.groupBoxSetup.SuspendLayout();
|
||||
this.groupBoxOptions.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
|
@ -147,6 +165,16 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.groupBoxSetup.TabStop = false;
|
||||
this.groupBoxSetup.Text = "Setup";
|
||||
//
|
||||
// buttonBrowseLocalSitePath
|
||||
//
|
||||
this.buttonBrowseLocalSitePath.Location = new System.Drawing.Point(308, 125);
|
||||
this.buttonBrowseLocalSitePath.Name = "buttonBrowseLocalSitePath";
|
||||
this.buttonBrowseLocalSitePath.Size = new System.Drawing.Size(24, 24);
|
||||
this.buttonBrowseLocalSitePath.TabIndex = 6;
|
||||
this.buttonBrowseLocalSitePath.Text = "...";
|
||||
this.buttonBrowseLocalSitePath.UseVisualStyleBackColor = true;
|
||||
this.buttonBrowseLocalSitePath.Click += new System.EventHandler(this.ButtonBrowseLocalSitePath_Click);
|
||||
//
|
||||
// textBoxLocalSitePath
|
||||
//
|
||||
this.textBoxLocalSitePath.Location = new System.Drawing.Point(16, 126);
|
||||
|
@ -202,7 +230,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.buttonRunAccountWizard.Location = new System.Drawing.Point(188, 70);
|
||||
this.buttonRunAccountWizard.Name = "buttonRunAccountWizard";
|
||||
this.buttonRunAccountWizard.Size = new System.Drawing.Size(144, 23);
|
||||
this.buttonRunAccountWizard.TabIndex = 10;
|
||||
this.buttonRunAccountWizard.TabIndex = 1;
|
||||
this.buttonRunAccountWizard.Text = "Run Account &Wizard";
|
||||
this.buttonRunAccountWizard.Click += new System.EventHandler(this.ButtonRunAccountWizard_Click);
|
||||
//
|
||||
|
@ -225,7 +253,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelAutoDetect.Location = new System.Drawing.Point(13, 96);
|
||||
this.labelAutoDetect.Name = "labelAutoDetect";
|
||||
this.labelAutoDetect.Size = new System.Drawing.Size(316, 75);
|
||||
this.labelAutoDetect.TabIndex = 13;
|
||||
this.labelAutoDetect.TabIndex = 2;
|
||||
this.labelAutoDetect.Text = resources.GetString("labelAutoDetect.Text");
|
||||
//
|
||||
// buttonRunAutoDetect
|
||||
|
@ -235,7 +263,7 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.buttonRunAutoDetect.Location = new System.Drawing.Point(188, 174);
|
||||
this.buttonRunAutoDetect.Name = "buttonRunAutoDetect";
|
||||
this.buttonRunAutoDetect.Size = new System.Drawing.Size(144, 23);
|
||||
this.buttonRunAutoDetect.TabIndex = 12;
|
||||
this.buttonRunAutoDetect.TabIndex = 3;
|
||||
this.buttonRunAutoDetect.Text = "Run Auto-&Detect";
|
||||
this.buttonRunAutoDetect.Click += new System.EventHandler(this.ButtonRunAutoDetect_Click);
|
||||
//
|
||||
|
@ -244,19 +272,9 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
this.labelRunWizardAgain.Location = new System.Drawing.Point(16, 19);
|
||||
this.labelRunWizardAgain.Name = "labelRunWizardAgain";
|
||||
this.labelRunWizardAgain.Size = new System.Drawing.Size(316, 48);
|
||||
this.labelRunWizardAgain.TabIndex = 11;
|
||||
this.labelRunWizardAgain.TabIndex = 0;
|
||||
this.labelRunWizardAgain.Text = "You can chose to run the Account Wizard again if you wish to be guided through th" +
|
||||
"e core static site configuration options interactively.";
|
||||
//
|
||||
// buttonBrowseLocalSitePath
|
||||
//
|
||||
this.buttonBrowseLocalSitePath.Location = new System.Drawing.Point(308, 125);
|
||||
this.buttonBrowseLocalSitePath.Name = "buttonBrowseLocalSitePath";
|
||||
this.buttonBrowseLocalSitePath.Size = new System.Drawing.Size(24, 24);
|
||||
this.buttonBrowseLocalSitePath.TabIndex = 6;
|
||||
this.buttonBrowseLocalSitePath.Text = "...";
|
||||
this.buttonBrowseLocalSitePath.UseVisualStyleBackColor = true;
|
||||
this.buttonBrowseLocalSitePath.Click += new System.EventHandler(this.ButtonBrowseLocalSitePath_Click);
|
||||
//
|
||||
// GeneralPanel
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue