mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-27 17:45:42 -05:00
Merge branch 'master' of https://github.com/itsmattkc/LEGOIslandRebuilder
This commit is contained in:
commit
be7916d50e
2 changed files with 6 additions and 6 deletions
|
@ -33,11 +33,6 @@ namespace Rebuilder
|
|||
Height = 540;
|
||||
CenterToScreen();
|
||||
|
||||
table.ReadOnly = true;
|
||||
table.RowHeadersVisible = false;
|
||||
table.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
table.AllowUserToResizeRows = false;
|
||||
|
||||
table.CellClick += new DataGridViewCellEventHandler(TableCellClicked);
|
||||
|
||||
table.Columns.Add("name", "Name");
|
||||
|
@ -81,6 +76,11 @@ namespace Rebuilder
|
|||
|
||||
Shown += new EventHandler(OnShow);
|
||||
FormClosing += new FormClosingEventHandler(OnClose);
|
||||
|
||||
table.ReadOnly = true;
|
||||
table.RowHeadersVisible = false;
|
||||
table.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
table.AllowUserToResizeRows = false;
|
||||
}
|
||||
|
||||
private void OnClose(object sender, FormClosingEventArgs e)
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace Rebuilder
|
|||
|
||||
TableLayoutPanel grid = new TableLayoutPanel();
|
||||
grid.Dock = DockStyle.Fill;
|
||||
grid.ColumnCount = 2;
|
||||
grid.ColumnCount = 3;
|
||||
grid.AutoSize = true;
|
||||
|
||||
// Create automatic evenly spaced layout
|
||||
|
|
Loading…
Reference in a new issue