148 lines
5.1 KiB
C#
148 lines
5.1 KiB
C#
namespace SavedFontsConverter
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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() {
|
|
dlgOpen = new OpenFileDialog();
|
|
dlgSave = new SaveFileDialog();
|
|
btnOpen = new Button();
|
|
btnConvert = new Button();
|
|
lblPathOriginal = new Label();
|
|
tbPathNew = new TextBox();
|
|
btnPath = new Button();
|
|
tbInfo = new TextBox();
|
|
lblInfo = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// dlgOpen
|
|
//
|
|
dlgOpen.FileName = "font.mbf";
|
|
//
|
|
// btnOpen
|
|
//
|
|
btnOpen.Font = new Font("Segoe UI Semibold", 11.25F, FontStyle.Bold, GraphicsUnit.Point, 204);
|
|
btnOpen.Location = new Point(10, 10);
|
|
btnOpen.Name = "btnOpen";
|
|
btnOpen.Size = new Size(100, 30);
|
|
btnOpen.TabIndex = 0;
|
|
btnOpen.Text = "Load File";
|
|
btnOpen.UseVisualStyleBackColor = true;
|
|
btnOpen.Click += btnOpen_Click;
|
|
//
|
|
// btnConvert
|
|
//
|
|
btnConvert.Font = new Font("Segoe UI Semibold", 11.25F, FontStyle.Bold, GraphicsUnit.Point, 204);
|
|
btnConvert.Location = new Point(10, 132);
|
|
btnConvert.Name = "btnConvert";
|
|
btnConvert.Size = new Size(100, 30);
|
|
btnConvert.TabIndex = 1;
|
|
btnConvert.Text = "Convert!";
|
|
btnConvert.UseVisualStyleBackColor = true;
|
|
//
|
|
// lblPathOriginal
|
|
//
|
|
lblPathOriginal.AutoSize = true;
|
|
lblPathOriginal.Location = new Point(116, 19);
|
|
lblPathOriginal.Name = "lblPathOriginal";
|
|
lblPathOriginal.Size = new Size(32, 15);
|
|
lblPathOriginal.TabIndex = 2;
|
|
lblPathOriginal.Text = "<...>";
|
|
//
|
|
// tbPathNew
|
|
//
|
|
tbPathNew.Location = new Point(10, 168);
|
|
tbPathNew.Name = "tbPathNew";
|
|
tbPathNew.Size = new Size(439, 23);
|
|
tbPathNew.TabIndex = 3;
|
|
//
|
|
// btnPath
|
|
//
|
|
btnPath.Location = new Point(455, 167);
|
|
btnPath.Name = "btnPath";
|
|
btnPath.Size = new Size(28, 23);
|
|
btnPath.TabIndex = 4;
|
|
btnPath.Text = "...";
|
|
btnPath.UseVisualStyleBackColor = true;
|
|
//
|
|
// tbInfo
|
|
//
|
|
tbInfo.BorderStyle = BorderStyle.FixedSingle;
|
|
tbInfo.Location = new Point(116, 43);
|
|
tbInfo.Multiline = true;
|
|
tbInfo.Name = "tbInfo";
|
|
tbInfo.ReadOnly = true;
|
|
tbInfo.Size = new Size(200, 82);
|
|
tbInfo.TabIndex = 5;
|
|
tbInfo.TabStop = false;
|
|
tbInfo.Text = "Mospaced / Variable width\r\nFrames number / Single\r\nCodepage";
|
|
//
|
|
// lblInfo
|
|
//
|
|
lblInfo.AutoSize = true;
|
|
lblInfo.Location = new Point(58, 43);
|
|
lblInfo.Name = "lblInfo";
|
|
lblInfo.Size = new Size(52, 15);
|
|
lblInfo.TabIndex = 6;
|
|
lblInfo.Text = "File Info:";
|
|
lblInfo.TextAlign = ContentAlignment.TopRight;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(96F, 96F);
|
|
AutoScaleMode = AutoScaleMode.Dpi;
|
|
ClientSize = new Size(490, 207);
|
|
Controls.Add(lblInfo);
|
|
Controls.Add(tbInfo);
|
|
Controls.Add(btnPath);
|
|
Controls.Add(tbPathNew);
|
|
Controls.Add(lblPathOriginal);
|
|
Controls.Add(btnConvert);
|
|
Controls.Add(btnOpen);
|
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "Form1";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "McBitFont: Saved Font Converter";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private OpenFileDialog dlgOpen;
|
|
private SaveFileDialog dlgSave;
|
|
private Button btnOpen;
|
|
private Button btnConvert;
|
|
private Label lblPathOriginal;
|
|
private TextBox tbPathNew;
|
|
private Button btnPath;
|
|
private TextBox tbInfo;
|
|
private Label lblInfo;
|
|
}
|
|
}
|