(´・∀・`) JScript .NET スレッドat TECH(´・∀・`) JScript .NET スレッド - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト90:デフォルトの名無しさん 06/09/25 01:22:02 ダイアログの表示だけなら // monadialog.js import Accessibility; import System.Drawing; import System.Windows.Forms; var f: Form = new Form(); f.Size = new System.Drawing.Size(300, 125); f.Text = "確認"; var mona : Label = new Label(); mona.AutoSize = true; mona.BackColor = Color.White; mona.BorderStyle = BorderStyle.FixedSingle; mona.Font = new Font("MS PGothic", 12); mona.Location = new Point(10, 10); mona.Text = "\n ∧_∧ \n( ´∀`) \n( )"; f.Controls.Add(mona); var message : Label = new Label(); message.Text = "ダイアログを表示してみますた。"; message.AutoSize = true; message.Location = new Point(100, 20); f.Controls.Add(message); var yes: Button = new Button(); yes.DialogResult = DialogResult.Yes; yes.Location = new Point(110, 60); yes.NotifyDefault(true); yes.Text = "はい"; f.Controls.Add(yes); var no : Button = new Button(); no.DialogResult = DialogResult.No; no.Location = new Point(190, 60); no.Text = "いいえ"; f.Controls.Add(no); f.ShowDialog(); 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch