求推荐一些vs2010编写窗体应用程序的教程。
还有像我已经在窗口中插入了一个按钮,要让他点击以后退出程序,代码是什么?写在哪。这个按钮查看代码是:voidInitializeComponent(void){this-...
还有像我已经在窗口中插入了一个按钮,要让他点击以后退出程序,代码是什么?写在哪。
这个按钮查看代码是:
void InitializeComponent(void)
{
this->button1 = (gcnew System::Windows::Forms::Button());
// button1
//
this->button1->Location = System::Drawing::Point(29, 230);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 16;
this->button1->Text = L"1";
this->button1->UseVisualStyleBackColor = true;
.............. 展开
这个按钮查看代码是:
void InitializeComponent(void)
{
this->button1 = (gcnew System::Windows::Forms::Button());
// button1
//
this->button1->Location = System::Drawing::Point(29, 230);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 16;
this->button1->Text = L"1";
this->button1->UseVisualStyleBackColor = true;
.............. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询