1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
#include "Class.h"
namespace MySpace
{
public ref class Form1 : public System::Windows::Forms::Form
{
public:
CMyClass *pClass; // INSTANCE de Class.h //
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
pClass = new pClass;
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private:
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
this->SuspendLayout();
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(222, 336);
this->Controls->Add(this->label1);
this->Controls->Add(this->loadcam);
this->Controls->Add(this->listcam);
this->Controls->Add(this->takepicture);
this->Controls->Add(this->viewpicture);
this->Name = L"Form1";
this->Text = L"Form1";
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->viewpicture))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
};
}
} |
Partager