Make used room smaller.

This commit is contained in:
Bruce
2026-04-14 16:32:45 +08:00
parent 686e08199c
commit 9fbcbdd7e9
7 changed files with 29 additions and 10633 deletions
-1
View File
@@ -41,7 +41,6 @@
this.Name = "ManagerShell"; this.Name = "ManagerShell";
this.PageScale = 125; this.PageScale = 125;
this.Text = "Form1"; this.Text = "Form1";
this.WindowIcon = ((System.Drawing.Icon)(resources.GetObject("$this.WindowIcon")));
this.Load += new System.EventHandler(this.ManagerShell_Load); this.Load += new System.EventHandler(this.ManagerShell_Load);
this.Resize += new System.EventHandler(this.ManagerShell_Resize); this.Resize += new System.EventHandler(this.ManagerShell_Resize);
this.ResumeLayout(false); this.ResumeLayout(false);
+14
View File
@@ -28,6 +28,20 @@ namespace Manager
InitSize (); InitSize ();
Text = Bridge.ResXmlStore.StringRes.Get ("MANAGER_APPTITLE"); Text = Bridge.ResXmlStore.StringRes.Get ("MANAGER_APPTITLE");
this.Load += Form_Load; this.Load += Form_Load;
try
{
if (this is WAShell.ModernForm)
{
this.WindowIcon = new Icon (Path.Combine (AppDomain.CurrentDomain.BaseDirectory, "icons\\32_manager.ico"));
}
}
catch
{
if (this is WAShell.ModernForm)
{
this.WindowIcon = this.Icon;
}
}
} }
private void InitSize () private void InitSize ()
{ {
File diff suppressed because it is too large Load Diff
-1
View File
@@ -41,7 +41,6 @@
this.Name = "ReaderShell"; this.Name = "ReaderShell";
this.PageScale = 125; this.PageScale = 125;
this.Text = "Form1"; this.Text = "Form1";
this.WindowIcon = ((System.Drawing.Icon)(resources.GetObject("$this.WindowIcon")));
this.Load += new System.EventHandler(this.ManagerShell_Load); this.Load += new System.EventHandler(this.ManagerShell_Load);
this.Resize += new System.EventHandler(this.ManagerShell_Resize); this.Resize += new System.EventHandler(this.ManagerShell_Resize);
this.ResumeLayout(false); this.ResumeLayout(false);
+14
View File
@@ -28,6 +28,20 @@ namespace Reader
InitSize (); InitSize ();
Text = Bridge.ResXmlStore.StringRes.Get ("READER_APPTITLE"); Text = Bridge.ResXmlStore.StringRes.Get ("READER_APPTITLE");
this.Load += Form_Load; this.Load += Form_Load;
try
{
if (this is WAShell.ModernForm)
{
this.WindowIcon = new Icon (Path.Combine (AppDomain.CurrentDomain.BaseDirectory, "icons\\32_reader.ico"));
}
}
catch
{
if (this is WAShell.ModernForm)
{
this.WindowIcon = this.Icon;
}
}
} }
private void InitSize () private void InitSize ()
{ {
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
1.0.0.0 1.0.0.1