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