Great job, but some improvement could be made like having a single method "loadPanel" to load whatever you want to load :D Here's what i've done. First, you define every form you want to load, within the class, instead of defining them at the "Click" method level. This way, each form keep their state (UNKNOWN asked for that 2 months ago). frmDashboard frmDashboardWindow = new frmDashboard() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; frmSettings frmSettingsWindow = new frmSettings() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; Then, define this method: private void loadPanel(string iTitle, System.Windows.Forms.Form iForm) { lblTitle.Text = iTitle; this.pnlFormLoader.Controls.Clear(); this.pnlFormLoader.Controls.Add(iForm); iForm.Show(); } Then in every Button Click method, just call it like this: loadPanel("Dashboard", frmDashboardWindow) or loadPanel("Settings", frmSettingsWindow)
@christiandebellefeuille32453 жыл бұрын
well, could do even better. Just define a dictionnary of Forms, and have the title to be the key. private Dictionary screens = new Dictionary(); Populate the dictionary like this: screens.Add("Dashboard", new frmDashboard() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }); screens.Add("Settings", new frmSettings() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }); Add the first line to the loadPanel, and remove it's 2nd parameter: private void loadPanel(string iTitle) { System.Windows.Forms.Form iForm = screens[iTitle]; lblTitle.Text = iTitle; this.pnlFormLoader.Controls.Clear(); this.pnlFormLoader.Controls.Add(iForm); iForm.Show(); } then call it like this: loadPanel("Dashboard")
@anycolouryoulike91603 жыл бұрын
noice
@ivanneshkov9363 Жыл бұрын
very helpful and useful, thank you for uploading great content!
@MrMemo03252 жыл бұрын
How do you make the form able to be dragged?
@alexwang75573 жыл бұрын
On your dashboard form, what control(s) or NuGet package do you recommend that can actually plot some meaningful graphs instead of just a picture control having a static image?
@Romlingen3 жыл бұрын
Great GUI design, but teaching people this much copy/paste is not good. Create common functions instead.
@wuzz57033 жыл бұрын
u old
@umeicrazy95673 жыл бұрын
Thx very much!
@JasonLeePascal3 жыл бұрын
Can u make a tutorial to make a few settings like dark/light mode or background music/login sound
@CodeCraks3 жыл бұрын
Yeah Sure
@mrfred57063 жыл бұрын
Hello, I have a problem with navigation menu: after adding formloader color of the button is missing, what can i to do?
@CodeCraks3 жыл бұрын
Are you talking about the the menu buttons back color
@wuzz57033 жыл бұрын
make part 3 plz
@shawenahmed32543 жыл бұрын
great👍
@emanuelcristianborz2463 жыл бұрын
I can’t set rgb colors code or any combination on properties… do i need an extension or something else? I have just that three options… Thank u!
@CodeCraks3 жыл бұрын
No
@JasonLeePascal3 жыл бұрын
Ist it possible to combine the register/login with the Gui ?
@CodeCraks3 жыл бұрын
Possible but it will get more complicated
@sictInsights4 жыл бұрын
wow nice
@CodeCraks4 жыл бұрын
Thanks
@bychrise.28373 жыл бұрын
PLS REUPLOAD THE PROJECT I CANT DOWNLOAD Googledrive says its Infected and only the admin can donwnload infected files pls reuploasd thx
@ethanchua714 Жыл бұрын
i keep having an ArgumentException when running the line "this.PnlFormLoader.Controls.Add..." any ideas how to troubleshoot this ?
@UNKNOWN-yu5xj3 жыл бұрын
When you move to another form, the form is initialized. I want to keep it in a state.
@christiandebellefeuille32453 жыл бұрын
See my commetn if you haven't found the solution yet... but it was definitely an easy thing to find
@gorilla23432 жыл бұрын
when i open the app the main frame doesnt open how can i fix this?
@alexefe69723 жыл бұрын
I have problem with the From 4_vrb..... from boarderstyle= fromboarderstyle.none;
@CodeCraks3 жыл бұрын
Check out the project files link given below in the description
@Timmyyyyy3 жыл бұрын
This might be an odd request but can you show/tell me how I can inject a Dll using this
can you make a vid on how like you can make a login page leading to the Dashboard page also like displaying the username on the username spot?
@CodeCraks3 жыл бұрын
Can i will in the next video
@wuzz57033 жыл бұрын
@@CodeCraks O
@MB-hg3lh8 ай бұрын
Why can't I move mine around?
@sahaljamaica3 жыл бұрын
Where i can get Icons pro-like :)
@CodeCraks3 жыл бұрын
At freepik.com
@hdworkshop71154 жыл бұрын
When you click button there's no BackColor Can you explain me why? Btw. your videos are great :D
@CodeCraks4 жыл бұрын
Because earler in the part 1 video there are no multiple forms were open so the back color changes when it was active. In this it forces on the multiple form thats why the back color dosent work
@zexceedd5529 Жыл бұрын
@@CodeCraks hey are you still here? I can't solve this problem, how can I fix this? thanks
@melvinarkegren5143 жыл бұрын
My boards zooms in when I start the program. I can just see a half of the boards. Why?
@CodeCraks3 жыл бұрын
Boards?
@melvinarkegren5143 жыл бұрын
@@CodeCraks I fixed it
@wuzz57033 жыл бұрын
hey dude this doesnt work private void BtnCalender_Click(object sender, EventArgs e) { lblTitle.Text = "Calender"; this.PnlFormLoader.Controls.Clear(); frmCalender FrmDashboard_Vrb = new frmCalender() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None; this.PnlFormLoader.Controls.Add(FrmDashboard_Vrb); FrmDashboard_Vrb.Show(); i did it and it doesnt redirect me to my form
@kalipsotr3 жыл бұрын
Download link don't working, please part2 download mega link.
@CodeCraks3 жыл бұрын
It’s working
@bathiyapulasthi87482 жыл бұрын
where is the Project files and Resources?
@CodeCraks2 жыл бұрын
In the Description
@Ninja_bit3 жыл бұрын
can you do it in python?
@CodeCraks3 жыл бұрын
Sry dude I’m still not good in python
@andrebezerra13963 ай бұрын
your website is not really working
@NEXC3 жыл бұрын
hello can you please reupload source file
@CodeCraks3 жыл бұрын
It’s totally working right the The source link. then why?
@NEXC3 жыл бұрын
@@CodeCraks no it is not working, the website is down and the Google drive link has been removed 😭 :( Please can you reupload to any other file sharing site like gofile or sql.gg and send again!! ❣️
@CRA_CKz_alt3 жыл бұрын
@@CodeCraks it's not working please just reupload it
@jazzrox123 жыл бұрын
the download does not work
@CodeCraks3 жыл бұрын
Try again
@jazzrox123 жыл бұрын
@@CodeCraks i have they still dont work
@abelsanca64033 жыл бұрын
@@CodeCraks the download does not work :c
@CodeCraks3 жыл бұрын
You mean the source code file?
@jazzrox123 жыл бұрын
@@CodeCraks yes
@matastunkevicius35573 жыл бұрын
Looks good but this has so many bad practices it's pretty sad
@christiandebellefeuille32453 жыл бұрын
I always love people complaining but not giving their solution to a problem. So easy to drop a single Bomb like this :D Good job Sherlock
@asimshahzad5158 Жыл бұрын
dear what is the password of zip file?
@youssef87193 жыл бұрын
Linke dont working
@CodeCraks3 жыл бұрын
What do you mean? It's working Does it show any error or broken link?
Check the from or components property (lock) set it to false
@JasonLeePascal3 жыл бұрын
@@CodeCraks nope that dont worj, I mean Like when you Test/start the Gui i cant move it with my mouse
@CodeCraks3 жыл бұрын
Ya you should add a code to do that
@JohnWick-pr8oh3 жыл бұрын
I cant really recommend this for learning anything in C# sadly.
@lumpyren2 жыл бұрын
Dude requires a sign up on his website to get the code, and then still doesnt let you download the code. Very scammy and looks like he is collecting email accounts.