mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-12-16 10:32:58 +08:00
Add NavContainer splitter distance record
Fix not redrawing when Nav list size changed
This commit is contained in:
@@ -53,24 +53,23 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NavContainer.Panel1
|
||||
//
|
||||
resources.ApplyResources(this.NavContainer.Panel1, "NavContainer.Panel1");
|
||||
this.NavContainer.Panel1.Controls.Add(this.ListPages);
|
||||
//
|
||||
// NavContainer.Panel2
|
||||
//
|
||||
resources.ApplyResources(this.NavContainer.Panel2, "NavContainer.Panel2");
|
||||
this.NavContainer.Panel2.Controls.Add(this.TCMain);
|
||||
//
|
||||
// ListPages
|
||||
//
|
||||
resources.ApplyResources(this.ListPages, "ListPages");
|
||||
this.ListPages.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.ListPages.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
resources.ApplyResources(this.ListPages, "ListPages");
|
||||
this.ListPages.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
||||
this.ListPages.FormattingEnabled = true;
|
||||
this.ListPages.Name = "ListPages";
|
||||
this.ListPages.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListPages_DrawItem);
|
||||
this.ListPages.SelectedIndexChanged += new System.EventHandler(this.ListPages_SelectedIndexChanged);
|
||||
this.ListPages.SizeChanged += new System.EventHandler(this.ListPages_SizeChanged);
|
||||
//
|
||||
// TCMain
|
||||
//
|
||||
@@ -120,8 +119,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// MenuSpawnEntityFilter
|
||||
//
|
||||
resources.ApplyResources(this.MenuSpawnEntityFilter, "MenuSpawnEntityFilter");
|
||||
this.MenuSpawnEntityFilter.Name = "MenuSpawnEntityFilter";
|
||||
resources.ApplyResources(this.MenuSpawnEntityFilter, "MenuSpawnEntityFilter");
|
||||
//
|
||||
// FormMain
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user