Added SSA/ASS styles window for batch-convert - thx Thunderbolt8 :)

Fix #1431
This commit is contained in:
niksedk 2015-12-13 12:04:51 +01:00
parent f5e296d8b8
commit 52a5d0d71c
6 changed files with 2119 additions and 12 deletions

View File

@ -1164,7 +1164,7 @@ namespace Nikse.SubtitleEdit.Forms
private void ShowAssSsaStyles()
{
SubStationAlphaStyles form = null;
SubStationAlphaStylesBatchConvert form = null;
try
{
var assa = new AdvancedSubStationAlpha();
@ -1175,8 +1175,7 @@ namespace Nikse.SubtitleEdit.Forms
{
sub.Header = _assStyle;
}
form = new SubStationAlphaStyles(sub, assa);
form.MakeOnlyOneStyle();
form = new SubStationAlphaStylesBatchConvert(sub, assa);
if (form.ShowDialog(this) == DialogResult.OK)
{
_assStyle = form.Header;
@ -1191,7 +1190,7 @@ namespace Nikse.SubtitleEdit.Forms
var ssa = new SubStationAlpha();
if (comboBoxSubtitleFormats.Text == ssa.Name)
{
form = new SubStationAlphaStyles(sub, ssa);
form = new SubStationAlphaStylesBatchConvert(sub, ssa);
if (form.ShowDialog(this) == DialogResult.OK)
{
_ssaStyle = form.Header;

View File

@ -1232,13 +1232,6 @@ namespace Nikse.SubtitleEdit.Forms.Styles
}
}
internal void MakeOnlyOneStyle()
{
groupBoxPreview.Top = groupBoxStyles.Top;
groupBoxPreview.Height = groupBoxProperties.Height;
groupBoxStyles.SendToBack();
}
private void buttonExport_Click(object sender, EventArgs e)
{
if (listViewStyles.SelectedItems.Count != 1)

View File

@ -0,0 +1,938 @@
namespace Nikse.SubtitleEdit.Forms.Styles
{
sealed partial class SubStationAlphaStylesBatchConvert
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.groupBoxProperties = new System.Windows.Forms.GroupBox();
this.groupBoxResolution = new System.Windows.Forms.GroupBox();
this.labelVideoResolution = new System.Windows.Forms.Label();
this.numericUpDownVideoHeight = new System.Windows.Forms.NumericUpDown();
this.buttonGetResolutionFromVideo = new System.Windows.Forms.Button();
this.labelX = new System.Windows.Forms.Label();
this.numericUpDownVideoWidth = new System.Windows.Forms.NumericUpDown();
this.groupBoxOptions = new System.Windows.Forms.GroupBox();
this.checkBoxScaleBorderAndShadow = new System.Windows.Forms.CheckBox();
this.comboBoxCollision = new System.Windows.Forms.ComboBox();
this.labelCollision = new System.Windows.Forms.Label();
this.comboBoxWrapStyle = new System.Windows.Forms.ComboBox();
this.labelWrapStyle = new System.Windows.Forms.Label();
this.groupBoxBorder = new System.Windows.Forms.GroupBox();
this.radioButtonOpaqueBox = new System.Windows.Forms.RadioButton();
this.radioButtonOutline = new System.Windows.Forms.RadioButton();
this.numericUpDownShadowWidth = new System.Windows.Forms.NumericUpDown();
this.numericUpDownOutline = new System.Windows.Forms.NumericUpDown();
this.labelShadow = new System.Windows.Forms.Label();
this.groupBoxMargins = new System.Windows.Forms.GroupBox();
this.numericUpDownMarginVertical = new System.Windows.Forms.NumericUpDown();
this.numericUpDownMarginRight = new System.Windows.Forms.NumericUpDown();
this.numericUpDownMarginLeft = new System.Windows.Forms.NumericUpDown();
this.labelMarginVertical = new System.Windows.Forms.Label();
this.labelMarginRight = new System.Windows.Forms.Label();
this.labelMarginLeft = new System.Windows.Forms.Label();
this.groupBoxColors = new System.Windows.Forms.GroupBox();
this.panelBackColor = new System.Windows.Forms.Panel();
this.buttonBackColor = new System.Windows.Forms.Button();
this.panelOutlineColor = new System.Windows.Forms.Panel();
this.buttonOutlineColor = new System.Windows.Forms.Button();
this.panelSecondaryColor = new System.Windows.Forms.Panel();
this.buttonSecondaryColor = new System.Windows.Forms.Button();
this.panelPrimaryColor = new System.Windows.Forms.Panel();
this.buttonPrimaryColor = new System.Windows.Forms.Button();
this.groupBoxAlignment = new System.Windows.Forms.GroupBox();
this.radioButtonBottomRight = new System.Windows.Forms.RadioButton();
this.radioButtonBottomCenter = new System.Windows.Forms.RadioButton();
this.radioButtonMiddleRight = new System.Windows.Forms.RadioButton();
this.radioButtonBottomLeft = new System.Windows.Forms.RadioButton();
this.radioButtonMiddleLeft = new System.Windows.Forms.RadioButton();
this.radioButtonTopRight = new System.Windows.Forms.RadioButton();
this.radioButtonTopCenter = new System.Windows.Forms.RadioButton();
this.radioButtonMiddleCenter = new System.Windows.Forms.RadioButton();
this.radioButtonTopLeft = new System.Windows.Forms.RadioButton();
this.groupBoxFont = new System.Windows.Forms.GroupBox();
this.checkBoxFontUnderline = new System.Windows.Forms.CheckBox();
this.numericUpDownFontSize = new System.Windows.Forms.NumericUpDown();
this.checkBoxFontItalic = new System.Windows.Forms.CheckBox();
this.checkBoxFontBold = new System.Windows.Forms.CheckBox();
this.comboBoxFontName = new System.Windows.Forms.ComboBox();
this.labelFontSize = new System.Windows.Forms.Label();
this.labelFontName = new System.Windows.Forms.Label();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonOK = new System.Windows.Forms.Button();
this.groupBoxPreview = new System.Windows.Forms.GroupBox();
this.pictureBoxPreview = new System.Windows.Forms.PictureBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.textBoxRawHeader = new System.Windows.Forms.TextBox();
this.buttonReset = new System.Windows.Forms.Button();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.colorDialogSSAStyle = new System.Windows.Forms.ColorDialog();
this.groupBoxProperties.SuspendLayout();
this.groupBoxResolution.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVideoHeight)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVideoWidth)).BeginInit();
this.groupBoxOptions.SuspendLayout();
this.groupBoxBorder.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownShadowWidth)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownOutline)).BeginInit();
this.groupBoxMargins.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginVertical)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginRight)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginLeft)).BeginInit();
this.groupBoxColors.SuspendLayout();
this.groupBoxAlignment.SuspendLayout();
this.groupBoxFont.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownFontSize)).BeginInit();
this.groupBoxPreview.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPreview)).BeginInit();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// groupBoxProperties
//
this.groupBoxProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxProperties.Controls.Add(this.groupBoxResolution);
this.groupBoxProperties.Controls.Add(this.groupBoxOptions);
this.groupBoxProperties.Controls.Add(this.groupBoxBorder);
this.groupBoxProperties.Controls.Add(this.groupBoxMargins);
this.groupBoxProperties.Controls.Add(this.groupBoxColors);
this.groupBoxProperties.Controls.Add(this.groupBoxAlignment);
this.groupBoxProperties.Controls.Add(this.groupBoxFont);
this.groupBoxProperties.Location = new System.Drawing.Point(594, 12);
this.groupBoxProperties.Name = "groupBoxProperties";
this.groupBoxProperties.Size = new System.Drawing.Size(488, 624);
this.groupBoxProperties.TabIndex = 2;
this.groupBoxProperties.TabStop = false;
this.groupBoxProperties.Text = "Properties";
//
// groupBoxResolution
//
this.groupBoxResolution.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxResolution.Controls.Add(this.labelVideoResolution);
this.groupBoxResolution.Controls.Add(this.numericUpDownVideoHeight);
this.groupBoxResolution.Controls.Add(this.buttonGetResolutionFromVideo);
this.groupBoxResolution.Controls.Add(this.labelX);
this.groupBoxResolution.Controls.Add(this.numericUpDownVideoWidth);
this.groupBoxResolution.Location = new System.Drawing.Point(6, 455);
this.groupBoxResolution.Name = "groupBoxResolution";
this.groupBoxResolution.Size = new System.Drawing.Size(471, 57);
this.groupBoxResolution.TabIndex = 5;
this.groupBoxResolution.TabStop = false;
this.groupBoxResolution.Text = "Resolution";
//
// labelVideoResolution
//
this.labelVideoResolution.AutoSize = true;
this.labelVideoResolution.Location = new System.Drawing.Point(7, 21);
this.labelVideoResolution.Name = "labelVideoResolution";
this.labelVideoResolution.Size = new System.Drawing.Size(82, 13);
this.labelVideoResolution.TabIndex = 16;
this.labelVideoResolution.Text = "Video resolution";
//
// numericUpDownVideoHeight
//
this.numericUpDownVideoHeight.Location = new System.Drawing.Point(264, 19);
this.numericUpDownVideoHeight.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDownVideoHeight.Name = "numericUpDownVideoHeight";
this.numericUpDownVideoHeight.Size = new System.Drawing.Size(47, 20);
this.numericUpDownVideoHeight.TabIndex = 1;
this.numericUpDownVideoHeight.ValueChanged += new System.EventHandler(this.numericUpDownVideoHeight_ValueChanged);
//
// buttonGetResolutionFromVideo
//
this.buttonGetResolutionFromVideo.Location = new System.Drawing.Point(317, 17);
this.buttonGetResolutionFromVideo.Name = "buttonGetResolutionFromVideo";
this.buttonGetResolutionFromVideo.Size = new System.Drawing.Size(27, 23);
this.buttonGetResolutionFromVideo.TabIndex = 2;
this.buttonGetResolutionFromVideo.Text = "...";
this.buttonGetResolutionFromVideo.UseVisualStyleBackColor = true;
this.buttonGetResolutionFromVideo.Click += new System.EventHandler(this.buttonGetResolutionFromVideo_Click);
//
// labelX
//
this.labelX.AutoSize = true;
this.labelX.Location = new System.Drawing.Point(244, 21);
this.labelX.Name = "labelX";
this.labelX.Size = new System.Drawing.Size(14, 13);
this.labelX.TabIndex = 2;
this.labelX.Text = "X";
//
// numericUpDownVideoWidth
//
this.numericUpDownVideoWidth.Location = new System.Drawing.Point(191, 19);
this.numericUpDownVideoWidth.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDownVideoWidth.Name = "numericUpDownVideoWidth";
this.numericUpDownVideoWidth.Size = new System.Drawing.Size(47, 20);
this.numericUpDownVideoWidth.TabIndex = 0;
this.numericUpDownVideoWidth.ValueChanged += new System.EventHandler(this.numericUpDownVideoWidth_ValueChanged);
//
// groupBoxOptions
//
this.groupBoxOptions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxOptions.Controls.Add(this.checkBoxScaleBorderAndShadow);
this.groupBoxOptions.Controls.Add(this.comboBoxCollision);
this.groupBoxOptions.Controls.Add(this.labelCollision);
this.groupBoxOptions.Controls.Add(this.comboBoxWrapStyle);
this.groupBoxOptions.Controls.Add(this.labelWrapStyle);
this.groupBoxOptions.Location = new System.Drawing.Point(6, 518);
this.groupBoxOptions.Name = "groupBoxOptions";
this.groupBoxOptions.Size = new System.Drawing.Size(471, 100);
this.groupBoxOptions.TabIndex = 6;
this.groupBoxOptions.TabStop = false;
this.groupBoxOptions.Text = "Options";
//
// checkBoxScaleBorderAndShadow
//
this.checkBoxScaleBorderAndShadow.AutoSize = true;
this.checkBoxScaleBorderAndShadow.Location = new System.Drawing.Point(191, 70);
this.checkBoxScaleBorderAndShadow.Name = "checkBoxScaleBorderAndShadow";
this.checkBoxScaleBorderAndShadow.Size = new System.Drawing.Size(147, 17);
this.checkBoxScaleBorderAndShadow.TabIndex = 2;
this.checkBoxScaleBorderAndShadow.Text = "Scale border and shadow";
this.checkBoxScaleBorderAndShadow.UseVisualStyleBackColor = true;
this.checkBoxScaleBorderAndShadow.CheckedChanged += new System.EventHandler(this.checkBoxScaleBorderAndShadow_CheckedChanged);
//
// comboBoxCollision
//
this.comboBoxCollision.FormattingEnabled = true;
this.comboBoxCollision.Items.AddRange(new object[] {
"Normal",
"Reverse"});
this.comboBoxCollision.Location = new System.Drawing.Point(191, 16);
this.comboBoxCollision.Name = "comboBoxCollision";
this.comboBoxCollision.Size = new System.Drawing.Size(263, 21);
this.comboBoxCollision.TabIndex = 0;
this.comboBoxCollision.SelectedIndexChanged += new System.EventHandler(this.comboBoxCollision_SelectedIndexChanged);
//
// labelCollision
//
this.labelCollision.AutoSize = true;
this.labelCollision.Location = new System.Drawing.Point(6, 19);
this.labelCollision.Name = "labelCollision";
this.labelCollision.Size = new System.Drawing.Size(45, 13);
this.labelCollision.TabIndex = 3;
this.labelCollision.Text = "Collision";
//
// comboBoxWrapStyle
//
this.comboBoxWrapStyle.FormattingEnabled = true;
this.comboBoxWrapStyle.Items.AddRange(new object[] {
"0: Smart wrapping, top line is wider",
"1: End-of-line word wrapping, only \\N breaks",
"2: No word wrapping, both \\n and \\N break",
"3: Smart wrapping, bottom line is wider"});
this.comboBoxWrapStyle.Location = new System.Drawing.Point(191, 43);
this.comboBoxWrapStyle.Name = "comboBoxWrapStyle";
this.comboBoxWrapStyle.Size = new System.Drawing.Size(263, 21);
this.comboBoxWrapStyle.TabIndex = 1;
this.comboBoxWrapStyle.SelectedIndexChanged += new System.EventHandler(this.comboBoxWrapStyle_SelectedIndexChanged);
//
// labelWrapStyle
//
this.labelWrapStyle.AutoSize = true;
this.labelWrapStyle.Location = new System.Drawing.Point(6, 46);
this.labelWrapStyle.Name = "labelWrapStyle";
this.labelWrapStyle.Size = new System.Drawing.Size(57, 13);
this.labelWrapStyle.TabIndex = 1;
this.labelWrapStyle.Text = "Wrap style";
//
// groupBoxBorder
//
this.groupBoxBorder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxBorder.Controls.Add(this.radioButtonOpaqueBox);
this.groupBoxBorder.Controls.Add(this.radioButtonOutline);
this.groupBoxBorder.Controls.Add(this.numericUpDownShadowWidth);
this.groupBoxBorder.Controls.Add(this.numericUpDownOutline);
this.groupBoxBorder.Controls.Add(this.labelShadow);
this.groupBoxBorder.Location = new System.Drawing.Point(6, 381);
this.groupBoxBorder.Name = "groupBoxBorder";
this.groupBoxBorder.Size = new System.Drawing.Size(476, 68);
this.groupBoxBorder.TabIndex = 4;
this.groupBoxBorder.TabStop = false;
this.groupBoxBorder.Text = "Border";
//
// radioButtonOpaqueBox
//
this.radioButtonOpaqueBox.AutoSize = true;
this.radioButtonOpaqueBox.Location = new System.Drawing.Point(14, 42);
this.radioButtonOpaqueBox.Name = "radioButtonOpaqueBox";
this.radioButtonOpaqueBox.Size = new System.Drawing.Size(83, 17);
this.radioButtonOpaqueBox.TabIndex = 4;
this.radioButtonOpaqueBox.Text = "Opaque bo&x";
this.radioButtonOpaqueBox.UseVisualStyleBackColor = false;
this.radioButtonOpaqueBox.CheckedChanged += new System.EventHandler(this.radioButtonOpaqueBox_CheckedChanged);
//
// radioButtonOutline
//
this.radioButtonOutline.AutoSize = true;
this.radioButtonOutline.Location = new System.Drawing.Point(14, 18);
this.radioButtonOutline.Name = "radioButtonOutline";
this.radioButtonOutline.Size = new System.Drawing.Size(58, 17);
this.radioButtonOutline.TabIndex = 0;
this.radioButtonOutline.Text = "Outline";
this.radioButtonOutline.UseVisualStyleBackColor = true;
this.radioButtonOutline.CheckedChanged += new System.EventHandler(this.radioButtonOutline_CheckedChanged);
//
// numericUpDownShadowWidth
//
this.numericUpDownShadowWidth.Location = new System.Drawing.Point(186, 18);
this.numericUpDownShadowWidth.Name = "numericUpDownShadowWidth";
this.numericUpDownShadowWidth.Size = new System.Drawing.Size(44, 20);
this.numericUpDownShadowWidth.TabIndex = 3;
this.numericUpDownShadowWidth.ValueChanged += new System.EventHandler(this.numericUpDownShadowWidth_ValueChanged);
//
// numericUpDownOutline
//
this.numericUpDownOutline.Location = new System.Drawing.Point(76, 18);
this.numericUpDownOutline.Name = "numericUpDownOutline";
this.numericUpDownOutline.Size = new System.Drawing.Size(44, 20);
this.numericUpDownOutline.TabIndex = 1;
this.numericUpDownOutline.ValueChanged += new System.EventHandler(this.numericUpDownOutline_ValueChanged);
//
// labelShadow
//
this.labelShadow.AutoSize = true;
this.labelShadow.Location = new System.Drawing.Point(126, 21);
this.labelShadow.Name = "labelShadow";
this.labelShadow.Size = new System.Drawing.Size(58, 13);
this.labelShadow.TabIndex = 2;
this.labelShadow.Text = "+ Shadow";
//
// groupBoxMargins
//
this.groupBoxMargins.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxMargins.Controls.Add(this.numericUpDownMarginVertical);
this.groupBoxMargins.Controls.Add(this.numericUpDownMarginRight);
this.groupBoxMargins.Controls.Add(this.numericUpDownMarginLeft);
this.groupBoxMargins.Controls.Add(this.labelMarginVertical);
this.groupBoxMargins.Controls.Add(this.labelMarginRight);
this.groupBoxMargins.Controls.Add(this.labelMarginLeft);
this.groupBoxMargins.Location = new System.Drawing.Point(7, 310);
this.groupBoxMargins.Name = "groupBoxMargins";
this.groupBoxMargins.Size = new System.Drawing.Size(474, 65);
this.groupBoxMargins.TabIndex = 3;
this.groupBoxMargins.TabStop = false;
this.groupBoxMargins.Text = "Margins";
//
// numericUpDownMarginVertical
//
this.numericUpDownMarginVertical.Location = new System.Drawing.Point(188, 33);
this.numericUpDownMarginVertical.Maximum = new decimal(new int[] {
250,
0,
0,
0});
this.numericUpDownMarginVertical.Name = "numericUpDownMarginVertical";
this.numericUpDownMarginVertical.Size = new System.Drawing.Size(44, 20);
this.numericUpDownMarginVertical.TabIndex = 5;
this.numericUpDownMarginVertical.ValueChanged += new System.EventHandler(this.numericUpDownMarginVertical_ValueChanged);
//
// numericUpDownMarginRight
//
this.numericUpDownMarginRight.Location = new System.Drawing.Point(101, 33);
this.numericUpDownMarginRight.Maximum = new decimal(new int[] {
250,
0,
0,
0});
this.numericUpDownMarginRight.Name = "numericUpDownMarginRight";
this.numericUpDownMarginRight.Size = new System.Drawing.Size(44, 20);
this.numericUpDownMarginRight.TabIndex = 3;
this.numericUpDownMarginRight.ValueChanged += new System.EventHandler(this.numericUpDownMarginRight_ValueChanged);
//
// numericUpDownMarginLeft
//
this.numericUpDownMarginLeft.Location = new System.Drawing.Point(16, 33);
this.numericUpDownMarginLeft.Maximum = new decimal(new int[] {
250,
0,
0,
0});
this.numericUpDownMarginLeft.Name = "numericUpDownMarginLeft";
this.numericUpDownMarginLeft.Size = new System.Drawing.Size(44, 20);
this.numericUpDownMarginLeft.TabIndex = 1;
this.numericUpDownMarginLeft.ValueChanged += new System.EventHandler(this.numericUpDownMarginLeft_ValueChanged);
//
// labelMarginVertical
//
this.labelMarginVertical.AutoSize = true;
this.labelMarginVertical.Location = new System.Drawing.Point(185, 16);
this.labelMarginVertical.Name = "labelMarginVertical";
this.labelMarginVertical.Size = new System.Drawing.Size(42, 13);
this.labelMarginVertical.TabIndex = 4;
this.labelMarginVertical.Text = "Vertical";
//
// labelMarginRight
//
this.labelMarginRight.AutoSize = true;
this.labelMarginRight.Location = new System.Drawing.Point(98, 16);
this.labelMarginRight.Name = "labelMarginRight";
this.labelMarginRight.Size = new System.Drawing.Size(32, 13);
this.labelMarginRight.TabIndex = 2;
this.labelMarginRight.Text = "Right";
//
// labelMarginLeft
//
this.labelMarginLeft.AutoSize = true;
this.labelMarginLeft.Location = new System.Drawing.Point(13, 16);
this.labelMarginLeft.Name = "labelMarginLeft";
this.labelMarginLeft.Size = new System.Drawing.Size(25, 13);
this.labelMarginLeft.TabIndex = 0;
this.labelMarginLeft.Text = "Left";
//
// groupBoxColors
//
this.groupBoxColors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxColors.Controls.Add(this.panelBackColor);
this.groupBoxColors.Controls.Add(this.buttonBackColor);
this.groupBoxColors.Controls.Add(this.panelOutlineColor);
this.groupBoxColors.Controls.Add(this.buttonOutlineColor);
this.groupBoxColors.Controls.Add(this.panelSecondaryColor);
this.groupBoxColors.Controls.Add(this.buttonSecondaryColor);
this.groupBoxColors.Controls.Add(this.panelPrimaryColor);
this.groupBoxColors.Controls.Add(this.buttonPrimaryColor);
this.groupBoxColors.Location = new System.Drawing.Point(7, 221);
this.groupBoxColors.Name = "groupBoxColors";
this.groupBoxColors.Size = new System.Drawing.Size(476, 83);
this.groupBoxColors.TabIndex = 2;
this.groupBoxColors.TabStop = false;
this.groupBoxColors.Text = "Colors";
//
// panelBackColor
//
this.panelBackColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelBackColor.Location = new System.Drawing.Point(334, 50);
this.panelBackColor.Name = "panelBackColor";
this.panelBackColor.Size = new System.Drawing.Size(21, 20);
this.panelBackColor.TabIndex = 7;
this.panelBackColor.Click += new System.EventHandler(this.buttonBackColor_Click);
//
// buttonBackColor
//
this.buttonBackColor.Location = new System.Drawing.Point(212, 49);
this.buttonBackColor.Name = "buttonBackColor";
this.buttonBackColor.Size = new System.Drawing.Size(112, 21);
this.buttonBackColor.TabIndex = 6;
this.buttonBackColor.Text = "Shadow";
this.buttonBackColor.UseVisualStyleBackColor = true;
this.buttonBackColor.Click += new System.EventHandler(this.buttonBackColor_Click);
//
// panelOutlineColor
//
this.panelOutlineColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelOutlineColor.Location = new System.Drawing.Point(334, 23);
this.panelOutlineColor.Name = "panelOutlineColor";
this.panelOutlineColor.Size = new System.Drawing.Size(21, 20);
this.panelOutlineColor.TabIndex = 5;
this.panelOutlineColor.Click += new System.EventHandler(this.buttonOutlineColor_Click);
//
// buttonOutlineColor
//
this.buttonOutlineColor.Location = new System.Drawing.Point(212, 22);
this.buttonOutlineColor.Name = "buttonOutlineColor";
this.buttonOutlineColor.Size = new System.Drawing.Size(112, 21);
this.buttonOutlineColor.TabIndex = 4;
this.buttonOutlineColor.Text = "Outline";
this.buttonOutlineColor.UseVisualStyleBackColor = true;
this.buttonOutlineColor.Click += new System.EventHandler(this.buttonOutlineColor_Click);
//
// panelSecondaryColor
//
this.panelSecondaryColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelSecondaryColor.Location = new System.Drawing.Point(129, 50);
this.panelSecondaryColor.Name = "panelSecondaryColor";
this.panelSecondaryColor.Size = new System.Drawing.Size(21, 20);
this.panelSecondaryColor.TabIndex = 3;
this.panelSecondaryColor.Click += new System.EventHandler(this.buttonSecondaryColor_Click);
//
// buttonSecondaryColor
//
this.buttonSecondaryColor.Location = new System.Drawing.Point(7, 49);
this.buttonSecondaryColor.Name = "buttonSecondaryColor";
this.buttonSecondaryColor.Size = new System.Drawing.Size(112, 21);
this.buttonSecondaryColor.TabIndex = 2;
this.buttonSecondaryColor.Text = "S&econdary";
this.buttonSecondaryColor.UseVisualStyleBackColor = true;
this.buttonSecondaryColor.Click += new System.EventHandler(this.buttonSecondaryColor_Click);
//
// panelPrimaryColor
//
this.panelPrimaryColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelPrimaryColor.Location = new System.Drawing.Point(129, 22);
this.panelPrimaryColor.Name = "panelPrimaryColor";
this.panelPrimaryColor.Size = new System.Drawing.Size(21, 20);
this.panelPrimaryColor.TabIndex = 1;
this.panelPrimaryColor.Click += new System.EventHandler(this.buttonPrimaryColor_Click);
//
// buttonPrimaryColor
//
this.buttonPrimaryColor.Location = new System.Drawing.Point(7, 22);
this.buttonPrimaryColor.Name = "buttonPrimaryColor";
this.buttonPrimaryColor.Size = new System.Drawing.Size(112, 21);
this.buttonPrimaryColor.TabIndex = 0;
this.buttonPrimaryColor.Text = "&Primary";
this.buttonPrimaryColor.UseVisualStyleBackColor = true;
this.buttonPrimaryColor.Click += new System.EventHandler(this.buttonPrimaryColor_Click);
//
// groupBoxAlignment
//
this.groupBoxAlignment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxAlignment.Controls.Add(this.radioButtonBottomRight);
this.groupBoxAlignment.Controls.Add(this.radioButtonBottomCenter);
this.groupBoxAlignment.Controls.Add(this.radioButtonMiddleRight);
this.groupBoxAlignment.Controls.Add(this.radioButtonBottomLeft);
this.groupBoxAlignment.Controls.Add(this.radioButtonMiddleLeft);
this.groupBoxAlignment.Controls.Add(this.radioButtonTopRight);
this.groupBoxAlignment.Controls.Add(this.radioButtonTopCenter);
this.groupBoxAlignment.Controls.Add(this.radioButtonMiddleCenter);
this.groupBoxAlignment.Controls.Add(this.radioButtonTopLeft);
this.groupBoxAlignment.Location = new System.Drawing.Point(7, 122);
this.groupBoxAlignment.Name = "groupBoxAlignment";
this.groupBoxAlignment.Size = new System.Drawing.Size(475, 93);
this.groupBoxAlignment.TabIndex = 1;
this.groupBoxAlignment.TabStop = false;
this.groupBoxAlignment.Text = "Alignment";
//
// radioButtonBottomRight
//
this.radioButtonBottomRight.AutoSize = true;
this.radioButtonBottomRight.Location = new System.Drawing.Point(279, 65);
this.radioButtonBottomRight.Name = "radioButtonBottomRight";
this.radioButtonBottomRight.Size = new System.Drawing.Size(83, 17);
this.radioButtonBottomRight.TabIndex = 8;
this.radioButtonBottomRight.Text = "Bottom/right";
this.radioButtonBottomRight.UseVisualStyleBackColor = true;
this.radioButtonBottomRight.CheckedChanged += new System.EventHandler(this.radioButtonBottomRight_CheckedChanged);
//
// radioButtonBottomCenter
//
this.radioButtonBottomCenter.AutoSize = true;
this.radioButtonBottomCenter.Checked = true;
this.radioButtonBottomCenter.Location = new System.Drawing.Point(138, 65);
this.radioButtonBottomCenter.Name = "radioButtonBottomCenter";
this.radioButtonBottomCenter.Size = new System.Drawing.Size(93, 17);
this.radioButtonBottomCenter.TabIndex = 7;
this.radioButtonBottomCenter.TabStop = true;
this.radioButtonBottomCenter.Text = "Bottom/center";
this.radioButtonBottomCenter.UseVisualStyleBackColor = true;
this.radioButtonBottomCenter.CheckedChanged += new System.EventHandler(this.radioButtonBottomCenter_CheckedChanged);
//
// radioButtonMiddleRight
//
this.radioButtonMiddleRight.AutoSize = true;
this.radioButtonMiddleRight.Location = new System.Drawing.Point(279, 42);
this.radioButtonMiddleRight.Name = "radioButtonMiddleRight";
this.radioButtonMiddleRight.Size = new System.Drawing.Size(81, 17);
this.radioButtonMiddleRight.TabIndex = 5;
this.radioButtonMiddleRight.Text = "Middle/right";
this.radioButtonMiddleRight.UseVisualStyleBackColor = true;
this.radioButtonMiddleRight.CheckedChanged += new System.EventHandler(this.radioButtonMiddleRight_CheckedChanged);
//
// radioButtonBottomLeft
//
this.radioButtonBottomLeft.AutoSize = true;
this.radioButtonBottomLeft.Location = new System.Drawing.Point(13, 65);
this.radioButtonBottomLeft.Name = "radioButtonBottomLeft";
this.radioButtonBottomLeft.Size = new System.Drawing.Size(77, 17);
this.radioButtonBottomLeft.TabIndex = 6;
this.radioButtonBottomLeft.Text = "Bottom/left";
this.radioButtonBottomLeft.UseVisualStyleBackColor = true;
this.radioButtonBottomLeft.CheckedChanged += new System.EventHandler(this.radioButtonBottomLeft_CheckedChanged);
//
// radioButtonMiddleLeft
//
this.radioButtonMiddleLeft.AutoSize = true;
this.radioButtonMiddleLeft.Location = new System.Drawing.Point(13, 42);
this.radioButtonMiddleLeft.Name = "radioButtonMiddleLeft";
this.radioButtonMiddleLeft.Size = new System.Drawing.Size(75, 17);
this.radioButtonMiddleLeft.TabIndex = 3;
this.radioButtonMiddleLeft.Text = "Middle/left";
this.radioButtonMiddleLeft.UseVisualStyleBackColor = true;
this.radioButtonMiddleLeft.CheckedChanged += new System.EventHandler(this.radioButtonMiddleLeft_CheckedChanged);
//
// radioButtonTopRight
//
this.radioButtonTopRight.AutoSize = true;
this.radioButtonTopRight.Location = new System.Drawing.Point(279, 19);
this.radioButtonTopRight.Name = "radioButtonTopRight";
this.radioButtonTopRight.Size = new System.Drawing.Size(69, 17);
this.radioButtonTopRight.TabIndex = 2;
this.radioButtonTopRight.Text = "Top/right";
this.radioButtonTopRight.UseVisualStyleBackColor = true;
this.radioButtonTopRight.CheckedChanged += new System.EventHandler(this.radioButtonTopRight_CheckedChanged);
//
// radioButtonTopCenter
//
this.radioButtonTopCenter.AutoSize = true;
this.radioButtonTopCenter.Location = new System.Drawing.Point(138, 19);
this.radioButtonTopCenter.Name = "radioButtonTopCenter";
this.radioButtonTopCenter.Size = new System.Drawing.Size(79, 17);
this.radioButtonTopCenter.TabIndex = 1;
this.radioButtonTopCenter.Text = "Top/center";
this.radioButtonTopCenter.UseVisualStyleBackColor = true;
this.radioButtonTopCenter.CheckedChanged += new System.EventHandler(this.radioButtonTopCenter_CheckedChanged);
//
// radioButtonMiddleCenter
//
this.radioButtonMiddleCenter.AutoSize = true;
this.radioButtonMiddleCenter.Location = new System.Drawing.Point(138, 42);
this.radioButtonMiddleCenter.Name = "radioButtonMiddleCenter";
this.radioButtonMiddleCenter.Size = new System.Drawing.Size(91, 17);
this.radioButtonMiddleCenter.TabIndex = 4;
this.radioButtonMiddleCenter.Text = "Middle/center";
this.radioButtonMiddleCenter.UseVisualStyleBackColor = true;
this.radioButtonMiddleCenter.CheckedChanged += new System.EventHandler(this.radioButtonMiddleCenter_CheckedChanged);
//
// radioButtonTopLeft
//
this.radioButtonTopLeft.AutoSize = true;
this.radioButtonTopLeft.Location = new System.Drawing.Point(13, 19);
this.radioButtonTopLeft.Name = "radioButtonTopLeft";
this.radioButtonTopLeft.Size = new System.Drawing.Size(63, 17);
this.radioButtonTopLeft.TabIndex = 0;
this.radioButtonTopLeft.Text = "Top/left";
this.radioButtonTopLeft.UseVisualStyleBackColor = true;
this.radioButtonTopLeft.CheckedChanged += new System.EventHandler(this.radioButtonTopLeft_CheckedChanged);
//
// groupBoxFont
//
this.groupBoxFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxFont.Controls.Add(this.checkBoxFontUnderline);
this.groupBoxFont.Controls.Add(this.numericUpDownFontSize);
this.groupBoxFont.Controls.Add(this.checkBoxFontItalic);
this.groupBoxFont.Controls.Add(this.checkBoxFontBold);
this.groupBoxFont.Controls.Add(this.comboBoxFontName);
this.groupBoxFont.Controls.Add(this.labelFontSize);
this.groupBoxFont.Controls.Add(this.labelFontName);
this.groupBoxFont.Location = new System.Drawing.Point(7, 17);
this.groupBoxFont.Name = "groupBoxFont";
this.groupBoxFont.Size = new System.Drawing.Size(475, 99);
this.groupBoxFont.TabIndex = 0;
this.groupBoxFont.TabStop = false;
this.groupBoxFont.Text = "Font";
//
// checkBoxFontUnderline
//
this.checkBoxFontUnderline.AutoSize = true;
this.checkBoxFontUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxFontUnderline.Location = new System.Drawing.Point(169, 73);
this.checkBoxFontUnderline.Name = "checkBoxFontUnderline";
this.checkBoxFontUnderline.Size = new System.Drawing.Size(71, 17);
this.checkBoxFontUnderline.TabIndex = 5;
this.checkBoxFontUnderline.Text = "Underline";
this.checkBoxFontUnderline.UseVisualStyleBackColor = true;
this.checkBoxFontUnderline.CheckedChanged += new System.EventHandler(this.checkBoxFontUnderline_CheckedChanged);
//
// numericUpDownFontSize
//
this.numericUpDownFontSize.Location = new System.Drawing.Point(100, 44);
this.numericUpDownFontSize.Maximum = new decimal(new int[] {
200,
0,
0,
0});
this.numericUpDownFontSize.Name = "numericUpDownFontSize";
this.numericUpDownFontSize.Size = new System.Drawing.Size(51, 20);
this.numericUpDownFontSize.TabIndex = 3;
this.numericUpDownFontSize.ValueChanged += new System.EventHandler(this.numericUpDownFontSize_ValueChanged);
//
// checkBoxFontItalic
//
this.checkBoxFontItalic.AutoSize = true;
this.checkBoxFontItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxFontItalic.Location = new System.Drawing.Point(90, 73);
this.checkBoxFontItalic.Name = "checkBoxFontItalic";
this.checkBoxFontItalic.Size = new System.Drawing.Size(48, 17);
this.checkBoxFontItalic.TabIndex = 4;
this.checkBoxFontItalic.Text = "Italic";
this.checkBoxFontItalic.UseVisualStyleBackColor = true;
this.checkBoxFontItalic.CheckedChanged += new System.EventHandler(this.checkBoxFontItalic_CheckedChanged);
//
// checkBoxFontBold
//
this.checkBoxFontBold.AutoSize = true;
this.checkBoxFontBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxFontBold.Location = new System.Drawing.Point(13, 73);
this.checkBoxFontBold.Name = "checkBoxFontBold";
this.checkBoxFontBold.Size = new System.Drawing.Size(51, 17);
this.checkBoxFontBold.TabIndex = 3;
this.checkBoxFontBold.Text = "Bold";
this.checkBoxFontBold.UseVisualStyleBackColor = true;
this.checkBoxFontBold.CheckedChanged += new System.EventHandler(this.checkBoxFontBold_CheckedChanged);
//
// comboBoxFontName
//
this.comboBoxFontName.FormattingEnabled = true;
this.comboBoxFontName.Location = new System.Drawing.Point(100, 17);
this.comboBoxFontName.Name = "comboBoxFontName";
this.comboBoxFontName.Size = new System.Drawing.Size(188, 21);
this.comboBoxFontName.TabIndex = 1;
this.comboBoxFontName.SelectedValueChanged += new System.EventHandler(this.comboBoxFontName_SelectedValueChanged);
this.comboBoxFontName.KeyUp += new System.Windows.Forms.KeyEventHandler(this.comboBoxFontName_KeyUp);
//
// labelFontSize
//
this.labelFontSize.AutoSize = true;
this.labelFontSize.Location = new System.Drawing.Point(10, 46);
this.labelFontSize.Name = "labelFontSize";
this.labelFontSize.Size = new System.Drawing.Size(49, 13);
this.labelFontSize.TabIndex = 2;
this.labelFontSize.Text = "Font size";
//
// labelFontName
//
this.labelFontName.AutoSize = true;
this.labelFontName.Location = new System.Drawing.Point(10, 20);
this.labelFontName.Name = "labelFontName";
this.labelFontName.Size = new System.Drawing.Size(57, 13);
this.labelFontName.TabIndex = 0;
this.labelFontName.Text = "Font name";
//
// buttonCancel
//
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonCancel.Location = new System.Drawing.Point(1007, 642);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
this.buttonCancel.TabIndex = 5;
this.buttonCancel.Text = "C&ancel";
this.buttonCancel.UseVisualStyleBackColor = true;
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonOK.Location = new System.Drawing.Point(926, 642);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 21);
this.buttonOK.TabIndex = 4;
this.buttonOK.Text = "&OK";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
//
// groupBoxPreview
//
this.groupBoxPreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxPreview.Controls.Add(this.pictureBoxPreview);
this.groupBoxPreview.Location = new System.Drawing.Point(12, 12);
this.groupBoxPreview.Name = "groupBoxPreview";
this.groupBoxPreview.Size = new System.Drawing.Size(576, 386);
this.groupBoxPreview.TabIndex = 0;
this.groupBoxPreview.TabStop = false;
this.groupBoxPreview.Text = "Preview";
//
// pictureBoxPreview
//
this.pictureBoxPreview.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBoxPreview.Location = new System.Drawing.Point(3, 16);
this.pictureBoxPreview.Name = "pictureBoxPreview";
this.pictureBoxPreview.Size = new System.Drawing.Size(570, 367);
this.pictureBoxPreview.TabIndex = 0;
this.pictureBoxPreview.TabStop = false;
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.textBoxRawHeader);
this.groupBox2.Location = new System.Drawing.Point(13, 402);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(575, 234);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Raw header";
//
// textBoxRawHeader
//
this.textBoxRawHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxRawHeader.Location = new System.Drawing.Point(7, 20);
this.textBoxRawHeader.Multiline = true;
this.textBoxRawHeader.Name = "textBoxRawHeader";
this.textBoxRawHeader.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBoxRawHeader.Size = new System.Drawing.Size(562, 208);
this.textBoxRawHeader.TabIndex = 0;
this.textBoxRawHeader.WordWrap = false;
this.textBoxRawHeader.TextChanged += new System.EventHandler(this.textBoxRawHeader_TextChanged);
this.textBoxRawHeader.Validated += new System.EventHandler(this.textBoxRawHeader_Validated);
//
// buttonReset
//
this.buttonReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonReset.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonReset.Location = new System.Drawing.Point(12, 642);
this.buttonReset.Name = "buttonReset";
this.buttonReset.Size = new System.Drawing.Size(136, 21);
this.buttonReset.TabIndex = 3;
this.buttonReset.Text = "Reset to defaults";
this.buttonReset.UseVisualStyleBackColor = true;
this.buttonReset.Click += new System.EventHandler(this.buttonReset_Click);
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// SubStationAlphaStylesBatchConvert
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1094, 668);
this.Controls.Add(this.buttonReset);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBoxProperties);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOK);
this.Controls.Add(this.groupBoxPreview);
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(1110, 706);
this.Name = "SubStationAlphaStylesBatchConvert";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "SubStationAlphaStylesBatchConvert";
this.Shown += new System.EventHandler(this.SubStationAlphaStylesBatchConvert_Shown);
this.ResizeEnd += new System.EventHandler(this.SubStationAlphaStylesBatchConvert_ResizeEnd);
this.SizeChanged += new System.EventHandler(this.SubStationAlphaStylesBatchConvert_SizeChanged);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SubStationAlphaStylesBatchConvert_KeyDown);
this.groupBoxProperties.ResumeLayout(false);
this.groupBoxResolution.ResumeLayout(false);
this.groupBoxResolution.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVideoHeight)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownVideoWidth)).EndInit();
this.groupBoxOptions.ResumeLayout(false);
this.groupBoxOptions.PerformLayout();
this.groupBoxBorder.ResumeLayout(false);
this.groupBoxBorder.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownShadowWidth)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownOutline)).EndInit();
this.groupBoxMargins.ResumeLayout(false);
this.groupBoxMargins.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginVertical)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginRight)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMarginLeft)).EndInit();
this.groupBoxColors.ResumeLayout(false);
this.groupBoxAlignment.ResumeLayout(false);
this.groupBoxAlignment.PerformLayout();
this.groupBoxFont.ResumeLayout(false);
this.groupBoxFont.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownFontSize)).EndInit();
this.groupBoxPreview.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPreview)).EndInit();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBoxProperties;
private System.Windows.Forms.GroupBox groupBoxBorder;
private System.Windows.Forms.RadioButton radioButtonOpaqueBox;
private System.Windows.Forms.RadioButton radioButtonOutline;
private System.Windows.Forms.NumericUpDown numericUpDownShadowWidth;
private System.Windows.Forms.NumericUpDown numericUpDownOutline;
private System.Windows.Forms.Label labelShadow;
private System.Windows.Forms.GroupBox groupBoxMargins;
private System.Windows.Forms.NumericUpDown numericUpDownMarginVertical;
private System.Windows.Forms.NumericUpDown numericUpDownMarginRight;
private System.Windows.Forms.NumericUpDown numericUpDownMarginLeft;
private System.Windows.Forms.Label labelMarginVertical;
private System.Windows.Forms.Label labelMarginRight;
private System.Windows.Forms.Label labelMarginLeft;
private System.Windows.Forms.GroupBox groupBoxColors;
private System.Windows.Forms.Panel panelBackColor;
private System.Windows.Forms.Button buttonBackColor;
private System.Windows.Forms.Panel panelOutlineColor;
private System.Windows.Forms.Button buttonOutlineColor;
private System.Windows.Forms.Panel panelSecondaryColor;
private System.Windows.Forms.Button buttonSecondaryColor;
private System.Windows.Forms.Panel panelPrimaryColor;
private System.Windows.Forms.Button buttonPrimaryColor;
private System.Windows.Forms.GroupBox groupBoxAlignment;
private System.Windows.Forms.RadioButton radioButtonBottomRight;
private System.Windows.Forms.RadioButton radioButtonBottomCenter;
private System.Windows.Forms.RadioButton radioButtonMiddleRight;
private System.Windows.Forms.RadioButton radioButtonBottomLeft;
private System.Windows.Forms.RadioButton radioButtonMiddleLeft;
private System.Windows.Forms.RadioButton radioButtonTopRight;
private System.Windows.Forms.RadioButton radioButtonTopCenter;
private System.Windows.Forms.RadioButton radioButtonMiddleCenter;
private System.Windows.Forms.RadioButton radioButtonTopLeft;
private System.Windows.Forms.GroupBox groupBoxFont;
private System.Windows.Forms.CheckBox checkBoxFontUnderline;
private System.Windows.Forms.NumericUpDown numericUpDownFontSize;
private System.Windows.Forms.CheckBox checkBoxFontItalic;
private System.Windows.Forms.CheckBox checkBoxFontBold;
private System.Windows.Forms.ComboBox comboBoxFontName;
private System.Windows.Forms.Label labelFontSize;
private System.Windows.Forms.Label labelFontName;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.GroupBox groupBoxPreview;
private System.Windows.Forms.PictureBox pictureBoxPreview;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox groupBoxResolution;
private System.Windows.Forms.Label labelVideoResolution;
private System.Windows.Forms.NumericUpDown numericUpDownVideoHeight;
private System.Windows.Forms.Button buttonGetResolutionFromVideo;
private System.Windows.Forms.Label labelX;
private System.Windows.Forms.NumericUpDown numericUpDownVideoWidth;
private System.Windows.Forms.GroupBox groupBoxOptions;
private System.Windows.Forms.CheckBox checkBoxScaleBorderAndShadow;
private System.Windows.Forms.ComboBox comboBoxCollision;
private System.Windows.Forms.Label labelCollision;
private System.Windows.Forms.ComboBox comboBoxWrapStyle;
private System.Windows.Forms.Label labelWrapStyle;
private System.Windows.Forms.TextBox textBoxRawHeader;
private System.Windows.Forms.Button buttonReset;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.ColorDialog colorDialogSSAStyle;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="colorDialogSSAStyle.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>179, 17</value>
</metadata>
</root>

View File

@ -59,6 +59,7 @@
<HintPath>packages\NHunspell.1.2.5554.16953\lib\net\NHunspell.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Windows.Forms" />
@ -642,6 +643,12 @@
<Compile Include="Forms\Styles\StylesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Styles\SubStationAlphaStylesBatchConvert.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Styles\SubStationAlphaStylesBatchConvert.Designer.cs">
<DependentUpon>SubStationAlphaStylesBatchConvert.cs</DependentUpon>
</Compile>
<Compile Include="Forms\SubStationAlphaProperties.cs">
<SubType>Form</SubType>
</Compile>
@ -1147,6 +1154,9 @@
<EmbeddedResource Include="Forms\StatusLog.resx">
<DependentUpon>StatusLog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Styles\SubStationAlphaStylesBatchConvert.resx">
<DependentUpon>SubStationAlphaStylesBatchConvert.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SubStationAlphaProperties.resx">
<DependentUpon>SubStationAlphaProperties.cs</DependentUpon>
</EmbeddedResource>