From 4ae9b7f33bc81ce7169e5bd24e82e897607616e3 Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Thu, 27 Apr 2023 02:00:40 +0300 Subject: [PATCH] New approach (panels) --- McBitFont.sln | 14 +- McBitFont/App.config | 6 + McBitFont/Form1.Designer.cs | 201 +++++++++++++-------- McBitFont/Form1.cs | 105 +++++------ McBitFont/Form1.resx | 62 ++++++- McBitFont/McBitFont.csproj | 86 ++++++++- McBitFont/Program.cs | 15 +- McBitFont/Properties/AssemblyInfo.cs | 36 ++++ McBitFont/Properties/Resources.Designer.cs | 62 +++++++ McBitFont/Properties/Resources.resx | 117 ++++++++++++ McBitFont/Properties/Settings.Designer.cs | 26 +++ McBitFont/Properties/Settings.settings | 7 + 12 files changed, 574 insertions(+), 163 deletions(-) create mode 100644 McBitFont/App.config create mode 100644 McBitFont/Properties/AssemblyInfo.cs create mode 100644 McBitFont/Properties/Resources.Designer.cs create mode 100644 McBitFont/Properties/Resources.resx create mode 100644 McBitFont/Properties/Settings.Designer.cs create mode 100644 McBitFont/Properties/Settings.settings diff --git a/McBitFont.sln b/McBitFont.sln index b724c35..8cc0db1 100644 --- a/McBitFont.sln +++ b/McBitFont.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.4.33213.308 +VisualStudioVersion = 17.5.33530.505 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "McBitFont", "McBitFont\McBitFont.csproj", "{DA4DAD15-0FF6-43B6-AD42-B521DBCA34E5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "McBitFont", "McBitFont\McBitFont.csproj", "{7C01529E-4414-405F-9B57-19FA4AF8ED60}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DA4DAD15-0FF6-43B6-AD42-B521DBCA34E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DA4DAD15-0FF6-43B6-AD42-B521DBCA34E5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DA4DAD15-0FF6-43B6-AD42-B521DBCA34E5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DA4DAD15-0FF6-43B6-AD42-B521DBCA34E5}.Release|Any CPU.Build.0 = Release|Any CPU + {7C01529E-4414-405F-9B57-19FA4AF8ED60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7C01529E-4414-405F-9B57-19FA4AF8ED60}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7C01529E-4414-405F-9B57-19FA4AF8ED60}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7C01529E-4414-405F-9B57-19FA4AF8ED60}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B5570D80-5662-486E-9EEA-98EB207024D8} + SolutionGuid = {9EB1E2EC-7D54-4FE8-9E28-3051FD3DAE39} EndGlobalSection EndGlobal diff --git a/McBitFont/App.config b/McBitFont/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/McBitFont/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/McBitFont/Form1.Designer.cs b/McBitFont/Form1.Designer.cs index 9b8caf1..edeeafd 100644 --- a/McBitFont/Form1.Designer.cs +++ b/McBitFont/Form1.Designer.cs @@ -1,14 +1,14 @@ namespace McBitFont { partial class Form1 { /// - /// Required designer variable. + /// Обязательная переменная конструктора. /// private System.ComponentModel.IContainer components = null; /// - /// Clean up any resources being used. + /// Освободить все используемые ресурсы. /// - /// true if managed resources should be disposed; otherwise, false. + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); @@ -16,100 +16,141 @@ base.Dispose(disposing); } - #region Windows Form Designer generated code + #region Код, автоматически созданный конструктором форм Windows /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. /// private void InitializeComponent() { - dotGrid = new DataGridView(); - button1 = new Button(); - nudX = new NumericUpDown(); - nudY = new NumericUpDown(); - ((System.ComponentModel.ISupportInitialize)dotGrid).BeginInit(); - ((System.ComponentModel.ISupportInitialize)nudX).BeginInit(); - ((System.ComponentModel.ISupportInitialize)nudY).BeginInit(); - SuspendLayout(); + this.dotPanel = new System.Windows.Forms.Panel(); + this.nudX = new System.Windows.Forms.NumericUpDown(); + this.nudY = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.nudX)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudY)).BeginInit(); + this.SuspendLayout(); // - // dotGrid + // dotPanel // - dotGrid.AllowUserToAddRows = false; - dotGrid.AllowUserToDeleteRows = false; - dotGrid.AllowUserToResizeColumns = false; - dotGrid.AllowUserToResizeRows = false; - dotGrid.ClipboardCopyMode = DataGridViewClipboardCopyMode.Disable; - dotGrid.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - dotGrid.ColumnHeadersVisible = false; - dotGrid.EditMode = DataGridViewEditMode.EditProgrammatically; - dotGrid.Location = new Point(12, 26); - dotGrid.MultiSelect = false; - dotGrid.Name = "dotGrid"; - dotGrid.ReadOnly = true; - dotGrid.RowHeadersVisible = false; - dotGrid.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing; - dotGrid.RowTemplate.Height = 25; - dotGrid.SelectionMode = DataGridViewSelectionMode.CellSelect; - dotGrid.Size = new Size(639, 532); - dotGrid.TabIndex = 0; - dotGrid.TabStop = false; - dotGrid.VirtualMode = true; - dotGrid.CellMouseMove += dotGrid_CellMouseMove; - dotGrid.SelectionChanged += dotGrid_SelectionChanged; - // - // button1 - // - button1.Location = new Point(668, 41); - button1.Name = "button1"; - button1.Size = new Size(75, 23); - button1.TabIndex = 1; - button1.Text = "button1"; - button1.UseVisualStyleBackColor = true; - button1.Click += button1_Click; + this.dotPanel.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.dotPanel.AutoScroll = true; + this.dotPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.dotPanel.BackColor = System.Drawing.SystemColors.ControlDark; + this.dotPanel.Location = new System.Drawing.Point(12, 12); + this.dotPanel.Name = "dotPanel"; + this.dotPanel.Size = new System.Drawing.Size(527, 542); + this.dotPanel.TabIndex = 0; // // nudX // - nudX.Location = new Point(724, 100); - nudX.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); - nudX.Name = "nudX"; - nudX.Size = new Size(120, 23); - nudX.TabIndex = 2; - nudX.Value = new decimal(new int[] { 1, 0, 0, 0 }); - nudX.ValueChanged += nudX_ValueChanged; + this.nudX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.nudX.Location = new System.Drawing.Point(724, 12); + this.nudX.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.nudX.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nudX.Name = "nudX"; + this.nudX.Size = new System.Drawing.Size(55, 20); + this.nudX.TabIndex = 1; + this.nudX.Value = new decimal(new int[] { + 5, + 0, + 0, + 0}); // // nudY // - nudY.Location = new Point(724, 129); - nudY.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); - nudY.Name = "nudY"; - nudY.Size = new Size(120, 23); - nudY.TabIndex = 3; - nudY.Value = new decimal(new int[] { 1, 0, 0, 0 }); - nudY.ValueChanged += nudY_ValueChanged; + this.nudY.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.nudY.Location = new System.Drawing.Point(724, 38); + this.nudY.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.nudY.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nudY.Name = "nudY"; + this.nudY.Size = new System.Drawing.Size(55, 20); + this.nudY.TabIndex = 2; + this.nudY.Value = new decimal(new int[] { + 7, + 0, + 0, + 0}); + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(680, 14); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(38, 13); + this.label1.TabIndex = 3; + this.label1.Text = "Width:"; + // + // label2 + // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(677, 40); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(41, 13); + this.label2.TabIndex = 4; + this.label2.Text = "Height:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(677, 148); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(35, 13); + this.label3.TabIndex = 0; + this.label3.Text = "label3"; // // Form1 // - AutoScaleDimensions = new SizeF(7F, 15F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(940, 643); - Controls.Add(nudY); - Controls.Add(nudX); - Controls.Add(button1); - Controls.Add(dotGrid); - Name = "Form1"; - Text = "Form1"; - Load += Form1_Load; - ((System.ComponentModel.ISupportInitialize)dotGrid).EndInit(); - ((System.ComponentModel.ISupportInitialize)nudX).EndInit(); - ((System.ComponentModel.ISupportInitialize)nudY).EndInit(); - ResumeLayout(false); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(791, 566); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.nudY); + this.Controls.Add(this.nudX); + this.Controls.Add(this.dotPanel); + this.Name = "Form1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Form1"; + this.Load += new System.EventHandler(this.Form1_Load); + ((System.ComponentModel.ISupportInitialize)(this.nudX)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudY)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion - private DataGridView dotGrid; - private Button button1; - private NumericUpDown nudX; - private NumericUpDown nudY; + private System.Windows.Forms.Panel dotPanel; + private System.Windows.Forms.NumericUpDown nudX; + private System.Windows.Forms.NumericUpDown nudY; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; } -} \ No newline at end of file +} + diff --git a/McBitFont/Form1.cs b/McBitFont/Form1.cs index bb1cfee..1d919b4 100644 --- a/McBitFont/Form1.cs +++ b/McBitFont/Form1.cs @@ -1,77 +1,56 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; using System.Windows.Forms; namespace McBitFont { public partial class Form1 : Form { + + private int cellSize = 50; + private Panel[,] dots = new Panel[255,255]; + public Form1() { InitializeComponent(); - - // Setup the grid - dotGrid.ColumnHeadersDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(0xff, 0, 0, 0); - dotGrid.ColumnHeadersVisible = false; - dotGrid.RowHeadersVisible = false; - dotGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.None; - dotGrid.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None; - dotGrid.ColumnCount = 5; - dotGrid.RowCount = 7; - - dotGrid_updateCellSizes(); - } - - private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { - - } - - private void fillData() { - - } - - private void button1_Click(object sender, EventArgs e) { - - } - - private void dotGrid_CellMouseMove(object sender, DataGridViewCellMouseEventArgs e) { - int row = e.RowIndex; - int col = e.ColumnIndex; - DataGridViewCell cell = dotGrid.Rows[row].Cells[col]; - - if (e.Button == MouseButtons.Left && cell.Style.BackColor != Color.Black) { - cell.Style.BackColor = Color.Black; - dotGrid.InvalidateCell(col, row); - } - if (e.Button == MouseButtons.Right && cell.Style.BackColor != Color.White) { - cell.Style.BackColor = Color.White; - dotGrid.InvalidateCell(col, row); - } - dotGrid.Update(); - - } - - private void dotGrid_SelectionChanged(object sender, EventArgs e) { - dotGrid.ClearSelection(); - } - - private void dotGrid_updateCellSizes() { - for (int i = 0; i < dotGrid.ColumnCount; i++) { - dotGrid.Columns[i].Width = 50; - } - for (int i = 0; i < dotGrid.RowCount; i++) { - dotGrid.Rows[i].Height = 50; - } } private void Form1_Load(object sender, EventArgs e) { - nudX.Value = dotGrid.ColumnCount; - nudY.Value = dotGrid.RowCount; + int i, j; + + for (i = 0; i < (int)nudX.Value; i++) { + for (j = 0; j < (int)nudY.Value; j++) { + Panel p = new Panel(); + p.Parent = dotPanel; + p.Width = cellSize; p.Height = cellSize; + p.BackColor = Color.White; + p.Left = 5 + i * (cellSize + 1); + p.Top = 5 + j * (cellSize + 1); + p.Tag = i.ToString() + ',' + j.ToString(); + p.MouseMove += dot_MouseMove; + p.MouseDown += dot_MouseMove; + dots[i,j] = p; + } + } } - private void nudX_ValueChanged(object sender, EventArgs e) { - dotGrid.ColumnCount = (int)nudX.Value; - dotGrid_updateCellSizes(); + private void dot_MouseMove(object sender, MouseEventArgs e) { + Panel p = (Panel)sender; + + if (e.Button == MouseButtons.Left && p.BackColor != Color.Black) { + p.BackColor = Color.Black; + //label3.Text = "Mouse1 " + p.Tag; + //p.Update(); + } + if (e.Button == MouseButtons.Right && p.BackColor != Color.White) { + p.BackColor = Color.White; + //label3.Text = "Mouse2 " + p.Tag; + } + label3.Text = "MouseMove " + p.Tag; } - private void nudY_ValueChanged(object sender, EventArgs e) { - dotGrid.RowCount = (int)nudY.Value; - dotGrid_updateCellSizes(); - } } -} \ No newline at end of file +} diff --git a/McBitFont/Form1.resx b/McBitFont/Form1.resx index f298a7b..1af7de1 100644 --- a/McBitFont/Form1.resx +++ b/McBitFont/Form1.resx @@ -1,4 +1,64 @@ - + + + diff --git a/McBitFont/McBitFont.csproj b/McBitFont/McBitFont.csproj index b57c89e..ec5173e 100644 --- a/McBitFont/McBitFont.csproj +++ b/McBitFont/McBitFont.csproj @@ -1,11 +1,83 @@ - - + + + + Debug + AnyCPU + {7C01529E-4414-405F-9B57-19FA4AF8ED60} WinExe - net6.0-windows - enable - true - enable + McBitFont + McBitFont + v4.7.2 + 512 + true + true - + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + \ No newline at end of file diff --git a/McBitFont/Program.cs b/McBitFont/Program.cs index d273820..21cbe08 100644 --- a/McBitFont/Program.cs +++ b/McBitFont/Program.cs @@ -1,14 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + namespace McBitFont { internal static class Program { /// - /// The main entry point for the application. + /// Главная точка входа для приложения. /// [STAThread] static void Main() { - // To customize application configuration such as set high DPI settings or default font, - // see https://aka.ms/applicationconfiguration. - ApplicationConfiguration.Initialize(); + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } -} \ No newline at end of file +} diff --git a/McBitFont/Properties/AssemblyInfo.cs b/McBitFont/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b861e6f --- /dev/null +++ b/McBitFont/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Общие сведения об этой сборке предоставляются следующим набором +// набора атрибутов. Измените значения этих атрибутов для изменения сведений, +// связанных со сборкой. +[assembly: AssemblyTitle("McBitFont")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("McBitFont")] +[assembly: AssemblyCopyright("Copyright © 2023")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// COM, следует установить атрибут ComVisible в TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("7c01529e-4414-405f-9b57-19fa4af8ed60")] + +// Сведения о версии сборки состоят из указанных ниже четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Редакция +// +// Можно задать все значения или принять номера сборки и редакции по умолчанию +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/McBitFont/Properties/Resources.Designer.cs b/McBitFont/Properties/Resources.Designer.cs new file mode 100644 index 0000000..1abb47c --- /dev/null +++ b/McBitFont/Properties/Resources.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программным средством. +// Версия среды выполнения: 4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если +// код создан повторно. +// +//------------------------------------------------------------------------------ + +namespace McBitFont.Properties { + + + /// + /// Класс ресурсов со строгим типом для поиска локализованных строк и пр. + /// + // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder + // класс с помощью таких средств, как ResGen или Visual Studio. + // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen + // с параметром /str или заново постройте свой VS-проект. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возврат кэшированного экземпляра ResourceManager, используемого этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if ((resourceMan == null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("McBitFont.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Переопределяет свойство CurrentUICulture текущего потока для всех + /// подстановки ресурсов с помощью этого класса ресурсов со строгим типом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/McBitFont/Properties/Resources.resx b/McBitFont/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/McBitFont/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/McBitFont/Properties/Settings.Designer.cs b/McBitFont/Properties/Settings.Designer.cs new file mode 100644 index 0000000..bfdecbb --- /dev/null +++ b/McBitFont/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace McBitFont.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/McBitFont/Properties/Settings.settings b/McBitFont/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/McBitFont/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + +