Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Reduced a lot of repetition, reduced lines by over 200, and organised code a bit#140

Closed
A1ex-N wants to merge 3 commits intoChrisTitusTech:masterfrom
A1ex-N:patch-1
Closed

Reduced a lot of repetition, reduced lines by over 200, and organised code a bit#140
A1ex-N wants to merge 3 commits intoChrisTitusTech:masterfrom
A1ex-N:patch-1

Conversation

@A1ex-N
Copy link
Copy Markdown

@A1ex-N A1ex-N commented Jul 8, 2021

Created functions "Create-Button", "Create-Label", and "Create-Panel" to reduce the code repetition for such simple tasks. Also added a variable "$MSSansSerif" which is just "Microsoft Sans Serif". Overall lines have been reduced by 206 lines.

A1ex-N added 3 commits July 8, 2021 16:05
Created functions "Create-Button", "Create-Label", and "Create-Panel" to reduce the code repetition for simple tasks. Also added a variable "$MSSansSerif" which is just "Microsoft Sans Serif". Overall lines have been reduced by 206 lines.
Grouped all the buttons, panels and labels into sections. Has no affect on program execution obviously but it makes the code a lot cleaner
@A1ex-N A1ex-N changed the title Reduced a lot of repetition, reduced lines by 206 Reduced a lot of repetition, reduced lines by over 200, and organised code a bit Jul 8, 2021
@ChrisTitusTech
Copy link
Copy Markdown
Owner

Sadly I can't merge this request because I use PoshGUI that will re-bloat much of the GUI elements that you are cleaning up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants