Custom DateTimePicker - WinForm C#

  Рет қаралды 41,487

RJ Code Advance EN

RJ Code Advance EN

Күн бұрын

Пікірлер: 54
@credair
@credair 3 жыл бұрын
Really appreciate the tutorials on custom controls, really enjoy these. Ty !
@yucel7652
@yucel7652 Жыл бұрын
Harika eğitim videoları hazırlamışsınız. Çok arayıp bulamadığım konuları anlatmışsınız. Harikasınız, teşekkür ederim.
@adamonjourney3726
@adamonjourney3726 3 жыл бұрын
Thanks again for this great tutorial!
@nhanoan2406
@nhanoan2406 2 жыл бұрын
Thanks You ! But Text is overwritten how can I click on the text to edit the text as it was?
@WorldCount
@WorldCount 3 жыл бұрын
Can you tell me how to make an editable date? As in standart control.
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 жыл бұрын
It is possible, by setting the same distance between the text of the day, month and year that is displayed in the standard control. That way you would select the exact item in DateTimePicker.
@Mishganz
@Mishganz 2 жыл бұрын
Hi! Can you show, or explain exactly? Everyone here interested in this question)
@AhmedShamel
@AhmedShamel 2 жыл бұрын
Thanks There is one problem, When I try to change date by keyboard, the text does not highlighted Can you help me?
@francoismat440
@francoismat440 2 жыл бұрын
I have the same issue and can't figure out what to do. Did you find a proper solution ?
@AhmedShamel
@AhmedShamel 2 жыл бұрын
@@francoismat440 No, I could not find a complete solution
@Mishganz
@Mishganz 2 жыл бұрын
Up
@benjaminmahinay-b3j
@benjaminmahinay-b3j Жыл бұрын
@@Mishganz any update with this issue?
@jogostipassimlol9332
@jogostipassimlol9332 3 жыл бұрын
Finalmente voltando a ação! Estava com saudades dos seus vídeos, principalmente o espanhol
@Xlorate
@Xlorate 3 сағат бұрын
Hello 😉😉😉😉 The calendarIcon or ArrowIcon does not change
@torchok19081986
@torchok19081986 2 ай бұрын
thanks for tutorial . thanks to you i could create nicely modern datetimepicker. Any idea, how to use it in WPF Project? How to add created datetimepicker to WPF c# ?
@GerardoFerrari
@GerardoFerrari Жыл бұрын
Hello, thank you very much, I did it and it worked for me, but I have a question, how can I continue using the keyboard to scroll up and down the month and year? I can't select it with the mouse, thanks. Hola, muchas gracias, lo hice y me sirvió, pero tengo una pregunta, como puedo hacer para poder seguir usando el teclado para subir y bajar el mes y el año? No lo puedo seleccionar con el mouse, gracias.
@alvrey3390
@alvrey3390 3 жыл бұрын
Excelente material estimado, se podria modificar el estilo de los días y las flechas para recorrer los meses?
@mostafaelghoul
@mostafaelghoul 3 жыл бұрын
really thanks it will be great if you can help with the Data grid view
@KKSolutions-zz8zw
@KKSolutions-zz8zw 7 ай бұрын
Interested with this job congrats... passible to do using VB pls share the tutorial... thx...
@benjaminmahinay-b3j
@benjaminmahinay-b3j Жыл бұрын
how can to enable input date manually using keyboard, its hard to input birth year ex. 1960
@andreasmusic1222
@andreasmusic1222 2 жыл бұрын
Is there any way you can change the background color of the expanded view that appears when you click the control?
@cristiamrivera9266
@cristiamrivera9266 3 жыл бұрын
Excelente tutorial Esperamos en español
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 жыл бұрын
Muy pronto
@apologjohnpaula.7717
@apologjohnpaula.7717 2 жыл бұрын
What if I use only this to select time and I want the calendar icon to disappear?
@benjaminmahinayjr2475
@benjaminmahinayjr2475 Жыл бұрын
how to enable manual entry from the keyboard.
@petcharatkumsang8993
@petcharatkumsang8993 Жыл бұрын
Thank you , But pls help me I want to check change Time you have guide to me. thank you.
@MrDJJoys
@MrDJJoys Жыл бұрын
Hey, great tutorials! Have already learned a lot. However, I have problems with the "MonthCalendar", which pops up when you want to select the date, also adapt to the design. With the "MonthCalendar" element I have made progress. Maybe it would be possible to make a tutorial for it. It would make me very happy! Thanks a lot for the many tutorials!
@mitchell3088
@mitchell3088 2 жыл бұрын
When I use this code I get an error that pops up saying I do not have permission/access is denied once I build the program. I have tried creating the .cs file twice and I can get the program to run and have the DatePicker work. However once I begin adding more UI features this error pops up. This also popped up when I created a CustomButton.cs file on a the same project.
@adriangunevia229
@adriangunevia229 2 жыл бұрын
i have an error// my datepicker was never assigned / border color
@liran575
@liran575 3 жыл бұрын
Great tutorial. but i have a question how can i change the position of the calendar icon from right to left ?
@GerardoFerrari
@GerardoFerrari Жыл бұрын
In this Line the icon is drawn: //Draw icon graphics.DrawImage(calendarIcon, this.Width - calendarIcon.Width - 9, (this.Height - calendarIcon.Height) / 2); The first parameter is the icon, then X and Y, You can do something like this: graphics.DrawImage(calendarIcon, 3 , (this.Height - calendarIcon.Height) / 2); You have to to the same with the text, move the X to the right..
@MartinDomel
@MartinDomel 3 жыл бұрын
u can explain me ho u change title bar color ?
@adamonjourney3726
@adamonjourney3726 3 жыл бұрын
This title color is his windows standard title color. Has nothing to do here with code ;)
@Maik8885
@Maik8885 3 жыл бұрын
You can always make your form borderless, add a panel (Dock top) as your "new titlebar" and handle the drag of your form yourself via the MouseDown and MouseMove events. Code for the Drag here: #region Drag Form private Point MouseDownLocation; private void Drag_MouseDown(object sender, MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left) MouseDownLocation = e.Location; } private void Drag_MouseMove(object sender, MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left) this.Location = new Point(e.X + this.Left - MouseDownLocation.X, e.Y + this.Top - MouseDownLocation.Y); } #endregion
@DK-ij9sh
@DK-ij9sh 3 жыл бұрын
Great tutorial. Can we get Time as an input through this DateTimePicker instead of showing a calendar?
@Elzelgator
@Elzelgator 2 жыл бұрын
I wish.
@Mishganz
@Mishganz 2 жыл бұрын
Up
@camilom9083
@camilom9083 3 жыл бұрын
Thats great tutorial. You were very useful. Could you tell us how to have BorderRadius in the DateTimePicker? Excelente tutorial, me ha sido de mucha ayuda. Podrías decirnos cómo tener puntas redondeadas en el DateTimePicker? Gracias, saludos!
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 жыл бұрын
Hola, gracias por mirar los videos. Bueno si es posible, se hace de manera similar como se hizo el cuadro de texto con esquinas redondeados. Revise el video anterior.
@JiteeCheewapun
@JiteeCheewapun 5 ай бұрын
how to custom border radius datetimepicker?
@fakevng
@fakevng 3 жыл бұрын
can we make Calendar with 30days for every month (360 Calendar)
@beaufelia
@beaufelia 11 ай бұрын
Thank you so much
@primecineplexsubtitle9654
@primecineplexsubtitle9654 2 жыл бұрын
please custom datagrid view win form
@nhatnguyenminh2585
@nhatnguyenminh2585 3 жыл бұрын
I copied your code, it works fine. Image icon not showing, I don't know why it is, just assign image with link
@Sergi0Rubik
@Sergi0Rubik 3 жыл бұрын
Excelente, aun que no se puede utilizar para formato hora 😢
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 жыл бұрын
Asi es, tambien comento en el video. Pero puedes crear otro control personalizado exclusivamente para la hora (CustomTimePicker)
@mhho5117
@mhho5117 Жыл бұрын
v good
@dhanrajkumar8521
@dhanrajkumar8521 3 жыл бұрын
Please make a video on Combobox Design
@mot-trance
@mot-trance 3 жыл бұрын
TOP Thank you for that description ! I still don't understand why the hell such problems still in Visual Studio. I can change a property in VS-Designer but it still dosent work... Microsoft ignore that "Bugs" or what is the reason oft that ?
@robxxxx6987
@robxxxx6987 2 жыл бұрын
But this is a Date picker, not DateTime picker
@classperfume1318
@classperfume1318 3 жыл бұрын
thanks for code but when i try to convert code to vb.net apeer error in last line in Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs) the error in this line : graphics.DrawImage(calendarIcon, Me.Width - calendarIcon.Width - 9, (Me.Height - calendarIcon.Height) / 2) tell : Overload resolution failed because no accessible 'DrawImage' can be called without a narrowing conversion: 'Public Sub DrawImage(image As System.Drawing.Image, x As Integer, y As Integer)': Argument matching parameter 'y' narrows from 'Double' to 'Integer'. 'Public Sub DrawImage(image As System.Drawing.Image, x As Single, y As Single)': Argument matching parameter 'y' narrows from 'Double' to 'Single'. can you tell me how fix this error i use vb2013 another qustion can we make method to change backcolor for this datetimebicker to any color we want?
@RJCodeAdvanceEN
@RJCodeAdvanceEN 3 жыл бұрын
Try converting the X and Y parameters to double. graphics.DrawImage(calendarIcon, Me.Width - calendarIcon.Width - 9.0F, (Me.Height - calendarIcon.Height) / 2.0F) Regarding your other question, no need to create the method, there is already the SkinColor property to change the background color, so just use it. SkinkColor = Color.Red As shown in the video.
Custom RadioButton - WinForm C#
9:18
RJ Code Advance EN
Рет қаралды 20 М.
Custom TextBox - Border, Focus Color, Underlined Style - WinForm C#
19:09
RJ Code Advance EN
Рет қаралды 86 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
How to Create a Modern Sliding Sidebar | C# Winform
17:32
Coding Ideas
Рет қаралды 204 М.
Setting the Custom Format for the DateTimePicker in WinForms C#
7:10
The Right Way to Check for Null in C#
9:35
Nick Chapsas
Рет қаралды 99 М.
Custom Button - Rounded, Pill or Square Shape - WinForm C#
14:21
RJ Code Advance EN
Рет қаралды 165 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 114 М.
C# - Custom Notification Form in WinForm App C#
22:19
Code with HuSyN
Рет қаралды 113 М.
Create Custom Tabs using User Controls in Visual C#
10:44
Code with HuSyN
Рет қаралды 155 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН