1 |
cycrow |
1 |
#pragma once
|
|
|
2 |
|
|
|
3 |
using namespace System;
|
|
|
4 |
using namespace System::ComponentModel;
|
|
|
5 |
using namespace System::Collections;
|
|
|
6 |
using namespace System::Windows::Forms;
|
|
|
7 |
using namespace System::Data;
|
|
|
8 |
using namespace System::Drawing;
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
namespace Creator {
|
|
|
12 |
|
|
|
13 |
/// <summary>
|
|
|
14 |
/// Summary for Waiting
|
|
|
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 ref class Waiting : public System::Windows::Forms::Form
|
|
|
23 |
{
|
|
|
24 |
public:
|
|
|
25 |
Waiting(String ^label)
|
|
|
26 |
{
|
|
|
27 |
InitializeComponent();
|
|
|
28 |
|
|
|
29 |
this->label1->Text = label;
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
protected:
|
|
|
33 |
/// <summary>
|
|
|
34 |
/// Clean up any resources being used.
|
|
|
35 |
/// </summary>
|
|
|
36 |
~Waiting()
|
|
|
37 |
{
|
|
|
38 |
if (components)
|
|
|
39 |
{
|
|
|
40 |
delete components;
|
|
|
41 |
}
|
|
|
42 |
}
|
|
|
43 |
private: System::Windows::Forms::Label^ label1;
|
|
|
44 |
private: System::Windows::Forms::ProgressBar^ progressBar1;
|
|
|
45 |
protected:
|
|
|
46 |
|
|
|
47 |
private:
|
|
|
48 |
/// <summary>
|
|
|
49 |
/// Required designer variable.
|
|
|
50 |
/// </summary>
|
|
|
51 |
System::ComponentModel::Container ^components;
|
|
|
52 |
|
|
|
53 |
#pragma region Windows Form Designer generated code
|
|
|
54 |
/// <summary>
|
|
|
55 |
/// Required method for Designer support - do not modify
|
|
|
56 |
/// the contents of this method with the code editor.
|
|
|
57 |
/// </summary>
|
|
|
58 |
void InitializeComponent(void)
|
|
|
59 |
{
|
|
|
60 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
|
|
61 |
this->progressBar1 = (gcnew System::Windows::Forms::ProgressBar());
|
|
|
62 |
this->SuspendLayout();
|
|
|
63 |
//
|
|
|
64 |
// label1
|
|
|
65 |
//
|
|
|
66 |
this->label1->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
67 |
this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
68 |
static_cast<System::Byte>(0)));
|
|
|
69 |
this->label1->Location = System::Drawing::Point(10, 10);
|
|
|
70 |
this->label1->Name = L"label1";
|
|
|
71 |
this->label1->Size = System::Drawing::Size(324, 34);
|
|
|
72 |
this->label1->TabIndex = 0;
|
|
|
73 |
this->label1->Text = L"label1";
|
|
|
74 |
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
|
|
|
75 |
//
|
|
|
76 |
// progressBar1
|
|
|
77 |
//
|
|
|
78 |
this->progressBar1->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
79 |
this->progressBar1->Location = System::Drawing::Point(10, 48);
|
|
|
80 |
this->progressBar1->MarqueeAnimationSpeed = 10;
|
|
|
81 |
this->progressBar1->Name = L"progressBar1";
|
|
|
82 |
this->progressBar1->Size = System::Drawing::Size(324, 23);
|
|
|
83 |
this->progressBar1->Style = System::Windows::Forms::ProgressBarStyle::Marquee;
|
|
|
84 |
this->progressBar1->TabIndex = 1;
|
|
|
85 |
//
|
|
|
86 |
// Waiting
|
|
|
87 |
//
|
|
|
88 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
|
|
89 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
|
|
90 |
this->ClientSize = System::Drawing::Size(344, 81);
|
|
|
91 |
this->ControlBox = false;
|
|
|
92 |
this->Controls->Add(this->progressBar1);
|
|
|
93 |
this->Controls->Add(this->label1);
|
|
|
94 |
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
|
|
|
95 |
this->Name = L"Waiting";
|
|
|
96 |
this->Padding = System::Windows::Forms::Padding(10);
|
|
|
97 |
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
|
|
|
98 |
this->Text = L"Waiting";
|
|
|
99 |
this->ResumeLayout(false);
|
|
|
100 |
|
|
|
101 |
}
|
|
|
102 |
#pragma endregion
|
|
|
103 |
};
|
|
|
104 |
}
|