~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to tools/Nant/examples/Solution/cpp/WinForms/Form1.h

  • Committer: Manuel de la Pena
  • Date: 2010-07-08 13:22:59 UTC
  • Revision ID: mandel@themacaque.com-20100708132259-y1jgyuyqfe9stt8u
Updated build script to run tests and added all the required tools so far.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma once
 
2
 
 
3
 
 
4
namespace WinForms
 
5
{
 
6
        using namespace System;
 
7
        using namespace System::ComponentModel;
 
8
        using namespace System::Collections;
 
9
        using namespace System::Windows::Forms;
 
10
        using namespace System::Data;
 
11
        using namespace System::Drawing;
 
12
 
 
13
        /// <summary> 
 
14
        /// Summary for Form1
 
15
        ///
 
16
        /// WARNING: If you change the name of this class, you will need to change the 
 
17
        ///          'Resource File Name' property for the managed resource compiler tool 
 
18
        ///          associated with all .resx files this class depends on.  Otherwise,
 
19
        ///          the designers will not be able to interact properly with localized
 
20
        ///          resources associated with this form.
 
21
        /// </summary>
 
22
        public __gc class Form1 : public System::Windows::Forms::Form
 
23
        {       
 
24
        public:
 
25
                Form1(void)
 
26
                {
 
27
                        InitializeComponent();
 
28
                }
 
29
  
 
30
        protected:
 
31
                void Dispose(Boolean disposing)
 
32
                {
 
33
                        if (disposing && components)
 
34
                        {
 
35
                                components->Dispose();
 
36
                        }
 
37
                        __super::Dispose(disposing);
 
38
                }
 
39
 
 
40
        private:
 
41
                /// <summary>
 
42
                /// Required designer variable.
 
43
                /// </summary>
 
44
                System::ComponentModel::Container * components;
 
45
 
 
46
                /// <summary>
 
47
                /// Required method for Designer support - do not modify
 
48
                /// the contents of this method with the code editor.
 
49
                /// </summary>
 
50
                void InitializeComponent(void)
 
51
                {
 
52
                        this->components = new System::ComponentModel::Container();
 
53
                        this->Size = System::Drawing::Size(300,300);
 
54
                        this->Text = S"Form1";
 
55
                }       
 
56
        };
 
57
}
 
58
 
 
59