Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- namespace MelloA {
- using namespace System;
- using namespace System::ComponentModel;
- using namespace System::Collections;
- using namespace MySql::Data::MySqlClient;
- using namespace System::Windows::Forms;
- using namespace System::Data;
- using namespace System::Drawing;
- /// <summary>
- /// Summary for AcceptedApplications
- /// </summary>
- public ref class AcceptedApplications : public System::Windows::Forms::Form
- {
- public:
- AcceptedApplications(void)
- {
- InitializeComponent();
- //
- //TODO: Add the constructor code here
- //
- }
- //AcceptedApplications^ frm = gcnew AcceptedApplications;
- MySqlConnection^ conn = gcnew MySqlConnection("datasource=localhost;port=3306;username=root;password=");
- MySqlDataAdapter adapter;
- DataTable table;
- protected:
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- ~AcceptedApplications()
- {
- if (components)
- {
- delete components;
- }
- }
- private: DevExpress::LookAndFeel::DefaultLookAndFeel^ defaultLookAndFeel1;
- protected:
- private: Bunifu::Framework::UI::BunifuCustomDataGrid^ bunifuCustomDataGrid1;
- private: System::Windows::Forms::Label^ label8;
- private: System::Windows::Forms::Label^ label7;
- private: System::Windows::Forms::Label^ label6;
- private: System::Windows::Forms::Label^ label5;
- private: System::Windows::Forms::Label^ label4;
- private: System::Windows::Forms::Label^ label3;
- private: System::Windows::Forms::Label^ label2;
- private: System::Windows::Forms::Label^ label1;
- private: System::Windows::Forms::TextBox^ textBox8;
- private: System::Windows::Forms::TextBox^ textBox7;
- private: System::Windows::Forms::TextBox^ textBox6;
- private: System::Windows::Forms::TextBox^ textBox5;
- private: System::Windows::Forms::TextBox^ textBox4;
- private: System::Windows::Forms::TextBox^ textBox3;
- private: System::Windows::Forms::TextBox^ textBox2;
- private: System::Windows::Forms::TextBox^ textBox1;
- private: System::ComponentModel::IContainer^ components;
- protected:
- private:
- /// <summary>
- /// Required designer variable.
- /// </summary>
- #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->components = (gcnew System::ComponentModel::Container());
- System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle5 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
- System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle6 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
- System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle7 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
- System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle8 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
- this->defaultLookAndFeel1 = (gcnew DevExpress::LookAndFeel::DefaultLookAndFeel(this->components));
- this->bunifuCustomDataGrid1 = (gcnew Bunifu::Framework::UI::BunifuCustomDataGrid());
- this->label8 = (gcnew System::Windows::Forms::Label());
- this->label7 = (gcnew System::Windows::Forms::Label());
- this->label6 = (gcnew System::Windows::Forms::Label());
- this->label5 = (gcnew System::Windows::Forms::Label());
- this->label4 = (gcnew System::Windows::Forms::Label());
- this->label3 = (gcnew System::Windows::Forms::Label());
- this->label2 = (gcnew System::Windows::Forms::Label());
- this->label1 = (gcnew System::Windows::Forms::Label());
- this->textBox8 = (gcnew System::Windows::Forms::TextBox());
- this->textBox7 = (gcnew System::Windows::Forms::TextBox());
- this->textBox6 = (gcnew System::Windows::Forms::TextBox());
- this->textBox5 = (gcnew System::Windows::Forms::TextBox());
- this->textBox4 = (gcnew System::Windows::Forms::TextBox());
- this->textBox3 = (gcnew System::Windows::Forms::TextBox());
- this->textBox2 = (gcnew System::Windows::Forms::TextBox());
- this->textBox1 = (gcnew System::Windows::Forms::TextBox());
- (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->bunifuCustomDataGrid1))->BeginInit();
- this->SuspendLayout();
- //
- // defaultLookAndFeel1
- //
- this->defaultLookAndFeel1->LookAndFeel->SkinMaskColor2 = System::Drawing::Color::White;
- this->defaultLookAndFeel1->LookAndFeel->SkinName = L"Visual Studio 2013 Dark";
- //
- // bunifuCustomDataGrid1
- //
- dataGridViewCellStyle5->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- dataGridViewCellStyle5->ForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle5->SelectionBackColor = System::Drawing::Color::Blue;
- dataGridViewCellStyle5->SelectionForeColor = System::Drawing::Color::White;
- this->bunifuCustomDataGrid1->AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
- this->bunifuCustomDataGrid1->BackgroundColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->bunifuCustomDataGrid1->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->bunifuCustomDataGrid1->ColumnHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::None;
- dataGridViewCellStyle6->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
- dataGridViewCellStyle6->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- dataGridViewCellStyle6->Font = (gcnew System::Drawing::Font(L"Tahoma", 8.25F));
- dataGridViewCellStyle6->ForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle6->SelectionBackColor = System::Drawing::Color::Blue;
- dataGridViewCellStyle6->SelectionForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle6->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
- this->bunifuCustomDataGrid1->ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
- this->bunifuCustomDataGrid1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
- dataGridViewCellStyle7->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
- dataGridViewCellStyle7->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- dataGridViewCellStyle7->Font = (gcnew System::Drawing::Font(L"Tahoma", 8.25F));
- dataGridViewCellStyle7->ForeColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(32)), static_cast<System::Int32>(static_cast<System::Byte>(31)),
- static_cast<System::Int32>(static_cast<System::Byte>(53)));
- dataGridViewCellStyle7->SelectionBackColor = System::Drawing::Color::Blue;
- dataGridViewCellStyle7->SelectionForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle7->WrapMode = System::Windows::Forms::DataGridViewTriState::False;
- this->bunifuCustomDataGrid1->DefaultCellStyle = dataGridViewCellStyle7;
- this->bunifuCustomDataGrid1->DoubleBuffered = true;
- this->bunifuCustomDataGrid1->EnableHeadersVisualStyles = false;
- this->bunifuCustomDataGrid1->GridColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->bunifuCustomDataGrid1->HeaderBgColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->bunifuCustomDataGrid1->HeaderForeColor = System::Drawing::Color::White;
- this->bunifuCustomDataGrid1->Location = System::Drawing::Point(557, -2);
- this->bunifuCustomDataGrid1->Name = L"bunifuCustomDataGrid1";
- this->bunifuCustomDataGrid1->RowHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::None;
- dataGridViewCellStyle8->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
- dataGridViewCellStyle8->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- dataGridViewCellStyle8->Font = (gcnew System::Drawing::Font(L"Tahoma", 8.25F));
- dataGridViewCellStyle8->ForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle8->SelectionBackColor = System::Drawing::Color::Blue;
- dataGridViewCellStyle8->SelectionForeColor = System::Drawing::Color::White;
- dataGridViewCellStyle8->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
- this->bunifuCustomDataGrid1->RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
- this->bunifuCustomDataGrid1->RowTemplate->DefaultCellStyle->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->bunifuCustomDataGrid1->RowTemplate->DefaultCellStyle->ForeColor = System::Drawing::Color::White;
- this->bunifuCustomDataGrid1->RowTemplate->DefaultCellStyle->SelectionBackColor = System::Drawing::Color::Blue;
- this->bunifuCustomDataGrid1->RowTemplate->DefaultCellStyle->SelectionForeColor = System::Drawing::Color::White;
- this->bunifuCustomDataGrid1->Size = System::Drawing::Size(1181, 445);
- this->bunifuCustomDataGrid1->TabIndex = 55;
- //
- // label8
- //
- this->label8->AutoSize = true;
- this->label8->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label8->Location = System::Drawing::Point(364, 198);
- this->label8->Name = L"label8";
- this->label8->Size = System::Drawing::Size(83, 19);
- this->label8->TabIndex = 54;
- this->label8->Text = L"Extra Stuff";
- //
- // label7
- //
- this->label7->AutoSize = true;
- this->label7->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label7->Location = System::Drawing::Point(27, 198);
- this->label7->Name = L"label7";
- this->label7->Size = System::Drawing::Size(214, 19);
- this->label7->TabIndex = 53;
- this->label7->Text = L"Why Should We Accept You\?";
- //
- // label6
- //
- this->label6->AutoSize = true;
- this->label6->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label6->Location = System::Drawing::Point(304, 57);
- this->label6->Name = L"label6";
- this->label6->Size = System::Drawing::Size(184, 19);
- this->label6->TabIndex = 52;
- this->label6->Text = L"Why Do You Want Staff\?";
- //
- // label5
- //
- this->label5->AutoSize = true;
- this->label5->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label5->Location = System::Drawing::Point(65, 57);
- this->label5->Name = L"label5";
- this->label5->Size = System::Drawing::Size(122, 19);
- this->label5->TabIndex = 51;
- this->label5->Text = L"Staff Experience";
- //
- // label4
- //
- this->label4->AutoSize = true;
- this->label4->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label4->Location = System::Drawing::Point(415, 5);
- this->label4->Name = L"label4";
- this->label4->Size = System::Drawing::Size(113, 19);
- this->label4->TabIndex = 50;
- this->label4->Text = L"Discord Name ";
- //
- // label3
- //
- this->label3->AutoSize = true;
- this->label3->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label3->Location = System::Drawing::Point(288, 5);
- this->label3->Name = L"label3";
- this->label3->Size = System::Drawing::Size(80, 19);
- this->label3->TabIndex = 49;
- this->label3->Text = L"TimeZone";
- //
- // label2
- //
- this->label2->AutoSize = true;
- this->label2->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label2->Location = System::Drawing::Point(175, 5);
- this->label2->Name = L"label2";
- this->label2->Size = System::Drawing::Size(37, 19);
- this->label2->TabIndex = 48;
- this->label2->Text = L"Age";
- //
- // label1
- //
- this->label1->AutoSize = true;
- this->label1->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->label1->Location = System::Drawing::Point(13, 5);
- this->label1->Name = L"label1";
- this->label1->Size = System::Drawing::Size(122, 19);
- this->label1->TabIndex = 47;
- this->label1->Text = L"IGN + NameMC";
- //
- // textBox8
- //
- this->textBox8->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox8->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox8->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox8->ForeColor = System::Drawing::Color::White;
- this->textBox8->Location = System::Drawing::Point(260, 220);
- this->textBox8->Multiline = true;
- this->textBox8->Name = L"textBox8";
- this->textBox8->ReadOnly = true;
- this->textBox8->Size = System::Drawing::Size(276, 105);
- this->textBox8->TabIndex = 46;
- //
- // textBox7
- //
- this->textBox7->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox7->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox7->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox7->ForeColor = System::Drawing::Color::White;
- this->textBox7->Location = System::Drawing::Point(10, 220);
- this->textBox7->Multiline = true;
- this->textBox7->Name = L"textBox7";
- this->textBox7->ReadOnly = true;
- this->textBox7->Size = System::Drawing::Size(244, 105);
- this->textBox7->TabIndex = 45;
- //
- // textBox6
- //
- this->textBox6->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox6->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox6->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox6->ForeColor = System::Drawing::Color::White;
- this->textBox6->Location = System::Drawing::Point(260, 79);
- this->textBox6->Multiline = true;
- this->textBox6->Name = L"textBox6";
- this->textBox6->ReadOnly = true;
- this->textBox6->Size = System::Drawing::Size(276, 107);
- this->textBox6->TabIndex = 44;
- //
- // textBox5
- //
- this->textBox5->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox5->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox5->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox5->ForeColor = System::Drawing::Color::White;
- this->textBox5->Location = System::Drawing::Point(10, 79);
- this->textBox5->Multiline = true;
- this->textBox5->Name = L"textBox5";
- this->textBox5->ReadOnly = true;
- this->textBox5->Size = System::Drawing::Size(244, 107);
- this->textBox5->TabIndex = 43;
- //
- // textBox4
- //
- this->textBox4->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox4->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox4->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox4->ForeColor = System::Drawing::Color::White;
- this->textBox4->Location = System::Drawing::Point(396, 27);
- this->textBox4->Name = L"textBox4";
- this->textBox4->ReadOnly = true;
- this->textBox4->Size = System::Drawing::Size(140, 20);
- this->textBox4->TabIndex = 42;
- //
- // textBox3
- //
- this->textBox3->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox3->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox3->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox3->ForeColor = System::Drawing::Color::White;
- this->textBox3->Location = System::Drawing::Point(260, 27);
- this->textBox3->Name = L"textBox3";
- this->textBox3->ReadOnly = true;
- this->textBox3->Size = System::Drawing::Size(130, 20);
- this->textBox3->TabIndex = 41;
- //
- // textBox2
- //
- this->textBox2->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox2->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox2->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox2->ForeColor = System::Drawing::Color::White;
- this->textBox2->Location = System::Drawing::Point(146, 27);
- this->textBox2->Name = L"textBox2";
- this->textBox2->ReadOnly = true;
- this->textBox2->Size = System::Drawing::Size(108, 20);
- this->textBox2->TabIndex = 40;
- //
- // textBox1
- //
- this->textBox1->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(55)), static_cast<System::Int32>(static_cast<System::Byte>(55)),
- static_cast<System::Int32>(static_cast<System::Byte>(55)));
- this->textBox1->BorderStyle = System::Windows::Forms::BorderStyle::None;
- this->textBox1->Font = (gcnew System::Drawing::Font(L"Tahoma", 12));
- this->textBox1->ForeColor = System::Drawing::Color::White;
- this->textBox1->Location = System::Drawing::Point(10, 27);
- this->textBox1->Name = L"textBox1";
- this->textBox1->ReadOnly = true;
- this->textBox1->Size = System::Drawing::Size(130, 20);
- this->textBox1->TabIndex = 39;
- //
- // AcceptedApplications
- //
- this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
- this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
- this->ClientSize = System::Drawing::Size(775, 337);
- this->Controls->Add(this->bunifuCustomDataGrid1);
- this->Controls->Add(this->label8);
- this->Controls->Add(this->label7);
- this->Controls->Add(this->label6);
- this->Controls->Add(this->label5);
- this->Controls->Add(this->label4);
- this->Controls->Add(this->label3);
- this->Controls->Add(this->label2);
- this->Controls->Add(this->label1);
- this->Controls->Add(this->textBox8);
- this->Controls->Add(this->textBox7);
- this->Controls->Add(this->textBox6);
- this->Controls->Add(this->textBox5);
- this->Controls->Add(this->textBox4);
- this->Controls->Add(this->textBox3);
- this->Controls->Add(this->textBox2);
- this->Controls->Add(this->textBox1);
- this->Name = L"AcceptedApplications";
- this->Text = L"AcceptedApplications";
- this->Load += gcnew System::EventHandler(this, &AcceptedApplications::AcceptedApplications_Load);
- (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->bunifuCustomDataGrid1))->EndInit();
- this->ResumeLayout(false);
- this->PerformLayout();
- }
- #pragma endregion
- private: System::Void AcceptedApplications_Load(System::Object^ sender, System::EventArgs^ e) {
- MySqlCommand^ com = gcnew MySqlCommand("command", conn);
- adapter = new MySqlAdapter(com);
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement