diff --git a/RadioDJViewer/Form1.Designer.cs b/RadioDJViewer/Main.Designer.cs similarity index 77% rename from RadioDJViewer/Form1.Designer.cs rename to RadioDJViewer/Main.Designer.cs index f7dc675..a8f0c5d 100644 --- a/RadioDJViewer/Form1.Designer.cs +++ b/RadioDJViewer/Main.Designer.cs @@ -1,6 +1,6 @@ namespace RadioDJViewer { - partial class Form1 + partial class Main { /// /// Required designer variable. @@ -28,10 +28,17 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.SuspendLayout(); + // + // Main + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + this.Name = "Main"; + this.Text = "RadioDJViewer - OBS Text GDI"; + this.ResumeLayout(false); + } #endregion diff --git a/RadioDJViewer/Form1.cs b/RadioDJViewer/Main.cs similarity index 83% rename from RadioDJViewer/Form1.cs rename to RadioDJViewer/Main.cs index 0ee2e79..24c7d98 100644 --- a/RadioDJViewer/Form1.cs +++ b/RadioDJViewer/Main.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace RadioDJViewer { - public partial class Form1 : Form + public partial class Main : Form { - public Form1() + public Main() { InitializeComponent(); } diff --git a/RadioDJViewer/Main.resx b/RadioDJViewer/Main.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/RadioDJViewer/Main.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/RadioDJViewer/Program.cs b/RadioDJViewer/Program.cs index 816ca7c..9c30b33 100644 --- a/RadioDJViewer/Program.cs +++ b/RadioDJViewer/Program.cs @@ -16,7 +16,7 @@ namespace RadioDJViewer { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new Main()); } } } diff --git a/RadioDJViewer/RadioDJViewer.csproj b/RadioDJViewer/RadioDJViewer.csproj index 658093d..82944ca 100644 --- a/RadioDJViewer/RadioDJViewer.csproj +++ b/RadioDJViewer/RadioDJViewer.csproj @@ -46,14 +46,17 @@ - + Form - - Form1.cs + + Main.cs + + Main.cs + ResXFileCodeGenerator Resources.Designer.cs