Тёмный

Custom ProgressBar (No flicker) - WinForms C# 

RJ Code Advance EN
Подписаться 44 тыс.
Просмотров 27 тыс.
50% 1

🎬 [ Custom controls in Windows Forms and C# ]
⏮ PREVIOUS: Custom ComboBox: • Custom ComboBox - Icon...
⏭ NEXT: Circular Picture Box: • Circular Picture Box -...
▶ CURRENT VIDEO: How to create a Custom ProgressBar?
In this tutorial, you will learn how to create a custom ProgressBar with a very elegant and attractive appearance. Where we can personalize the colors or size of all the components.
More details:
- Change the color and height of the channel or tracker.
- Change the color and height of the slider or indicator.
- Show current value (Left, Right, Center, Sliding, Dot not show).
- Show the maximum value.
- Add a symbol or any text before or after the value.
- Change the color and size of the value text.
- Change the location of the value text.
- Change the Y-axis location of the value text.
- And it maintains all the functions and behaviors of the conventional progress bar, except the change of direction of the slider or indicator.
🔰 Get Code
rjcodeadvance.com/custom-prog...
🎦 See all custom controls:
• Custom Controls C#
😸Social networking
Facebook: / rjcodeadvanceen
Instagram: / rjcodeadvanceen
🎁 GET RJ CODE MODERN UI - M1 (55% OFF) [ C# || VB.NET ]
Learn how to create Custom Forms + Custom Controls + Theme and Style Settings
- Get Project: rjcodeadvance.com/tienda/
- Download Demo: drive.google.com/uc?id=1uo3yw...
Credits
Music: Cartoon - On & On (feat. Daniel Levi) [NCS Release]
• Cartoon, Jéja - On & O...
Code based on the ZOK example
stackoverflow.com/a/51347694

Опубликовано:

 

7 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@joaquim14acj
@joaquim14acj 2 года назад
Your tutorials are the best! Thank u!
@adamsulc3343
@adamsulc3343 Год назад
Amazing tutorials, thank you!
@ErrorProviderSaYarChit
@ErrorProviderSaYarChit 2 года назад
thanks so mach for your tutorials
@furkanculhaoglu2758
@furkanculhaoglu2758 3 года назад
you produce great content
@beamed5865
@beamed5865 2 года назад
Can you please create a custom track bar/ slider please i also love your tutorials
@jasonport6691
@jasonport6691 Год назад
great tutorial as usual, just one question, i want to use it on a splash screen with an image background however the control does not support transparent backcolor. is this something that can be changed to suit?
@mcqskills
@mcqskills 3 года назад
Hi, Bro h r u. I like u r tutorials on c# amazing very beautiful u have very good knowledge about c# programming I've one request for u Please create an android app development using XAMARIN c# hope so
@luissan6798
@luissan6798 3 года назад
very good your videos if you could make a custom tab control video
@rickyvictoriano5775
@rickyvictoriano5775 3 года назад
Hi! Is it possible to put the progress bar vertical?
@martinqmtakacs4145
@martinqmtakacs4145 2 года назад
You could do circle progress bar :)
@adityanugroho2945
@adityanugroho2945 2 года назад
Hi sir, can i ask a question?. In the showvalue.slider how to make Value Text to the same line with the progress bar and the posisition is right after the progress bar? sorry if my english is bad, hope you understand what i mean. Thankyou
@okmr.2073
@okmr.2073 Год назад
First I really thank you for your effort. and I have a question. when form resizes(smaller or larger), this new progressBar control cannot redraw it's own area. I found it's reason. [stopPainting] , [paintBack] make this issue. How can we fix both issue? redrawing and blinking.
@orakul_azovstal
@orakul_azovstal 3 года назад
Или так: public static class ModifyProgressBarColor //ИЗМЕНИЕНИЕ ЦВЕТА ПРОГРЕСС БАРА { [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)] static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr w, IntPtr l); //ИЗМЕНИЕНИЕ ЦВЕТА ПРОГРЕСС БАРА public static void SetState(this ProgressBar pBar, int state) { SendMessage(pBar.Handle, 1040, (IntPtr)state, IntPtr.Zero); //ИЗМЕНИЕНИЕ ЦВЕТА ПРОГРЕСС БАРА } } и это в любой обработчик: progressBar1.SetState(2); //ИЗМЕНИЕНИЕ ЦВЕТА ПРОГРЕСС БАРА Обратите внимание на второй параметр в SetState, 1 = нормальный (зеленый); 2 = ошибка (красный); 3 = предупреждение (желтый)
@crab4309
@crab4309 4 месяца назад
what's extenbsion for color preview?D
@halily.2626
@halily.2626 2 года назад
thanks a lot. I wonder something, I did it step by step in my application. It works well. progressbar is tab 2 in my application. If I switch tab and come back to tab 2, complete color (back color) of progressbar is filling with blue. I couldn't solve the problem. Do you have an idea ? thanks in advance
@Codezii_games
@Codezii_games Год назад
its can be the force color
@abdirahmanabdikadir7882
@abdirahmanabdikadir7882 3 года назад
Circle Progress and Charts Add the tutorial Sir
@legendevent3911
@legendevent3911 2 года назад
Everytime i try to drag and drop the progressbar it says: Error loading toolbox item "RJProgressBar".It will be removed from the toolbox. What did i do wrong? Im using visual studio 2019
@jasonport6691
@jasonport6691 Год назад
you need to rebuild the project before you can use custom controls.
@mrmakinist
@mrmakinist Год назад
Pleasss radialbar chart
@mrmakinist
@mrmakinist 3 года назад
pleas round track bar
@francescogranozio2780
@francescogranozio2780 3 года назад
How did you change windows control box color from white to yellow?
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 года назад
In the latest windows 10 updates, it is possible to customize the colors. I suppose you are using the first version of W10, where the color of the title bar is white, and it is not possible to change it.
@francescogranozio2780
@francescogranozio2780 3 года назад
@@RJCodeAdvanceEN do you know if it's possibile to change it in a windows form application?
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 года назад
There is no function for that, however you can create a custom title bar, as shown in this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5AsJJl7Bhvc.html To remove the top thin bar, remove the border of the form : FormBorderStyle=None.
@antennistateleves3210
@antennistateleves3210 Год назад
not function when minimize windows! the progress bar disappears when minimize windows!!
@betterhealthy1203
@betterhealthy1203 3 года назад
Show me customize Usercontrols
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 года назад
It was done in the previous videos. Custom ComboBox, Custom TextBox & Rounded TextBox.
@worbarry9735
@worbarry9735 Год назад
ffs all this just to change bar colour lol
Далее
Я тоже так могу
00:12
Просмотров 1,4 млн
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Custom DateTimePicker - WinForm C#
15:06
Просмотров 38 тыс.
C# Tutorial - Progress Bar | FoxLearn
10:15
Просмотров 108 тыс.
WPF C# Professional Modern Flat UI Tutorial
36:44
Просмотров 805 тыс.
CRUD with MVP pattern, C#, WinForms and SQL Server
23:35
Я тоже так могу
00:12
Просмотров 1,4 млн