add app icon, add settings saving, improve version detection

This commit is contained in:
Persephone Bubblegum-Holiday 2025-02-11 15:24:00 -07:00
parent e46a50b8f1
commit 66d458df47
10 changed files with 310 additions and 33 deletions

View file

@ -29,6 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.paintArea = new System.Windows.Forms.PictureBox();
this.timer = new System.Windows.Forms.Timer(this.components);
this.colorDialog = new System.Windows.Forms.ColorDialog();
@ -77,6 +78,7 @@
0,
0,
0});
this.brushSizeNumericUpDown.ValueChanged += new System.EventHandler(this.brushSizeNumericUpDown_ValueChanged);
//
// changeColorButton
//
@ -117,9 +119,9 @@
this.Controls.Add(this.brushSizeNumericUpDown);
this.Controls.Add(this.paintArea);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "MainForm";
this.ShowIcon = false;
this.Text = "Network Paint";
this.Load += new System.EventHandler(this.MainForm_Load);
((System.ComponentModel.ISupportInitialize)(this.paintArea)).EndInit();