dialogresult中文翻譯,dialogresult是什么意思,dialogresult發(fā)音、用法及例句
- 內(nèi)容導(dǎo)航:
- 1、dialogresult
- 2、C#中dialogresult中的用法
1、dialogresult
dialogresult發(fā)音
英: 美:
dialogresult中文意思翻譯
常見釋義:
對(duì)話
dialogresult雙語使用場(chǎng)景
1、The following code example creates a Button, sets its DialogResult property to OK, and adds it to a Form.───下面的代碼示例創(chuàng)建一個(gè)Button,將其DialogResult屬性設(shè)置為OK,并將其添加到Form。
2、At design time, you can set the DialogResult property for all of the Button controls on a dialog box.───在設(shè)計(jì)時(shí),可以設(shè)置對(duì)話框上所有Button控件的DialogResult屬性。
3、Navigate to the event handler or method that you want to set the DialogResult property for.───定位到要為其設(shè)置DialogResult屬性的事件處理程序或方法。
4、If the user pressed the Action key on the device or tapped ok, the dialog returns DialogResult. OK.───如果用戶按設(shè)備上的Action鍵或點(diǎn)擊OK,該對(duì)話框返回DialogResult.OK。
5、The form's DialogResult property is then set to the DialogResult of the button when the button is clicked.───然后,該窗體的DialogResult屬性將設(shè)置為該按鈕被單擊時(shí)的DialogResult。
6、Implementation is added to the DialogResult property and the NotifyDefault and PerformClick methods.───將實(shí)現(xiàn)添加到DialogResult屬性以及NotifyDefault和PerformClick方法。
dialogresult相似詞語短語
1、dialogtech logo───dialog tech徽標(biāo)
2、dialogtech careers───dialogtech職業(yè)生涯
3、dialogistic meaning───對(duì)話意義
4、dialogism definition───對(duì)話定義
5、dialogically synonym───對(duì)話同義詞
6、dialogical method───對(duì)話法
7、dialogues concerning natural religion───自然宗教對(duì)話
8、inner dialogue───內(nèi)心對(duì)話
9、dialogist journal───對(duì)話日記
10、make dialogues───進(jìn)行對(duì)話
2、C#中dialogresult中的用法
樓上的說的挺仔細(xì)了,這是一個(gè)例子,運(yùn)行下就知道了.
string
message
=
"You
did
not
enter
a
server
name.
Cancel
this
operation?";
string
caption
=
"No
Server
Name
Specified";
MessageBoxButtons
buttons
=
MessageBoxButtons.YesNo;
DialogResult
result;
//顯示MessageBox.
result
=
MessageBox.Show(this,
message,
caption,
buttons);
//如果點(diǎn)擊的是"YES"按鈕,將form關(guān)閉.
if(result
==
DialogResult.Yes)
{
//
Closes
the
parent
form.
this.Close();
}
本站其他內(nèi)容推薦
1、lamb lastly main-mast push canicular flirty biennial peristyle comfortable convection
2、mr right中文翻譯,mr right是什么意思,mr right發(fā)音、用法及例句
3、gvod縮寫是什么意思,gvod的全稱及含義,gvod全稱意思大全
4、KAT是什么意思,KAT中文翻譯,KAT發(fā)音、用法及例句
5、enduring是什么意思,enduring中文翻譯,enduring發(fā)音、用法及例句
6、雈[ huán ],雈字的拼音,部首,意思,雈字的筆順,筆畫順序怎么寫
8、余輝的英文,英語,after-glow是什么意思,after-glow中文翻譯,after-glow怎么讀、發(fā)音、用法及例句
9、春天的英文,英語,vernal是什么意思,vernal中文翻譯,vernal怎么讀、發(fā)音、用法及例句
10、masters
版權(quán)聲明: 本站僅提供信息存儲(chǔ)空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問題需要同本網(wǎng)聯(lián)系的,請(qǐng)發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。