All language subtitles for 04-Visual Studio 2022 for .NET WinForms developers (720p_30fps_H264-128kbit_AAC)

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

[Music]

hi everybody visual studio 2022 is

released and in this video you will see

all the new great features available

there for vinforms applications

very quickly about me my name is olia

gavish i'm senior program manager on.net

team at microsoft and i'm working on

winforms wpf.net maui so if you have any

questions on those areas feel free to

reach out to me on twitter i'll be happy

to talk to you

and today we will cover what new

features are coming with new visual

studio and new.net.net 6. what

improvements have we made in winforms

area

of course we will do some coding

together and i will tell you what to

explain what to expect next in the

future

so what is new

we enabled 64-bit support for vinforms

and wpf applications yes you asked us

for it for a long time and finally 64

bit is fully supported we also are

adding new apis per year requests and we

have application wide default font which

i will show you in my demo

we are working on the new ways how you

can

bind to your data in uvinforms

applications so i'll show you a new data

binding approach in winforms

also we added designer support for strip

control such as menu strip context menu

strip status strip and so on so now you

can edit those controls in the designer

using your mouse no need to do the code

behind it has full support in the new

designer and we keep adding new controls

as for the new controls in case you

missed the announcement we had we have a

new task dialog and that task dialog was

added completely by our open source

community constantine prizer was very

passionate about this area and he helped

us implement

an absolutely amazing advanced message

box you can think of it this way so this

task dialog can have footers headers

buttons checks boxes progress bars and

so on i absolutely love this control

check it out now you can customize

messages you're sending to your clients

another new control we have is webview2

and webview2 allows you to host web

application inside your vinforms

application like on my example i have a

twitter inside my winforms app webview

control based on new chromium device if

you heard about web browser that was

kind of a

parent to web view too and it is

available as a nuget package simply add

microsoft.web.web u2 to your project and

you will see it in the toolbox

and just drag it drop it on the form

start using web abilities in your

desktop application

okay what improvements have we made

since the last visual studio we fixed a

lot of reliability bugs so

initially our winforms designer that was

supporting.netcore.net

and dotnet6 now applications

uh was in the making right it was in the

preview so in dot net 6 and in visual

studio 2022 it is a much better mature

and reliable version so i highly

recommend if you're building your

winforms applications for core.net 506 i

really recommend you to update to visual

studio 2022. it is much much better

we improved multiple controls editing if

you select like 20 30 controls and try

to move them all these mechanisms are

much better in the latest visual studio

they're more memory efficient

also we have a third-party control sdk

improvements and we are constantly

working with our third-party control

vendors and they're developing their

libraries that support dotnet six

and we improve designer load fast

designer load now

happens much faster and it happens

asynchronously so when you open your

form for the first time before the

designer used to freeze and now you can

go and edit other files you can start

working without waiting for the designer

and designer will load up in on the

background it also happens much faster

individuals in the latest visual studio

all right let's continue talking about

performance we made significant

improvements in the latest.net.net 6 and

here you can see the comparison of

absolutely same application doing

absolutely same tasks but the in the

first time on the top level it

targets.net framework and on the lower

part it targets dotnet six so here you

have you can see a significant

improvement right like 262

allocations compared to just 77 4.06

by simply retargeting your app from

dotnet framework 2.6 your application

will be much faster

all right let's open visual studio and

do some coding

here i have a air quality application

but even before jumping into the

application i want to show you a very

cool feature that we added in bin forms

that is called implicit usings

so i opened my project file and here i

type

implicit usings

enable i'm gonna save everything and

what that will

make it will make visual studio to

figure out what libraries i need by

default and what i should not use

explicitly such as system or system

windows forms right i have my winforms

applications so it's obvious i'm gonna

need those

since i added that line in my project

file now i can easily remove that from

every class of my project and just have

more space for me to code

next thing and i don't know maybe you

have noticed it already that my tabs

have a different color i have yellow

tabs and purple tabs that is because we

added the feature to use different color

tabs for different projects it's very

easy to turn it on you simply go to

tools options

here tabs and windows

i make sure that colorize document tabs

by project is on and then you will have

that colorization as well i personally

find it super useful because when i have

15 20 tabs open it really helps me to

navigate between them

another great visual thing that we have

is different themes in visual studio

before we had just a few standard themes

but now

we did that in a collaboration with open

source community you can go to tools

theme and get more themes

and here you will find plenty of

different themes

to your taste

let's look in this one

yeah looks gorgeous to get it you simply

click download and it will appear in

your visual studio here and you can

easily switch between different themes

okay and back to vinform specific things

let me run the application and show you

what kind of app i'm having here

that is a air quality app as i mentioned

it shows air quality in different cities

in my case in usa and here i'm using

