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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
| #pragma once
#include "Form2.h"
namespace OrdinateurFacileV1 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Description résumée de Form1
///
/// AVERTISSEMENT : si vous modifiez le nom de cette classe, vous devrez modifier la
/// propriété 'Nom du fichier de ressources' de l'outil de compilation de ressource managée
/// pour tous les fichiers .resx dont dépend cette classe. Dans le cas contraire,
/// les concepteurs ne pourront pas interagir correctement avec les ressources
/// localisées associées à ce formulaire.
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO : ajoutez ici le code du constructeur
//
}
protected:
/// <summary>
/// Nettoyage des ressources utilisées.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ bouttontexte;
private: System::Windows::Forms::Button^ buttonemail;
private: System::Windows::Forms::Button^ buttonmesdocs;
private: System::Windows::Forms::Button^ buttonetiendre;
private: System::Windows::Forms::Button^ buttonmesimages;
private: System::Windows::Forms::Button^ buttoninternet;
protected:
private:
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
/// le contenu de cette méthode avec l'éditeur de code.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
this->bouttontexte = (gcnew System::Windows::Forms::Button());
this->buttonemail = (gcnew System::Windows::Forms::Button());
this->buttonmesdocs = (gcnew System::Windows::Forms::Button());
this->buttonetiendre = (gcnew System::Windows::Forms::Button());
this->buttonmesimages = (gcnew System::Windows::Forms::Button());
this->buttoninternet = (gcnew System::Windows::Forms::Button());
this->SuspendLayout();
//
// bouttontexte
//
this->bouttontexte->BackColor = System::Drawing::Color::Transparent;
this->bouttontexte->BackgroundImageLayout = System::Windows::Forms::ImageLayout::None;
this->bouttontexte->FlatAppearance->BorderSize = 0;
this->bouttontexte->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->bouttontexte->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->bouttontexte->ForeColor = System::Drawing::Color::Transparent;
this->bouttontexte->Location = System::Drawing::Point(199, 85);
this->bouttontexte->Name = L"bouttontexte";
this->bouttontexte->Size = System::Drawing::Size(155, 137);
this->bouttontexte->TabIndex = 0;
this->bouttontexte->UseVisualStyleBackColor = false;
this->bouttontexte->Click += gcnew System::EventHandler(this, &Form1::bouttontexte_Click);
//
// buttonemail
//
this->buttonemail->BackColor = System::Drawing::Color::Transparent;
this->buttonemail->FlatAppearance->BorderSize = 0;
this->buttonemail->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->buttonemail->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->buttonemail->Location = System::Drawing::Point(525, 285);
this->buttonemail->Name = L"buttonemail";
this->buttonemail->Size = System::Drawing::Size(183, 146);
this->buttonemail->TabIndex = 1;
this->buttonemail->UseVisualStyleBackColor = false;
//
// buttonmesdocs
//
this->buttonmesdocs->BackColor = System::Drawing::Color::Transparent;
this->buttonmesdocs->FlatAppearance->BorderSize = 0;
this->buttonmesdocs->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->buttonmesdocs->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->buttonmesdocs->Location = System::Drawing::Point(73, 553);
this->buttonmesdocs->Name = L"buttonmesdocs";
this->buttonmesdocs->Size = System::Drawing::Size(331, 142);
this->buttonmesdocs->TabIndex = 2;
this->buttonmesdocs->UseVisualStyleBackColor = false;
//
// buttonetiendre
//
this->buttonetiendre->BackColor = System::Drawing::Color::Transparent;
this->buttonetiendre->FlatAppearance->BorderSize = 0;
this->buttonetiendre->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->buttonetiendre->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->buttonetiendre->Location = System::Drawing::Point(626, 708);
this->buttonetiendre->Name = L"buttonetiendre";
this->buttonetiendre->Size = System::Drawing::Size(162, 138);
this->buttonetiendre->TabIndex = 3;
this->buttonetiendre->UseVisualStyleBackColor = false;
//
// buttonmesimages
//
this->buttonmesimages->BackColor = System::Drawing::Color::Transparent;
this->buttonmesimages->FlatAppearance->BorderSize = 0;
this->buttonmesimages->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->buttonmesimages->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->buttonmesimages->Location = System::Drawing::Point(832, 469);
this->buttonmesimages->Name = L"buttonmesimages";
this->buttonmesimages->Size = System::Drawing::Size(250, 150);
this->buttonmesimages->TabIndex = 4;
this->buttonmesimages->UseVisualStyleBackColor = false;
//
// buttoninternet
//
this->buttoninternet->BackColor = System::Drawing::Color::Transparent;
this->buttoninternet->FlatAppearance->BorderSize = 0;
this->buttoninternet->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Transparent;
this->buttoninternet->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
this->buttoninternet->Location = System::Drawing::Point(914, 141);
this->buttoninternet->Name = L"buttoninternet";
this->buttoninternet->Size = System::Drawing::Size(199, 135);
this->buttoninternet->TabIndex = 5;
this->buttoninternet->UseVisualStyleBackColor = false;
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"$this.BackgroundImage")));
this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->ClientSize = System::Drawing::Size(1272, 866);
this->Controls->Add(this->buttoninternet);
this->Controls->Add(this->buttonmesimages);
this->Controls->Add(this->buttonetiendre);
this->Controls->Add(this->buttonmesdocs);
this->Controls->Add(this->buttonemail);
this->Controls->Add(this->bouttontexte);
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
this->Name = L"Form1";
this->Text = L"Ordinateur Facile V.1";
this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {}
private: System::Void bouttontexte_Click(System::Object^ sender, System::EventArgs^ e)
{
form2 ^ form = gcnew form2;
form->ShowDialog();
}
};
} |
Partager