Blame | Last modification | View Log | RSS feed
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace SpkExplorer {
/// <summary>
/// Summary for FileExists
///
/// 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 FileExists : public System::Windows::Forms::Form
{
public:
FileExists(System::String ^file)
{
InitializeComponent();
this->LabFile->Text = file;
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~FileExists()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::FlowLayoutPanel^ flowLayoutPanel1;
protected:
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::Label^ LabFile;
private: System::Windows::Forms::Label^ label1;
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->flowLayoutPanel1 = (gcnew System::Windows::Forms::FlowLayoutPanel());
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->button5 = (gcnew System::Windows::Forms::Button());
this->LabFile = (gcnew System::Windows::Forms::Label());
this->label1 = (gcnew System::Windows::Forms::Label());
this->flowLayoutPanel1->SuspendLayout();
this->SuspendLayout();
//
// flowLayoutPanel1
//
this->flowLayoutPanel1->AutoSize = true;
this->flowLayoutPanel1->AutoSizeMode = System::Windows::Forms::AutoSizeMode::GrowAndShrink;
this->flowLayoutPanel1->Controls->Add(this->button1);
this->flowLayoutPanel1->Controls->Add(this->button2);
this->flowLayoutPanel1->Controls->Add(this->button3);
this->flowLayoutPanel1->Controls->Add(this->button4);
this->flowLayoutPanel1->Controls->Add(this->button5);
this->flowLayoutPanel1->Dock = System::Windows::Forms::DockStyle::Bottom;
this->flowLayoutPanel1->Location = System::Drawing::Point(0, 71);
this->flowLayoutPanel1->Name = L"flowLayoutPanel1";
this->flowLayoutPanel1->RightToLeft = System::Windows::Forms::RightToLeft::No;
this->flowLayoutPanel1->Size = System::Drawing::Size(549, 29);
this->flowLayoutPanel1->TabIndex = 0;
//
// button1
//
this->button1->DialogResult = System::Windows::Forms::DialogResult::Yes;
this->button1->Location = System::Drawing::Point(3, 3);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(105, 23);
this->button1->TabIndex = 0;
this->button1->Text = L"Yes";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &FileExists::button1_Click);
//
// button2
//
this->button2->DialogResult = System::Windows::Forms::DialogResult::OK;
this->button2->Location = System::Drawing::Point(114, 3);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(111, 23);
this->button2->TabIndex = 1;
this->button2->Text = L"Yes to All";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &FileExists::button2_Click);
//
// button3
//
this->button3->DialogResult = System::Windows::Forms::DialogResult::No;
this->button3->Location = System::Drawing::Point(231, 3);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(111, 23);
this->button3->TabIndex = 2;
this->button3->Text = L"No";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &FileExists::button3_Click);
//
// button4
//
this->button4->DialogResult = System::Windows::Forms::DialogResult::Ignore;
this->button4->Location = System::Drawing::Point(348, 3);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(115, 23);
this->button4->TabIndex = 3;
this->button4->Text = L"No To All";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &FileExists::button4_Click);
//
// button5
//
this->button5->DialogResult = System::Windows::Forms::DialogResult::Cancel;
this->button5->Location = System::Drawing::Point(469, 3);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(75, 23);
this->button5->TabIndex = 4;
this->button5->Text = L"Cancel";
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &FileExists::button5_Click);
//
// LabFile
//
this->LabFile->Dock = System::Windows::Forms::DockStyle::Fill;
this->LabFile->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabFile->Location = System::Drawing::Point(0, 0);
this->LabFile->Name = L"LabFile";
this->LabFile->Size = System::Drawing::Size(549, 41);
this->LabFile->TabIndex = 1;
this->LabFile->Text = L"File Exists:";
this->LabFile->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label1
//
this->label1->Dock = System::Windows::Forms::DockStyle::Bottom;
this->label1->Location = System::Drawing::Point(0, 41);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(549, 30);
this->label1->TabIndex = 2;
this->label1->Text = L"Would you like to overright\?";
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// FileExists
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(549, 100);
this->ControlBox = false;
this->Controls->Add(this->LabFile);
this->Controls->Add(this->label1);
this->Controls->Add(this->flowLayoutPanel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
this->Name = L"FileExists";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"File Already Exists";
this->flowLayoutPanel1->ResumeLayout(false);
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
};
}