Visual Studio 2005ス ..
[
2ch
|
▼Menu
]
■コピペモード
□
スレを通常表示
□
オプションモード
□このスレッドのURL
■項目テキスト
911:デフォルトの名無しさん 06/01/30 09:08:42 >>910 >>792 912:843 06/01/30 11:50:49 //チラシの裏。 //Visual C++2005 Express Edition //Form1にButton1 と Label1 と pictureBox1を貼り付ける。 // Button1をダブルクリックした所のbutton1_Clickに次のコードを書く。 label1->Text = L"押されました"; Graphics^ g; Pen^ p; int nw , nh; nw = pictureBox1->Width ; nh = pictureBox1->Height ; p= gcnew Pen(Color::Black ,3); pictureBox1->Image = gcnew Bitmap(nw , nh ); g = Graphics::FromImage (pictureBox1->Image ); g->DrawRectangle (p,0,0,nw , nh ); g->DrawLine(Pens::Blue , 0 , nh , nw/2 , nh/2 ); g->DrawLine(Pens::Blue , nw/2 , nh/2 , nw , nh); pictureBox1->Refresh(); 913:デフォルトの名無しさん 06/01/30 12:34:23 β2(TS)で作ったプロジェクトを製品版である下位のStdやProで 読み込んだ人居ませんか? 問題おきませんでしたか?
次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
レスジャンプ
mixiチェック!
Twitterに投稿
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch
5390日前に更新/216 KB
担当:undef