Blame | Last modification | View Log | RSS feed
#pragma onceusing namespace System;using namespace System::ComponentModel;using namespace System::Collections;using namespace System::Windows::Forms;using namespace System::Data;using namespace System::Drawing;namespace Creator {/// <summary>/// Summary for Waiting////// WARNING: If you change the name of this class, you will need to change the/// 'Resource File Name' property for the managed resource compiler tool/// associated with all .resx files this class depends on. Otherwise,/// the designers will not be able to interact properly with localized/// resources associated with this form./// </summary>public ref class Waiting : public System::Windows::Forms::Form{public:Waiting(String ^label){InitializeComponent();this->label1->Text = label;}protected:/// <summary>/// Clean up any resources being used./// </summary>~Waiting(){if (components){delete components;}}private: System::Windows::Forms::Label^ label1;private: System::Windows::Forms::ProgressBar^ progressBar1;protected: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->label1 = (gcnew System::Windows::Forms::Label());this->progressBar1 = (gcnew System::Windows::Forms::ProgressBar());this->SuspendLayout();//// label1//this->label1->Dock = System::Windows::Forms::DockStyle::Top;this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,static_cast<System::Byte>(0)));this->label1->Location = System::Drawing::Point(10, 10);this->label1->Name = L"label1";this->label1->Size = System::Drawing::Size(324, 34);this->label1->TabIndex = 0;this->label1->Text = L"label1";this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;//// progressBar1//this->progressBar1->Dock = System::Windows::Forms::DockStyle::Bottom;this->progressBar1->Location = System::Drawing::Point(10, 48);this->progressBar1->MarqueeAnimationSpeed = 10;this->progressBar1->Name = L"progressBar1";this->progressBar1->Size = System::Drawing::Size(324, 23);this->progressBar1->Style = System::Windows::Forms::ProgressBarStyle::Marquee;this->progressBar1->TabIndex = 1;//// Waiting//this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;this->ClientSize = System::Drawing::Size(344, 81);this->ControlBox = false;this->Controls->Add(this->progressBar1);this->Controls->Add(this->label1);this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;this->Name = L"Waiting";this->Padding = System::Windows::Forms::Padding(10);this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;this->Text = L"Waiting";this->ResumeLayout(false);}#pragma endregion};}