![240](https://cdn2.jianshu.io/assets/default_avatar/6-fd30f34c8641f6f32f5494df5d6b8f3c.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
switch多用于表達(dá) 一個(gè)開(kāi)關(guān) 是兩步的 除了改變狀態(tài)以外還伴隨action feature 或 行為瓣戚。特殊功能 功能性switch 有些時(shí)候...
MessageBox只用于窗體還未完全加載建钥,不可忽視類(lèi)的消息來(lái)提示用戶(hù)使用躯泰。比如超時(shí)季俩。可以盡量不使用法褥。 Toast用于讓用戶(hù)知道什么狀態(tài)發(fā)生卖氨,不...
本文譯至 To var or not to var: how do C# developers use and misuse implicit ...
最基本的結(jié)束應(yīng)用程序的方法:首先拿到Application.Current 靜態(tài)實(shí)例(單例)// Programmatically shut d...
一個(gè)魔法IsPrimaryButtonEnabled="{Binding ElementName=ApiKey, Path=Text.Lengt...
優(yōu)先順序從上至下AddTransient<>();AddScoped<>();AddSingleton<>(); 使用注意残炮!用AddTransi...
//VS 默認(rèn)// HACK:// TODO:// UNDONE:// UnresolvedMergeConflict: //ReSharper...
hide 呀 close呀 1.這些方法和屬性很有可能是xaml里的屬性韭赘,此時(shí)可以使用binding或加一個(gè)convert 綁在vm中操作(網(wǎng)上...
Verbose: Anything and everything you might want to know about a running ...