Rev 105 | Blame | Compare with Previous | 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;
#include <spk.h>
namespace PluginManager {
/// <summary>
/// Summary for InstallPackageDialog
///
/// 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 InstallPackageDialog : public System::Windows::Forms::Form
{
public:
InstallPackageDialog(CPackages *p);
void UpdatePackages();
void DisplayPackage(CBaseFile *p);
void DoClose();
protected:
void updateUI();
/// <summary>
/// Clean up any resources being used.
/// </summary>
~InstallPackageDialog()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::GroupBox^ GroupList;
protected:
protected:
private: System::Windows::Forms::ListView^ ListPackages;
internal: System::Windows::Forms::ColumnHeader^ columnHeader1;
private:
private: System::Windows::Forms::ColumnHeader^ columnHeader2;
internal:
private: System::Windows::Forms::ColumnHeader^ columnHeader3;
private: System::Windows::Forms::GroupBox^ GroupPackage;
private: System::Windows::Forms::PictureBox^ PictureDisplay;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Button^ ButInstall;
private: System::Windows::Forms::Button^ ButCancel;
protected:
CPackages *m_pPackages;
private: System::Windows::Forms::RichTextBox^ TextDesc;
private: System::Windows::Forms::Panel^ panel2;
private: System::Windows::Forms::RichTextBox^ TextInstall;
private: System::Windows::Forms::Panel^ panel3;
private: System::Windows::Forms::Label^ LabVersion;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ LabType;
private: System::Windows::Forms::Label^ LabDate;
private: System::Windows::Forms::Panel^ PanelRating;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::PictureBox^ PicRec4;
private: System::Windows::Forms::PictureBox^ PicRec3;
private: System::Windows::Forms::PictureBox^ PicChange5;
private: System::Windows::Forms::PictureBox^ PicChange3;
private: System::Windows::Forms::PictureBox^ PicChange2;
private: System::Windows::Forms::PictureBox^ PicRec1;
private: System::Windows::Forms::PictureBox^ PicChange1;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::PictureBox^ PicEase4;
private: System::Windows::Forms::PictureBox^ PicEase5;
private: System::Windows::Forms::PictureBox^ PicEase3;
private: System::Windows::Forms::PictureBox^ PicEase2;
private: System::Windows::Forms::PictureBox^ PicEase1;
private: System::Windows::Forms::PictureBox^ PicChange4;
private: System::Windows::Forms::PictureBox^ PicRec2;
private: System::Windows::Forms::PictureBox^ PicRec5;
private: System::Windows::Forms::Label^ LabError;
private: System::Windows::Forms::ColumnHeader^ columnHeader4;
private: System::Windows::Forms::Label^ LabPluginType;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::Panel^ panel4;
private: System::Windows::Forms::Label^ LabGames;
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)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(InstallPackageDialog::typeid));
this->PicRec5 = (gcnew System::Windows::Forms::PictureBox());
this->PicRec2 = (gcnew System::Windows::Forms::PictureBox());
this->PicChange4 = (gcnew System::Windows::Forms::PictureBox());
this->GroupList = (gcnew System::Windows::Forms::GroupBox());
this->ListPackages = (gcnew System::Windows::Forms::ListView());
this->columnHeader1 = (gcnew System::Windows::Forms::ColumnHeader());
this->columnHeader2 = (gcnew System::Windows::Forms::ColumnHeader());
this->columnHeader3 = (gcnew System::Windows::Forms::ColumnHeader());
this->columnHeader4 = (gcnew System::Windows::Forms::ColumnHeader());
this->GroupPackage = (gcnew System::Windows::Forms::GroupBox());
this->panel2 = (gcnew System::Windows::Forms::Panel());
this->TextDesc = (gcnew System::Windows::Forms::RichTextBox());
this->panel4 = (gcnew System::Windows::Forms::Panel());
this->LabGames = (gcnew System::Windows::Forms::Label());
this->label8 = (gcnew System::Windows::Forms::Label());
this->panel3 = (gcnew System::Windows::Forms::Panel());
this->label9 = (gcnew System::Windows::Forms::Label());
this->LabPluginType = (gcnew System::Windows::Forms::Label());
this->PanelRating = (gcnew System::Windows::Forms::Panel());
this->label6 = (gcnew System::Windows::Forms::Label());
this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
this->label5 = (gcnew System::Windows::Forms::Label());
this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
this->label4 = (gcnew System::Windows::Forms::Label());
this->LabType = (gcnew System::Windows::Forms::Label());
this->LabDate = (gcnew System::Windows::Forms::Label());
this->LabVersion = (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->TextInstall = (gcnew System::Windows::Forms::RichTextBox());
this->PictureDisplay = (gcnew System::Windows::Forms::PictureBox());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->LabError = (gcnew System::Windows::Forms::Label());
this->ButInstall = (gcnew System::Windows::Forms::Button());
this->ButCancel = (gcnew System::Windows::Forms::Button());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->BeginInit();
this->GroupList->SuspendLayout();
this->GroupPackage->SuspendLayout();
this->panel2->SuspendLayout();
this->panel4->SuspendLayout();
this->panel3->SuspendLayout();
this->PanelRating->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureDisplay))->BeginInit();
this->panel1->SuspendLayout();
this->SuspendLayout();
//
// PicRec5
//
this->PicRec5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec5.Image")));
this->PicRec5->Location = System::Drawing::Point(238, 46);
this->PicRec5->Name = L"PicRec5";
this->PicRec5->Size = System::Drawing::Size(24, 24);
this->PicRec5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicRec5->TabIndex = 25;
this->PicRec5->TabStop = false;
//
// PicRec2
//
this->PicRec2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec2.Image")));
this->PicRec2->Location = System::Drawing::Point(169, 46);
this->PicRec2->Name = L"PicRec2";
this->PicRec2->Size = System::Drawing::Size(24, 24);
this->PicRec2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicRec2->TabIndex = 22;
this->PicRec2->TabStop = false;
//
// PicChange4
//
this->PicChange4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange4.Image")));
this->PicChange4->Location = System::Drawing::Point(215, 23);
this->PicChange4->Name = L"PicChange4";
this->PicChange4->Size = System::Drawing::Size(24, 24);
this->PicChange4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicChange4->TabIndex = 20;
this->PicChange4->TabStop = false;
//
// GroupList
//
this->GroupList->Controls->Add(this->ListPackages);
this->GroupList->Dock = System::Windows::Forms::DockStyle::Fill;
this->GroupList->Location = System::Drawing::Point(0, 0);
this->GroupList->Name = L"GroupList";
this->GroupList->Size = System::Drawing::Size(730, 166);
this->GroupList->TabIndex = 2;
this->GroupList->TabStop = false;
this->GroupList->Text = L"Packages to Install";
//
// ListPackages
//
this->ListPackages->CheckBoxes = true;
this->ListPackages->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(4) {this->columnHeader1,
this->columnHeader2, this->columnHeader3, this->columnHeader4});
this->ListPackages->Dock = System::Windows::Forms::DockStyle::Fill;
this->ListPackages->FullRowSelect = true;
this->ListPackages->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
this->ListPackages->HoverSelection = true;
this->ListPackages->Location = System::Drawing::Point(3, 16);
this->ListPackages->MultiSelect = false;
this->ListPackages->Name = L"ListPackages";
this->ListPackages->Size = System::Drawing::Size(724, 147);
this->ListPackages->Sorting = System::Windows::Forms::SortOrder::Ascending;
this->ListPackages->TabIndex = 0;
this->ListPackages->UseCompatibleStateImageBehavior = false;
this->ListPackages->View = System::Windows::Forms::View::Details;
this->ListPackages->ItemChecked += gcnew System::Windows::Forms::ItemCheckedEventHandler(this, &InstallPackageDialog::ListPackages_ItemChecked);
this->ListPackages->SelectedIndexChanged += gcnew System::EventHandler(this, &InstallPackageDialog::ListPackages_SelectedIndexChanged);
//
// columnHeader1
//
this->columnHeader1->Text = L"Package";
this->columnHeader1->Width = 200;
//
// columnHeader2
//
this->columnHeader2->Text = L"Author";
this->columnHeader2->Width = 120;
//
// columnHeader3
//
this->columnHeader3->Text = L"Version";
this->columnHeader3->Width = 90;
//
// columnHeader4
//
this->columnHeader4->Text = L"Error";
this->columnHeader4->Width = 200;
//
// GroupPackage
//
this->GroupPackage->Controls->Add(this->panel2);
this->GroupPackage->Controls->Add(this->PictureDisplay);
this->GroupPackage->Dock = System::Windows::Forms::DockStyle::Bottom;
this->GroupPackage->Location = System::Drawing::Point(0, 166);
this->GroupPackage->Name = L"GroupPackage";
this->GroupPackage->Size = System::Drawing::Size(730, 206);
this->GroupPackage->TabIndex = 3;
this->GroupPackage->TabStop = false;
//
// panel2
//
this->panel2->Controls->Add(this->TextDesc);
this->panel2->Controls->Add(this->panel4);
this->panel2->Controls->Add(this->panel3);
this->panel2->Controls->Add(this->TextInstall);
this->panel2->Dock = System::Windows::Forms::DockStyle::Fill;
this->panel2->Location = System::Drawing::Point(129, 16);
this->panel2->Name = L"panel2";
this->panel2->Size = System::Drawing::Size(598, 187);
this->panel2->TabIndex = 2;
//
// TextDesc
//
this->TextDesc->BackColor = System::Drawing::SystemColors::Info;
this->TextDesc->Dock = System::Windows::Forms::DockStyle::Fill;
this->TextDesc->Location = System::Drawing::Point(0, 111);
this->TextDesc->Name = L"TextDesc";
this->TextDesc->ReadOnly = true;
this->TextDesc->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
this->TextDesc->Size = System::Drawing::Size(598, 42);
this->TextDesc->TabIndex = 1;
this->TextDesc->Text = L"";
//
// panel4
//
this->panel4->Controls->Add(this->LabGames);
this->panel4->Controls->Add(this->label8);
this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
this->panel4->Location = System::Drawing::Point(0, 90);
this->panel4->Name = L"panel4";
this->panel4->Size = System::Drawing::Size(598, 21);
this->panel4->TabIndex = 11;
//
// LabGames
//
this->LabGames->Dock = System::Windows::Forms::DockStyle::Fill;
this->LabGames->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabGames->Location = System::Drawing::Point(124, 0);
this->LabGames->Name = L"LabGames";
this->LabGames->Size = System::Drawing::Size(474, 21);
this->LabGames->TabIndex = 11;
this->LabGames->Text = L"label6";
this->LabGames->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// label8
//
this->label8->Dock = System::Windows::Forms::DockStyle::Left;
this->label8->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label8->Location = System::Drawing::Point(0, 0);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(124, 21);
this->label8->TabIndex = 10;
this->label8->Text = L" Games:";
this->label8->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
this->label8->Click += gcnew System::EventHandler(this, &InstallPackageDialog::label8_Click);
//
// panel3
//
this->panel3->Controls->Add(this->label9);
this->panel3->Controls->Add(this->LabPluginType);
this->panel3->Controls->Add(this->PanelRating);
this->panel3->Controls->Add(this->LabType);
this->panel3->Controls->Add(this->LabDate);
this->panel3->Controls->Add(this->LabVersion);
this->panel3->Controls->Add(this->label3);
this->panel3->Controls->Add(this->label2);
this->panel3->Controls->Add(this->label1);
this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
this->panel3->Location = System::Drawing::Point(0, 0);
this->panel3->Name = L"panel3";
this->panel3->Size = System::Drawing::Size(598, 90);
this->panel3->TabIndex = 3;
//
// label9
//
this->label9->AutoSize = true;
this->label9->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label9->Location = System::Drawing::Point(6, 68);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(87, 16);
this->label9->TabIndex = 27;
this->label9->Text = L"Plugin Type:";
//
// LabPluginType
//
this->LabPluginType->AutoSize = true;
this->LabPluginType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabPluginType->Location = System::Drawing::Point(123, 68);
this->LabPluginType->Name = L"LabPluginType";
this->LabPluginType->Size = System::Drawing::Size(43, 16);
this->LabPluginType->TabIndex = 28;
this->LabPluginType->Text = L"label6";
//
// PanelRating
//
this->PanelRating->Controls->Add(this->label6);
this->PanelRating->Controls->Add(this->PicRec5);
this->PanelRating->Controls->Add(this->PicRec4);
this->PanelRating->Controls->Add(this->PicRec3);
this->PanelRating->Controls->Add(this->PicRec2);
this->PanelRating->Controls->Add(this->PicChange5);
this->PanelRating->Controls->Add(this->PicChange4);
this->PanelRating->Controls->Add(this->PicChange3);
this->PanelRating->Controls->Add(this->PicChange2);
this->PanelRating->Controls->Add(this->PicRec1);
this->PanelRating->Controls->Add(this->PicChange1);
this->PanelRating->Controls->Add(this->label5);
this->PanelRating->Controls->Add(this->PicEase4);
this->PanelRating->Controls->Add(this->PicEase5);
this->PanelRating->Controls->Add(this->PicEase3);
this->PanelRating->Controls->Add(this->PicEase2);
this->PanelRating->Controls->Add(this->PicEase1);
this->PanelRating->Controls->Add(this->label4);
this->PanelRating->Dock = System::Windows::Forms::DockStyle::Right;
this->PanelRating->Location = System::Drawing::Point(336, 0);
this->PanelRating->Name = L"PanelRating";
this->PanelRating->Size = System::Drawing::Size(262, 90);
this->PanelRating->TabIndex = 7;
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label6->Location = System::Drawing::Point(3, 48);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(104, 16);
this->label6->TabIndex = 26;
this->label6->Text = L"Recommended";
//
// PicRec4
//
this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec4.Image")));
this->PicRec4->Location = System::Drawing::Point(215, 46);
this->PicRec4->Name = L"PicRec4";
this->PicRec4->Size = System::Drawing::Size(24, 24);
this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicRec4->TabIndex = 24;
this->PicRec4->TabStop = false;
//
// PicRec3
//
this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec3.Image")));
this->PicRec3->Location = System::Drawing::Point(192, 46);
this->PicRec3->Name = L"PicRec3";
this->PicRec3->Size = System::Drawing::Size(24, 24);
this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicRec3->TabIndex = 23;
this->PicRec3->TabStop = false;
//
// PicChange5
//
this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange5.Image")));
this->PicChange5->Location = System::Drawing::Point(238, 23);
this->PicChange5->Name = L"PicChange5";
this->PicChange5->Size = System::Drawing::Size(24, 24);
this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicChange5->TabIndex = 21;
this->PicChange5->TabStop = false;
//
// PicChange3
//
this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange3.Image")));
this->PicChange3->Location = System::Drawing::Point(192, 23);
this->PicChange3->Name = L"PicChange3";
this->PicChange3->Size = System::Drawing::Size(24, 24);
this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicChange3->TabIndex = 19;
this->PicChange3->TabStop = false;
//
// PicChange2
//
this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange2.Image")));
this->PicChange2->Location = System::Drawing::Point(169, 23);
this->PicChange2->Name = L"PicChange2";
this->PicChange2->Size = System::Drawing::Size(24, 24);
this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicChange2->TabIndex = 18;
this->PicChange2->TabStop = false;
//
// PicRec1
//
this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec1.Image")));
this->PicRec1->Location = System::Drawing::Point(146, 46);
this->PicRec1->Name = L"PicRec1";
this->PicRec1->Size = System::Drawing::Size(24, 24);
this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicRec1->TabIndex = 17;
this->PicRec1->TabStop = false;
//
// PicChange1
//
this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange1.Image")));
this->PicChange1->Location = System::Drawing::Point(146, 23);
this->PicChange1->Name = L"PicChange1";
this->PicChange1->Size = System::Drawing::Size(24, 24);
this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicChange1->TabIndex = 16;
this->PicChange1->TabStop = false;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label5->Location = System::Drawing::Point(2, 28);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(111, 16);
this->label5->TabIndex = 15;
this->label5->Text = L"Game Changing";
//
// PicEase4
//
this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase4.Image")));
this->PicEase4->Location = System::Drawing::Point(215, 0);
this->PicEase4->Name = L"PicEase4";
this->PicEase4->Size = System::Drawing::Size(24, 24);
this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicEase4->TabIndex = 14;
this->PicEase4->TabStop = false;
//
// PicEase5
//
this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase5.Image")));
this->PicEase5->Location = System::Drawing::Point(238, 0);
this->PicEase5->Name = L"PicEase5";
this->PicEase5->Size = System::Drawing::Size(24, 24);
this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicEase5->TabIndex = 13;
this->PicEase5->TabStop = false;
//
// PicEase3
//
this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase3.Image")));
this->PicEase3->Location = System::Drawing::Point(192, 0);
this->PicEase3->Name = L"PicEase3";
this->PicEase3->Size = System::Drawing::Size(24, 24);
this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicEase3->TabIndex = 12;
this->PicEase3->TabStop = false;
//
// PicEase2
//
this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase2.Image")));
this->PicEase2->Location = System::Drawing::Point(169, 0);
this->PicEase2->Name = L"PicEase2";
this->PicEase2->Size = System::Drawing::Size(24, 24);
this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicEase2->TabIndex = 11;
this->PicEase2->TabStop = false;
//
// PicEase1
//
this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase1.Image")));
this->PicEase1->Location = System::Drawing::Point(146, 0);
this->PicEase1->Name = L"PicEase1";
this->PicEase1->Size = System::Drawing::Size(24, 24);
this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PicEase1->TabIndex = 10;
this->PicEase1->TabStop = false;
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label4->Location = System::Drawing::Point(3, 6);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(81, 16);
this->label4->TabIndex = 6;
this->label4->Text = L"Ease of Use";
//
// LabType
//
this->LabType->AutoSize = true;
this->LabType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabType->Location = System::Drawing::Point(123, 46);
this->LabType->Name = L"LabType";
this->LabType->Size = System::Drawing::Size(43, 16);
this->LabType->TabIndex = 5;
this->LabType->Text = L"label6";
//
// LabDate
//
this->LabDate->AutoSize = true;
this->LabDate->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabDate->Location = System::Drawing::Point(123, 26);
this->LabDate->Name = L"LabDate";
this->LabDate->Size = System::Drawing::Size(43, 16);
this->LabDate->TabIndex = 4;
this->LabDate->Text = L"label5";
//
// LabVersion
//
this->LabVersion->AutoSize = true;
this->LabVersion->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabVersion->Location = System::Drawing::Point(123, 6);
this->LabVersion->Name = L"LabVersion";
this->LabVersion->Size = System::Drawing::Size(43, 16);
this->LabVersion->TabIndex = 3;
this->LabVersion->Text = L"label4";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label3->Location = System::Drawing::Point(6, 46);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(42, 16);
this->label3->TabIndex = 2;
this->label3->Text = L"Type:";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label2->Location = System::Drawing::Point(6, 26);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(99, 16);
this->label2->TabIndex = 1;
this->label2->Text = L"Creation Date:";
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label1->Location = System::Drawing::Point(6, 6);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(59, 16);
this->label1->TabIndex = 0;
this->label1->Text = L"Version:";
//
// TextInstall
//
this->TextInstall->BackColor = System::Drawing::SystemColors::Info;
this->TextInstall->Dock = System::Windows::Forms::DockStyle::Bottom;
this->TextInstall->Location = System::Drawing::Point(0, 153);
this->TextInstall->Name = L"TextInstall";
this->TextInstall->ReadOnly = true;
this->TextInstall->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
this->TextInstall->Size = System::Drawing::Size(598, 34);
this->TextInstall->TabIndex = 2;
this->TextInstall->Text = L"";
//
// PictureDisplay
//
this->PictureDisplay->Dock = System::Windows::Forms::DockStyle::Left;
this->PictureDisplay->Location = System::Drawing::Point(3, 16);
this->PictureDisplay->Name = L"PictureDisplay";
this->PictureDisplay->Size = System::Drawing::Size(126, 187);
this->PictureDisplay->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->PictureDisplay->TabIndex = 0;
this->PictureDisplay->TabStop = false;
//
// panel1
//
this->panel1->Controls->Add(this->LabError);
this->panel1->Controls->Add(this->ButInstall);
this->panel1->Controls->Add(this->ButCancel);
this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
this->panel1->Location = System::Drawing::Point(0, 372);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(730, 27);
this->panel1->TabIndex = 5;
//
// LabError
//
this->LabError->Dock = System::Windows::Forms::DockStyle::Fill;
this->LabError->Font = (gcnew System::Drawing::Font(L"Arial", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabError->ForeColor = System::Drawing::Color::Red;
this->LabError->Location = System::Drawing::Point(0, 0);
this->LabError->Name = L"LabError";
this->LabError->RightToLeft = System::Windows::Forms::RightToLeft::Yes;
this->LabError->Size = System::Drawing::Size(534, 27);
this->LabError->TabIndex = 2;
this->LabError->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// ButInstall
//
this->ButInstall->DialogResult = System::Windows::Forms::DialogResult::OK;
this->ButInstall->Dock = System::Windows::Forms::DockStyle::Right;
this->ButInstall->Location = System::Drawing::Point(534, 0);
this->ButInstall->Name = L"ButInstall";
this->ButInstall->Size = System::Drawing::Size(99, 27);
this->ButInstall->TabIndex = 1;
this->ButInstall->Text = L"Install";
this->ButInstall->UseVisualStyleBackColor = true;
this->ButInstall->Click += gcnew System::EventHandler(this, &InstallPackageDialog::ButInstall_Click);
//
// ButCancel
//
this->ButCancel->DialogResult = System::Windows::Forms::DialogResult::Cancel;
this->ButCancel->Dock = System::Windows::Forms::DockStyle::Right;
this->ButCancel->Location = System::Drawing::Point(633, 0);
this->ButCancel->Name = L"ButCancel";
this->ButCancel->Size = System::Drawing::Size(97, 27);
this->ButCancel->TabIndex = 0;
this->ButCancel->Text = L"Cancel";
this->ButCancel->UseVisualStyleBackColor = true;
//
// InstallPackageDialog
//
this->AcceptButton = this->ButInstall;
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->CancelButton = this->ButCancel;
this->ClientSize = System::Drawing::Size(730, 399);
this->ControlBox = false;
this->Controls->Add(this->GroupList);
this->Controls->Add(this->GroupPackage);
this->Controls->Add(this->panel1);
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
this->Name = L"InstallPackageDialog";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"Install Package";
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->EndInit();
this->GroupList->ResumeLayout(false);
this->GroupPackage->ResumeLayout(false);
this->panel2->ResumeLayout(false);
this->panel4->ResumeLayout(false);
this->panel3->ResumeLayout(false);
this->panel3->PerformLayout();
this->PanelRating->ResumeLayout(false);
this->PanelRating->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureDisplay))->EndInit();
this->panel1->ResumeLayout(false);
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void ListPackages_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
if ( ListPackages->SelectedItems->Count )
{
if ( ListPackages->Items->Count == 1 )
this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(0));
else
{
ListViewItem ^item = ListPackages->SelectedItems[0];
if ( item )
{
Utils::WString sNum = _WS(System::Convert::ToString(item->Tag));
int num = sNum.toInt();
this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(num));
}
}
}
}
private: System::Void ButInstall_Click(System::Object^ sender, System::EventArgs^ e) {
this->DoClose();
}
private: System::Void label8_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void ListPackages_ItemChecked(System::Object^ sender, System::Windows::Forms::ItemCheckedEventArgs^ e) {
this->updateUI();
}
};
}