C#メッセージボックス
Re:C#メッセージボックス
System.String msg = "こんな感じですか?";
System.Windows.Forms.MessageBox.Show(msg);
こんな感じで如何でしょうか?
System.Windows.Forms.MessageBox.Show(msg);
こんな感じで如何でしょうか?
Re:C#メッセージボックス
解決されたようですが、今後同じように躓いた方の参考の為にサンプルを…
System.Int32 test = 100;
System.String msg = System.String.Format("test = {0}", test);
System.Windows.Forms.MessageBox.Show(msg);
こんな感じで、文字列を修飾できます。
System.Int32 test = 100;
System.String msg = System.String.Format("test = {0}", test);
System.Windows.Forms.MessageBox.Show(msg);
こんな感じで、文字列を修飾できます。