45 Replies
$helloworld
Written interactive course https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/
Videos https://dotnet.microsoft.com/learn/videos
what video is for app dev?
all of them
"app dev" is the entire field of programming
oh ok thx
1. how new are you to C# and development in general?
2. when you say "app" what do you mean? "app" pretty much means everything. do you have something specific in mind? like do you want a desktop app with a graphical user interface? or a web app?
1: ehm pretty new with c# maybe its better to start with the basics i already have some good python, html and css knowledge 2: a desktop app with as goal know a startingup animation and some basic buttons
so, there are multiple GUI frameworks in C#
$guiframeworks
Windows Presentation Foundation (WPF):
+ Has a lot of resources online due to how old it is.
+ There are a lot of UI libraries for it
- No longer maintained, as in, didn't receive any major updates since a long time.
Universal Windows Platform (UWP):
+ Fast, and has a small binary size.
+ Has a nice UI out of the box (And also there's WinUI 2.7 to achieve Windows 11's looks and feel).
- Is packaged and requires a developer license.
Avalonia:
+ Cross-platform and is under active development.
- Relatively new, so there are not a lot of online resources for it.
Note: All of the mentioned GUI frameworks are XAML-based.
there is also Winforms (not listed above)
----
Winforms is generally the easiest GUI framework for beginners, but it is also the oldest and most limited framework. For example it doesn't have transparancy support, and it doesn't have GPU acceleration. It renders the view entirely on the CPU
thats not good
yes, but it is also very easy to learn and use
so it might not be a bad place to start, just go in with the intent to learn a little bit and then move on to other frameworks once you get a little more confidence
ok, you maybe know a good tutorial?
there are tons of tutorials on youtube for winforms.
do you have any idea what kind of app you want to make?
I personally hate videos... they are slow and they only teach to you follow directions... not problem solve on your own. but if you really want a video, this one might not be too bad: https://www.youtube.com/watch?v=0zLZQesgV5o
IAmTimCorey
YouTube
Intro to Windows Forms (WinForms) in .NET 6
Windows Forms, also known as WinForms, is one of the original project types in .NET. It is designed to be a rapid application development environment for desktop applications. Over the past twenty years, other desktop application types such as WPF, UWP, and now .NET MAUI have come along. So, when would we use WinForms? In this video, I am going ...
i have a design in my head, and my idear for the is is a kinda agenda, chat/call room in 1
maybe to big
just like the idear
it is good to have an idea and some passion π
i dont realy want a video a tutorial page is better for me but its just not for everything is 1
(:
Create a Windows Forms app with C# - Visual Studio (Windows)
Learn how to create a Windows Forms app in Visual Studio with C#, step-by-step.
then perhaps start there π
thank you
gonna do it rn
we also often help people in the voice chats with winforms/gui development
ok dont need it rn but if i walk to a problem, i wil do that
Also do you maybe know how to make a animation when you open the app and then opens the app
usually in coding there are multiple ways to do anything. yes I have several ideas
do you already have an animation?
Him its a little bit harder without transparancy
Ehm like a fuly animation or just the things i want to move and that i code the movement in c#
so that is a "no" you don't have an animation yet?
I can make you some examples but if I had something to go off of in terms of what you are looking for that would help
Ehm just a simple lets do white circle as background and then 3 letters the A, V and T (maybe a little bit to hard idk) and like the V under the circle and the A and the T above and they ale ho tho the circle
Idk if this text is good to read
It prob isbt
Isbt
Isnt
ale ho tho the circlewhat language is this
?
C#
no, i mean what is "ale ho tho" supposed to mean
I dont see it
ok
Lol
Nope
Is it doable @ZP ββββββ ΜΆΛΎΜΆΝβ β€ββββ ?
sure. If I can find the time to make an example I will ping you π
Ok, already thx!!!
Thx already*
You think you have time today:)
Here you go: https://github.com/ZacharyPatten/dotnet-winforms-examples
if you click the "Animated Logo On Launch" button it will show a loading gif. Hopefully that is along the lines of what you want. In that example I used a
.gif
image. you can make custom animations inside Winforms too, but a .gif
was the quickest for me to make an example for. you can use transparency as well.. but the gif I used there didn't have transparency, and although transparency is possible in winforms, you tend to get rough edges still (because it uses a transparency key, so anything not at the exact key will not be considered transparent)@theholyhuub just pinging you to ensure you see it
Ok thx!
Gonna try it out
Is it al the code?
Or just 1 file
Ok!
Thx
How to code the designer
the designer is an auto generated file in winforms
you dont have to code it
Ok so i dont have to care about that file
you do have to care about it, but it is auto generated. you need to spend some time and learn how windows forms development works.
make your own windows forms project and start learning π
visual studio has a designer that lets you click and drag and visually edit forms. as you edit the form in the designer the code behind those changes are automatically generated in the designer file by visual studio
I know i did tutorial 1 and 2 (doing 3 rn)
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.