This is the simplest but fully functional code of borderless window I have ever seen! Thank you very much.
@Beleverorig2 жыл бұрын
Awesome! I've created many UI's, but the way you did it was simply/quickly done and also really nice. Thanks.
@orakul_azovstal3 жыл бұрын
Thanks for the helpful videos, I've tried out a lot of your lessons and applied them to my forms.
@marwenhafnaoui2 жыл бұрын
In the new version of font awesome the name of the menu button is navicon instead of bars 😁😁😁
@LuzuVlogsGamer Жыл бұрын
This was amazing everything you need to know to create borderless UI Application :O
@BanditTech Жыл бұрын
Very useful tutorials! There are a ton of typos in the shared code though. Just need to follow the error messages and fix the spacing and remove extra characters
@c2mchosting2 жыл бұрын
BROOO thankyou so much, this really helped and the tutorial was really easy to use as well :)
@danielmosquera77023 жыл бұрын
Amazing WinForm 🤩 ----- This code can help you replacing the AdjustForm method adding these lines in Initial Form ------ Rectangle rectangle = Screen.PrimaryScreen.WorkingArea; rectangle.Height -= 1; this.MaximizedBounds = rectangle;
@RJCodeAdvanceEN3 жыл бұрын
Thanks for the suggestion, I think it would work, but it won't work on multiple monitors with multiple resolutions.
@feeldulfo93878 ай бұрын
Hi Guys! if your having problem with Aero Snap Window, and Resizing from the given source code. I just put this.FormBorderStyle = FormBorderStyle.Sizable; in the constructor! Hope it helps. public Form1() { InitializeComponent(); CollapseMenu(); this.Padding = new Padding(borderSize); //Border size this.BackColor = Color.FromArgb(0, 191, 99); //Border color this.FormBorderStyle = FormBorderStyle.Sizable; }
@corythompson84832 жыл бұрын
Same issue as Joris Beuls, and thanks to Fredo Scott for the work around. SC_MINIMIZE doesn't seem to be captured from the click event. I you restore the windows border and fire the standard windows control, the event is triggered. put a break point on "if (wParam == SC_MINIMIZE)" and see. I just don't know why
@najunajames50123 жыл бұрын
Thank you so much for this. You always guess right what I need to learn from you. Keep it up.
@iversithy19273 жыл бұрын
Well, one more reason to learn spanish. (Not just for Barcelona
@jangansotoy Жыл бұрын
Add this when facing issue on Maximize and Minimize Form private void MainForm_SizeChanged(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Normal) { formSize = this.ClientSize; } }
@danielaguzman2476 Жыл бұрын
thank you I've learned so much from you
@francoismat4402 жыл бұрын
It's really great videos. I do have a question, before you remove the title bar, you managed to have the title bar on the same color of your panel. How did you managed to do that ? Mine stay White no matter what I try to do.
@celtecarma2 жыл бұрын
Eres muy bueno, pensé que estaba en wpf, me sorprende ver lo que se puede hacer con winform :0
@keiryliza3 жыл бұрын
Thanks so much for your time, your videos are very good. Can you do a video developing an AutoUpdater app for our Desktop applications? We need some explication about.
@mr.theviolinmaster65962 жыл бұрын
Thank you so much dude.... Helped me a lot
@hubertkenobi7 Жыл бұрын
Awesome tuts! Can you make one tutorial explaining how to make a drag and drop sortable list?
@jessicawong15362 жыл бұрын
A question? The app goes to windows task bar after clicking minimized icon in right-up corner, but when you clicking app icon in windows task bar, the app form will show again , but size is very small, how to restore normal size?
@jaderson-dsnaveia3 жыл бұрын
Awesome! Thanks by your Great Video. I prefer from this form, less explication and more time spend to the main content. And if someone needs more tutorial, either can search after! Subscribed👍
@gizemdenizkoksal88153 жыл бұрын
Really i love you
@minhtranuc61683 жыл бұрын
So great sir!!
@coolwaterdvr Жыл бұрын
Awsome. Can you do a tutorial how to make a TabControl look modern?
@karlyleon57002 жыл бұрын
Hi! I LOVE YOUR VIDEO, thanks so much!
@oguzturkyilmaz5435 ай бұрын
Excellent . Thanks.
@saurabhtyagi70313 жыл бұрын
Very impressive...♥️♥️
@singlesolo9783 жыл бұрын
new sub for you 😃.Thank you for your tutorial.
@RJCodeAdvanceEN3 жыл бұрын
Welcome! :)
@muradlizad79368 ай бұрын
Wonderfull, thank you boss
@MrMaiminhtien3 жыл бұрын
Thanks for your video
@josefveselsky94264 ай бұрын
nice example thx
@kilaruraviteja96162 жыл бұрын
Thanks a lot for tutorials.Please help me to customize close ,maximize and restore buttons.
@selingungor89232 жыл бұрын
For Dll import class ; using System.Runtime.InteropServices;
@jamirush1082 жыл бұрын
Awesome ! I have a problem, when I click on another application the border reappears. Did I miss something ? Thank you !!
@niodev3 ай бұрын
Thanks😘
@Vaedan2 жыл бұрын
Hello, indeed as the rest said this is a nice video and i learned alot. I just noticed in your code to prevent the window from moving after a minimize or maximize action is a bug. When i minimize and reopen it my window is very small. Maximize function works fine. Any idea what is missing?
@fredoscott23462 жыл бұрын
Try changing const int SC_RESTORE = 0xF120; with const int SC_RESTORE = 0x09; Worked for me. Merry christmas :)
@geisonab2 жыл бұрын
I fixed the size problem of the maximized form with this code in the constructor. Rectangle rect = Screen.FromHandle(this.Handle).WorkingArea; rect.Width= rect.Width- borderSize; rect.Height= rect.Height- borderSize; this.MaximizedBounds = rect;
@mancharie1893 Жыл бұрын
u r the best
@ncrx72 жыл бұрын
When ı clicked any button, how do we make it switch to another view(like another canvas , for example when ı clicked home buton, the middle part will change, as if you have moved to a different page)
@serhatkaradag87862 жыл бұрын
Why sidemenü will be opened or closed to faster ? Why there is no anyeffect ? Like in iOs?
@kechkech73532 жыл бұрын
thank u teacher!
@pako_tube6898 Жыл бұрын
Please how dragging the the form from the custom title bar?
@Hal34329 Жыл бұрын
The resize doesn't work for me, no error, it just doesn't resize, I can use the Aero, but can't resize :(
@edmilson11783 жыл бұрын
Excelente 👏😀👏😀
@qnet49233 жыл бұрын
tnxs for video very helpful
@nan-syphotographsmemories2051 Жыл бұрын
I do hope you also make a video in vb
@abdullahiahmed38952 жыл бұрын
Is tNice tutorials the free version?
@WorldCount3 жыл бұрын
Good example! Upd. resize event: left to right - flicker, buttons and right border :( I don't cant fix it :((
@RJCodeAdvanceEN3 жыл бұрын
Try set the double buffer to true, or I recommend creating a new project.
@shikosherif88293 жыл бұрын
Can you add link for this icons !
@muhammadwajid38672 жыл бұрын
in my case button text not whowing when i load the form.plz help me about that
@gustavoleon72223 жыл бұрын
Good evening, my friend, a pleasure to greet you, your channel is spectacular, your contributions are great, but I would like an afvoe, that you help me with a video customize a TabControl, greetings and thank you very much for your contribution, forgive my bad English
@Sup3rS56 Жыл бұрын
Hello, the resizing area is very small and it's kinda frustating, is there a way to increase this size without increasing the borderSize?
@LeXYYiNSOMNIA3 жыл бұрын
As soon as I open a new form, the checkboxes for the previous form just get back to default, how can I hide the form and not closing the previous form?
@array68732 жыл бұрын
Can you provide the link to the VS source? Thank you
@rizwanzahir35013 жыл бұрын
Can you create a winform with smoothly rounded corners.
@sylascoker14833 жыл бұрын
The "snapping feature doesn't work for me unfortunately :(. Although Great video!
@cool-jd8hg3 жыл бұрын
Set the border to sizable and it will work
@aljohnjacinto55432 жыл бұрын
Good day! I've noticed that the loading of my form is extremely slow when I add an iconButton (about 8 seconds). Any idea what I did wrong?
@mohammedshareef3714 Жыл бұрын
I couldn't find ''bars" iconchar property. Then I used 'equals'
@rubenMiguel55 Жыл бұрын
like @marwenhafnaoui said: "In the new version of font awesome the name of the menu button is navicon instead of bars"
@edmilson11783 жыл бұрын
Can you put the project in the Github?
@RJCodeAdvanceEN3 жыл бұрын
Ok, I'll upload it later.
@elsam_2 жыл бұрын
@@RJCodeAdvanceEN so what is your github?
@shahidullahjan37832 жыл бұрын
Hello Sir, I have an issue when I add IconButton form fontAwesomesharp to my form and run it, the form scaling is changed and it appears much smaller than its original size, could you help me with this problem? thanks in adavance
@RJCodeAdvanceEN2 жыл бұрын
Hi, Could you send me screenshots to my email?
@MGMGn2 жыл бұрын
Same here, any solution ?
@junfengwei88773 жыл бұрын
How to get the source code
@LiLKartus2 жыл бұрын
Please control your music, I can't pay attention to the video, put something like Lofi or chill beats.
@ghimbir33853 жыл бұрын
How to delete the title box but let exit minimaze and maximaze buttons?
@RJCodeAdvanceEN3 жыл бұрын
Hi, thanks for watching my videos, I think doing that is impossible. But it would be great to do it, I'll investigate.
@learn94912 жыл бұрын
5:05 Code
@richerbod2 жыл бұрын
Look so i bought this and it isn't the best because the labels look absolutely trash! you cant even read the icons or text of labels or pictures~!
@nokodev2 жыл бұрын
For the WndProc you can save 4 lines of code by using this protected override void WndProc(ref Message m) { if (m.Msg != 0x0083 && m.WParam.ToInt32() != 1) base.WndProc(ref m); } You can short this to a single line.
@andozamhariroroyan4711 Жыл бұрын
the fontosum.sharp lib is gone? i already search in nuget and didnt find it
@TheMaxmecan2 жыл бұрын
//Keep form size when it is minimized and restored. Since the form is resized because it takes into account the size of the title bar and borders. if (m.Msg == WM_SYSCOMMAND) { /// /// Quote: /// In WM_SYSCOMMAND messages, the four low - order bits of the wParam parameter /// are used internally by the system.To obtain the correct result when testing /// the value of wParam, an application must combine the value 0xFFF0 with the /// wParam value by using the bitwise AND operator. int wParam = (m.WParam.ToInt32() & 0xFFF0); if (wParam == SC_MINIMIZE) //Before formSize = this.ClientSize; if (wParam == SC_RESTORE)// Restored form(Before) this.Size = formSize; } formSize is with some error = CS0103