user controls every tile is a user

control that i developed in my vinforms

designer in visual studio 2022 and my

application is targeting.net 6 the

latest framework so in dot net 6 in

visual studio 2022 we have a full

support for user controls i used

designer i saw the user controls on the

form i was able to fine-tune the ui to

my liking so check it out

and i also have third party controls do

you see those amazingly looking round

buttons and round edit boxes

we have a support for different

third-party controls and we keep working

with them making sure that they have a

clear path to the latest.net to the

latest visual studio version if you're a

control vendor it doesn't matter if

you're large or small maybe just one

person developer

feel free to reach out to me if you have

any questions or issues in enabling your

application enabling your controls in

the latest visual studio with the latest

winforms.net six we want to make sure

that your control port and

bring joy to users with the latest stack

that is available

okay and moving on

here i notice

that every city

is a los angeles so that obviously is

some error i'm gonna debug it while my

application is still running so i'm

gonna bring my application to your site

i will go here and yeah

look i added this course to test the

code to test something and it just

overrides everything to los angeles let

me remove it

just save everything go back to my

application

and look now

every city is the right city and i did

that while my application was still

running this feature is called hot

reload so now hot reload works for

c-sharp as well and you can change your

c-sharp code your changes will be

applied immediately to your running

application here we have a hot reload

button let me open it

and i have hot reload on file save so i

didn't even need to click anything i

just

saved my changes and they're immediately

in my running application

okay

and let's go back here i'm pretty happy

with how my main form looks like but my

detailed form

this font looks pretty plain right i i

want to

make it pop up

for that we have a new api that sets

default font all over your application

and you can do it in one line

let me stop the application right now

and show you how you can do it well the

first thing you can just

in

your main

method you can type application set

default font and set it to the font that

you want and those changes will work in

your running application but they will

not work in the designer

and

later we added

ability to set the default font in the

project file and that will work in the

designer as well so by

adding

this line

application default font and i'm setting

it to some

font that will really pop up and let me

make sure i'm going to command this line

so

nothing here just one line in my project

file

i'm going to run the application

go to details tab

and there you go

a very curly font probably too curly for

a business app but for demo purposes i

would say work

and the last thing i wanted to show you

is the new way how you can add data

binding to your application

so let me open my visual studio

okay in my details tab i have provider

label and i want to date a binding to

some entity and the way i'm gonna do it

i'm gonna go to property window go to

very top open data binding text

and click add new object data source

this will bring up the new dialog that

we did not have before

where i can select what entities i want

to add as my

object data source

all right i chose that and i'm gonna go

inside my city air quality and choose

air provider

awesome

now

the only one thing i need to add in my

details form

when i'm creating it i'm gonna pass

this city air quality and i'm gonna set

city air quality binding source that got

created when i just clicked that thing

and properties i'm gonna set data source

to city air quality

and now when i run my application

and go to properties tab

you can see i have a air provider

so that is a new way how you can add

data binding to your bin forms let us

know what you think we will have a

detailed blog post that describes how

this data binding works and what you can

do with it you can do a lot of things we

keep innovating in this area so please

give us feedback let us know are there

other ways you want to work with data do

you like it anything that doesn't work

well for you we're working constantly

with our users to make sure that we're

building the right experience so

feedback is very appreciated

and with that let me go back to my

slides

and tell you what is coming in the

future to winforms so as i mentioned we

are working on data scenarios and really

appreciate your feedback we will keep

adding more things in this area

we are also working on high dpi

improvements we are going to support

pair monitor v2 and we're gonna do more

fixes and improvements in dotnet seven

time frame

we're also working on supporting the new

windows 11 look and feel if you had a

chance to check out windows 11 it has

absolutely new revolutionary look and

win forms will get that look as well we

have a few controls that

will have the old look right now and

we're gonna work to make them support

windows 11 look and feel

and

what else please give us feedback let us

know what you want us to work on to

improve which areas you need

some changes or innovation we're

constantly talking to the community and

we really appreciate when you help us

design the future of winforms

and today you can get visual studio 2022

and check out all the new features for

winforms as well as for every other

platform that it supports you can see

what is new in release notes or in blog

post and please give us feedback the

best way is to do it in visual studio on

your top right corner

click on this icon and report the

problem or suggest a feature we go

through every

item there you also feel free to reach

out to me on twitter if you have any

questions if something is blocking you

i'm always happy to help you

and check out our source code

winforms as well as wpf is open sourced

it's available on github slash.net

spinforms or slash.net wpf and become a

contributor we got a lot of

contributions in our repositories and we

really really appreciate your feedback

so develop the bin forms

future together with us and with that

that's it and thank you so much for your

time

ask questions give us feedback have a

great day

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.