Skip to content

Commit

Permalink
keep buttons in sorted order as they are added
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarid committed Apr 22, 2020
1 parent ea8484a commit 9cd0227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private void Add(Type[] forms)
};

panel.Controls.Add(button);
panel.Controls.SetChildIndex(button, panel.Controls.Count - 1);
}
}

Expand Down

0 comments on commit 9cd0227

Please sign in to comment.