disable window maximize and change border style
This commit is contained in:
parent
45e27ce178
commit
460a3dc5f7
7
main.cs
7
main.cs
@ -52,6 +52,13 @@ namespace DefectRand
|
||||
this.ClientSize = new System.Drawing.Size(288, 266);
|
||||
this.Controls.Add(this.textField);
|
||||
this.Controls.Add(this.randButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
// TODO: Change icon in taskbar without resx file
|
||||
// this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
// Icon appIcon = new Icon("./app.ico");
|
||||
// this.Icon = ((System.Drawing.Icon)(appIcon));
|
||||
this.Name = "MainForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "DefectRand - 1.0";
|
||||
|
Loading…
Reference in New Issue
Block a user