How to Create a Modern Sliding Sidebar | C# Winform

  Рет қаралды 176,610

Coding Ideas

Coding Ideas

2 жыл бұрын

Thanks for watching. If you liked this video, make sure to subscribe for more

Пікірлер: 90
@hovac.
@hovac. Жыл бұрын
you know the tutorial finna be crazy when they ain't activate they windows
@meimashi
@meimashi 2 жыл бұрын
That's very helpful! Thank you!
@ulugbekakramov5030
@ulugbekakramov5030 Жыл бұрын
Ajoyib wonderful💥💥💥💥
@TheFuture36520
@TheFuture36520 Жыл бұрын
100% Genius Jeov whoo hoo brodie!
@TakeToDaSky
@TakeToDaSky Жыл бұрын
on right side, I use panel to load another form and it always blink or flickering every time when sidebar collapse or expand. do you have any tip to fix it?
@vladbalandin2630
@vladbalandin2630 2 жыл бұрын
As always, you are on top, thank you!
@coding_ideas
@coding_ideas 2 жыл бұрын
Thank you so much 🙂
@vladbalandin2630
@vladbalandin2630 2 жыл бұрын
It would also be informative to learn how to get rid of flickering when using the timer, i.e. when you set the timer interval from 1 to 100 and have a BackColor gradient when you press the button, the shape flickers.
@coding_ideas
@coding_ideas 2 жыл бұрын
@@vladbalandin2630 I never tried using panel with gradient color before, thanks for the suggestion i will try to use gradient color and try to fix flickering issue with timer control
@vladbalandin2630
@vladbalandin2630 2 жыл бұрын
@@coding_ideas I will look forward to it!
@vladbalandin2630
@vladbalandin2630 2 жыл бұрын
@@coding_ideas If it is still relevant, I ask you to consider the possibility of implementing a submenu not using DropDown, but by dynamically creating a panel with buttons, with a visibility interval of 2-5 seconds, by also implementing a timer through the component. that you end up with shortcuts when navigating around the workspace, i.e. when you click on the menu, a childForm will open in the workspace and when you select a component from the submenu, it will send it to the specified directory (this is if you implement the TabControl component in childForm)
@kayraavc6891
@kayraavc6891 Жыл бұрын
Good work man
@Yvngsick
@Yvngsick 2 жыл бұрын
High Quality Content, keep Going
@coding_ideas
@coding_ideas 2 жыл бұрын
Thank you
@rafaeldias_17
@rafaeldias_17 Жыл бұрын
When im doing this part 2:50 my code just dosnt work. The panels get all bugged and dissapear, even if I click ctrl + z they dont show again and my programm breaks...
@sajjadabdullah
@sajjadabdullah 2 жыл бұрын
Wonderful... Thanks
@c0stinhaaa
@c0stinhaaa Жыл бұрын
in 5:44 what is written after "sidebar.Width"?
@w3bt3chs3curity9
@w3bt3chs3curity9 Жыл бұрын
Grabe ka power bay support here
@coding_ideas
@coding_ideas Жыл бұрын
Thank you master 😊😊
@ahmedaldana151
@ahmedaldana151 2 жыл бұрын
Keep working 💪
@bryanjosuealbertoelena1232
@bryanjosuealbertoelena1232 2 жыл бұрын
cool
@jaysonarevalo3910
@jaysonarevalo3910 2 жыл бұрын
Thanks Bro. ❤️
@khaledaljadaan7826
@khaledaljadaan7826 Жыл бұрын
😍😍😍🤩
@starlyn1232
@starlyn1232 Жыл бұрын
Pure digital gold.
@starlyn1232
@starlyn1232 Жыл бұрын
Thanks.
@coding_ideas
@coding_ideas Жыл бұрын
You're welcome 😊
@aishaaq4647
@aishaaq4647 Жыл бұрын
I need to use it in multiple forms so I've inheritedit with those forms, the problems that it won't appear on top of those textboxes, rather behind them. How do I anchor it?
@coding_ideas
@coding_ideas Жыл бұрын
I will make another tutorial for that. :) .
@aishaaq4647
@aishaaq4647 Жыл бұрын
@@coding_ideas OK thanks a lot. ❣️
@aishaaq4647
@aishaaq4647 Жыл бұрын
@@coding_ideas Can you just brief me on it, I need to submit the project by Monday.
@Moha76b
@Moha76b Жыл бұрын
@@aishaaq4647 Wht kinda of project th!?
@user-qs1hx7vw6r
@user-qs1hx7vw6r 2 жыл бұрын
Очень круто!!! Пожалуйста продолжай!!!)
@edwardfreedom
@edwardfreedom 2 жыл бұрын
хрень собачья
@colinergn7730
@colinergn7730 Жыл бұрын
is there a way to avoid the « flickering » on the right when we expand the sidebar ?
@YouGotCreeped
@YouGotCreeped Жыл бұрын
Use Double Buffering. To enable double buffering in Windows Forms in Visual Studio, follow these steps: 1. Open your Windows Forms project in Visual Studio. 2. Open the form that you want to enable double buffering on. 3. Right-click on the form and select Properties from the context menu. 4. In the Properties pane, scroll down to the Behavior section. 5. Set the DoubleBuffered property to True. 6. Save and close the form. This will enable double buffering on your Windows Form, which can improve performance and reduce flickering when there are multiple controls or graphics being rendered on the form.
@user-iu8ps1yo1w
@user-iu8ps1yo1w Жыл бұрын
Hi, can i get the Home button image resolution in px? Thank you
@user-iu8ps1yo1w
@user-iu8ps1yo1w Жыл бұрын
Never mind, i found out, its 26x26 rigth?
@pushpendrasaini7427
@pushpendrasaini7427 Жыл бұрын
Useful thanks
@Scr1pted
@Scr1pted Жыл бұрын
Song Name?
@real_belmondziak
@real_belmondziak Жыл бұрын
Can you add method to change color of border Winform?
@Ju_mbo
@Ju_mbo Жыл бұрын
i got errors cannot implicitly convert type int to bool and non invocable member Size.Width cannot be used like a method. any fixes?
@zanilh2o
@zanilh2o Жыл бұрын
same error here
@cyris5255
@cyris5255 Жыл бұрын
i thought i was the only one. Have you guys fixed it yet?
@user-zk6rh2sx2l
@user-zk6rh2sx2l Жыл бұрын
Thank you very much for your video, which has made me benefit a lot. Can you share the material of the icon?
@coding_ideas
@coding_ideas Жыл бұрын
hello, thanks for watching . i use this tool apps.microsoft.com/store/detail/pichon-free-icons/9NK8T1KSHFFR?hl=en-ph&gl=PH
@user-zk6rh2sx2l
@user-zk6rh2sx2l Жыл бұрын
Hello. Thank you very much and look forward to your more wonderful videos.
@waleedbensumaidea3947
@waleedbensumaidea3947 Жыл бұрын
Why the first click on menu button doesn't work to collapse the menu.. But it works from the second click?
@2004Timber
@2004Timber Жыл бұрын
Try initializing the sidebarExpand bool as "true".
@HarjotSingh-fu2km
@HarjotSingh-fu2km Жыл бұрын
@@2004Timber I had same issue, Thank you so much your suggestion fixed this error.
@ehansytaxian
@ehansytaxian 2 жыл бұрын
Can I Please Get The Source Code!
@jay-annoliveros5358
@jay-annoliveros5358 2 жыл бұрын
Hello, I tried this but when I put a lot of control panel, and collapse the menu it will looks like its lagging, the collapse time is so slow even I set it the timer for 10. When I remove the control panel it will back to smooth. I hope you can help me, thank you so much.
@ireapzz_industries5407
@ireapzz_industries5407 Жыл бұрын
Jay-Ann Oliveros and wasim Alwisi What you can do is the following... Just below "bool sidebarExpand;' place the following code. It should reduce or completely stop the problem protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; // Turn on WS_EX_COMPOSITED return cp; } } The problem you are facing is called "flickering" and it happens when too much stuff gets "painted" onto your panels. It is not the kind of flicker that double-buffering can solve. Nor BeginUpdate or SuspendLayout. You've got too many controls, the BackgroundImage can make it a lot worse. It starts when the UserControl paints itself. It draws the BackgroundImage, leaving holes where the child control windows go. Each child control then gets a message to paint itself, they'll fill in the hole with their window content. When you have a lot of controls, those holes are visible to the user for a while. They are normally white, contrasting badly with the BackgroundImage when it is dark. Or they can be black if the form has its Opacity or Transparency Key property set, contrasting badly with just about anything. This is a pretty fundamental limitation of Windows Forms, it is stuck with the way Windows renders windows. Please respond to this comment if it fixed the problem.
@lololpopllll7353
@lololpopllll7353 Жыл бұрын
@@ireapzz_industries5407 FIXED IT THANKS BRO
@siminapopa9292
@siminapopa9292 Жыл бұрын
Does it work in 2015/2016 versions?
@coding_ideas
@coding_ideas Жыл бұрын
yes it should work in different versions
@siminapopa9292
@siminapopa9292 Жыл бұрын
@@coding_ideas thank you
@concocktenation
@concocktenation 2 жыл бұрын
i run and it has so many errors like ; and ) expected
@praveenvisit7156
@praveenvisit7156 Жыл бұрын
code didn't working
@minnhann128
@minnhann128 Жыл бұрын
Can I get the whole project ? please answer me 😞😞😞😞😞😞
@monmonyanos6600
@monmonyanos6600 2 жыл бұрын
Why it is not working for me
@Mr.Potato911
@Mr.Potato911 Жыл бұрын
how to make it when its full scren stretch out with it
@coding_ideas
@coding_ideas Жыл бұрын
Use dock or anchor
@PhongTran-th2qi
@PhongTran-th2qi Жыл бұрын
When my sub menu move, it does push another menu away. Can you help me
@coding_ideas
@coding_ideas Жыл бұрын
hello, did you use flowlayout panel ?
@PhongTran-th2qi
@PhongTran-th2qi Жыл бұрын
@@coding_ideas So i have to use flowlayout panel for container, right? Thank you !
@Smogi_5267
@Smogi_5267 Жыл бұрын
@@coding_ideas could you give me a download link to what you made ?
@monstarbog3049
@monstarbog3049 Жыл бұрын
Can I get the whole project
@coding_ideas
@coding_ideas Жыл бұрын
Hello, I don't have the source code anymore, but I will try to recreate it with source code.
@doesoftiktok5179
@doesoftiktok5179 Жыл бұрын
​@@coding_ideas why my " bool sidebarExpand;" , what that stand for??
@zaphix3625
@zaphix3625 2 жыл бұрын
Can you pls give us the icons your using in the vid
@coding_ideas
@coding_ideas 2 жыл бұрын
hello, thanks for watching . i use this tool apps.microsoft.com/store/detail/pichon-free-icons/9NK8T1KSHFFR?hl=en-ph&gl=PH
@zaphix3625
@zaphix3625 2 жыл бұрын
@@coding_ideas tysm I was looking for icons but couldn’t find any
@dendenstory3069
@dendenstory3069 Жыл бұрын
anong version ng VS gamit mo idol salamat
@coding_ideas
@coding_ideas Жыл бұрын
VS2019 :)
@senpaikuno6714
@senpaikuno6714 Жыл бұрын
Can anyone help me? stuck at 13:18 homeCollapse.Height is error
@ireapzz_industries5407
@ireapzz_industries5407 Жыл бұрын
Could you perhaps elaborate more on the problem you are having?
@senpaikuno6714
@senpaikuno6714 Жыл бұрын
@@ireapzz_industries5407 It's all good now, I mange to find a solution for it.
@itsarsh77
@itsarsh77 2 жыл бұрын
wheres source?
@Hmadaashraf
@Hmadaashraf Жыл бұрын
HOW YOU ADD BUTTON INSIDE PANEL IN 1:36
@coding_ideas
@coding_ideas Жыл бұрын
Just drag it inside the panel :) .
@Hmadaashraf
@Hmadaashraf Жыл бұрын
@@coding_ideas I`M USE VS 2022 I CANT MAKE IT -_-
@Hmadaashraf
@Hmadaashraf Жыл бұрын
@@coding_ideas CAN YOU SHARE THIS PROJECT ?
@coding_ideas
@coding_ideas Жыл бұрын
@@Hmadaashraf i will check if i still have it. 😅
@Hmadaashraf
@Hmadaashraf Жыл бұрын
@@coding_ideas ihope to found it
@ehansytaxian
@ehansytaxian Жыл бұрын
Please Post The Source Code
@henrikko029
@henrikko029 Жыл бұрын
Agreed, need to read with good quality
@edwardfreedom
@edwardfreedom 2 жыл бұрын
windows forms is dead, use wpf
@carboniits9719
@carboniits9719 2 жыл бұрын
windows forms is 2002, wpf 2006... more or less..
@edwardfreedom
@edwardfreedom 2 жыл бұрын
@@carboniits9719 lol no
@legendrblx712
@legendrblx712 2 жыл бұрын
@@edwardfreedom bro i use windows forms and make it look like WPF
ASP.NET Core Web API .NET 6 2022 - 4. Installing Entity Framework
26:44
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 6 МЛН
Create Custom Tabs using User Controls in Visual C#
10:44
C# Ui Academy
Рет қаралды 136 М.
CRUD with MVP pattern, C#, WinForms and SQL Server
23:35
RJ Code Advance EN
Рет қаралды 112 М.
Load multiple form in the panel using c#.net Tutorial for beginners
9:25
C#/ Modern Flat UI + Font Awesome Icons, Multicolor, Highlight button, WinForm
24:46
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 300 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,2 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,7 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН