Is it possible for you to go further to not jsut drawing but make an animation drawing app that will export gif image at the end? Like Gartic Phone animation? How do I approach this?
@@kingcreatez4827 It's been a while since I looked at this video, but basically just reset as many variables and things as possible back to 0 or null. You will have to tinker with it but once you call clear it should be the same values as when the app loaded in the first place
@@ShaunHalverson so i tried resetting all the variables but that didn't work, so i did a bit more research and found out that i had to just clear all the graphics on the panel, i can do this by writing this: canvas.Invalidate();
Nice one! Also, very interesting to see that you do all this without using a bitmap. All comparable videos also use a bitmap object - need to check immediately whether I can get rid of this!
Hello, great video. May I offer some constructive feedback. I guess I won't wait for an answer band offer it anyway. It's not on the video, video was great, it more the channel. Your videos cover a variety of topics. Unboxing, C#, HTML etc. I suspect people are less likely to subscribe unless almost every video you make is of interest to them. If it was a pure c# channel for example, those that are learning c# will likely enjoy every video you make. But they don't want dozens of notifications about stuff they are not interested in. I could be wrong. I have no experience. I've noticed a few TH-camrs have more than one channel and I suspect this is the reason.
Thanks Richard. You make a good point and I have been debating about this lately. I’m trying to cover coding topics as a whole, but I could see a more specific channel being useful as well
For anyone who wants to make a button that imports images, make one and then put the following code: OpenFileDialog openFileDialog1 = new OpenFileDialog(); if (openFileDialog1.ShowDialog() == DialogResult.OK) { openFileDialog1.Title = "Open"; string filePath = openFileDialog1.FileName; canvas.BackgroundImage = Image.FromFile(filePath); }
@@ShaunHalverson I'd really appreciate it that Since I'm working on my graduation project which include the drawing functions. The only approach i have come to so far by making the pen color white which is not going to work if I draw on pictures😁, and thanks for your interesting
docs.microsoft.com/en-us/dotnet/desktop/winforms/input-keyboard/how-to-handle-forms?view=netdesktop-5.0 Try looking at that or.... www.codegrepper.com/code-examples/csharp/how+to+detect+if+a+key+is+pressed+in+c%23
I don’t think there’s an easy way (that I can think of) but the easiest non-code way is to literally take a snip of the screen and paste it in paint, save it, then print the PNG
Hey man, it's an excellent job, I would like to know how I would do so that the program only allows one line to be drawn at a time, and the previous line will be deleted when it draws a new one
I was waiting for the joke at blackbox, always comes in handy when your plane goes missing!
thank you, i was spending so much time without any improvment
How do you not have more likes when you did a EXTEMELY AWSOME good job!
Thank you!! You’re too nice lol
how can we create our costume shape tools to use them for painting
Is it possible for you to go further to not jsut drawing but make an animation drawing app that will export gif image at the end? Like Gartic Phone animation?
How do I approach this?
This code only working for line drawing Can you tell me how create dot . Any suggestions please
Thanks again Shaun!
Bruhh u are soo underrated man!!!!
Thank you!! :)
@@ShaunHalverson haha no probs
@@ShaunHalverson can you please tell me how i can make a clear function?
@@kingcreatez4827 It's been a while since I looked at this video, but basically just reset as many variables and things as possible back to 0 or null. You will have to tinker with it but once you call clear it should be the same values as when the app loaded in the first place
@@ShaunHalverson so i tried resetting all the variables but that didn't work, so i did a bit more research and found out that i had to just clear all the graphics on the panel, i can do this by writing this:
canvas.Invalidate();
so for some reason the colour wont change when i select it, help!
What line are you editing?
Cool. I finally did it =) Thx man =)
Thx soooooo much!!!!!!. It's really Great
thanks a lot bro ! You Greate Teacher :) Yay
Nice video but I need help with smth, how can I make a dot when I simply click once and that's it
Wonderful! Thanks so much!
Thanks!
Nice one! Also, very interesting to see that you do all this without using a bitmap. All comparable videos also use a bitmap object - need to check immediately whether I can get rid of this!
Oh, and of course I agree with all the others: How can it be that a channel like this has such a low number of subscribers?!?
Writing a few more comments and hoping that it helps pushing your channel! 😁
Hello, great video.
May I offer some constructive feedback.
I guess I won't wait for an answer band offer it anyway.
It's not on the video, video was great, it more the channel.
Your videos cover a variety of topics. Unboxing, C#, HTML etc.
I suspect people are less likely to subscribe unless almost every video you make is of interest to them.
If it was a pure c# channel for example, those that are learning c# will likely enjoy every video you make.
But they don't want dozens of notifications about stuff they are not interested in.
I could be wrong. I have no experience.
I've noticed a few TH-camrs have more than one channel and I suspect this is the reason.
Thanks Richard. You make a good point and I have been debating about this lately. I’m trying to cover coding topics as a whole, but I could see a more specific channel being useful as well
For anyone who wants to make a button that imports images, make one and then put the following code:
OpenFileDialog openFileDialog1 = new OpenFileDialog();
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
openFileDialog1.Title = "Open";
string filePath = openFileDialog1.FileName;
canvas.BackgroundImage = Image.FromFile(filePath);
}
Thanks bro for this ,
How can we make eraser?
I think its possible, but I would have to look into how to do that!
@@ShaunHalverson I'd really appreciate it that
Since I'm working on my graduation project which include the drawing functions. The only approach i have come to so far by making the pen color white which is not going to work if I draw on pictures😁, and thanks for your interesting
Also, how can i make it check if a certain key is pressed?
docs.microsoft.com/en-us/dotnet/desktop/winforms/input-keyboard/how-to-handle-forms?view=netdesktop-5.0
Try looking at that or....
www.codegrepper.com/code-examples/csharp/how+to+detect+if+a+key+is+pressed+in+c%23
Dude how do you not have more subs?
Hahah idk but I’m going to keep trying for more! Thanks for your support!
Is there an easy way to output the canvas to a printer?
I don’t think there’s an easy way (that I can think of) but the easiest non-code way is to literally take a snip of the screen and paste it in paint, save it, then print the PNG
@@ShaunHalverson I actually just kinda figured that out. Thanks for the quick reply. Your videos are concise and to the point! Very nice!
@@victorbied1 thank you so much! Feel free to let me know if you need any more help as well!
Great Video nice channel
Thank you very much!
Hey man, it's an excellent job, I would like to know how I would do so that the program only allows one line to be drawn at a time, and the previous line will be deleted when it draws a new one
plesee canyou send me the code
Hi how can I add something to let me change the opacity of my pen
Great video by the way
Hi can you make a tutorial on how to add different kinds of brushes?
You should never draw objects outside of the OnPaint method of a PictureBox, so using the CreateGraphics method is wrong.
Is there a way to do this using C++, instead of C#?
Can you do a tutorial on how to make a sizer on the pen (make the pen a bigger size)
Make a tutorial on this how it works!