Subversion Repositories spk

Rev

Rev 74 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74 Rev 105
Line 21... Line 21...
21
	///          resources associated with this form.
21
	///          resources associated with this form.
22
	/// </summary>
22
	/// </summary>
23
	public ref class InstallPackageDialog : public System::Windows::Forms::Form
23
	public ref class InstallPackageDialog : public System::Windows::Forms::Form
24
	{
24
	{
25
	public:
25
	public:
26
		InstallPackageDialog(CPackages *p)
26
		InstallPackageDialog(CPackages *p);
27
		{
-
 
28
			InitializeComponent();
-
 
29
 
-
 
30
			m_pPackages = p;
-
 
31
 
-
 
32
			this->UpdatePackages();
-
 
33
		}
-
 
34
 
27
 
35
		void UpdatePackages();
28
		void UpdatePackages();
36
		void DisplayPackage(CBaseFile *p);
29
		void DisplayPackage(CBaseFile *p);
37
		void DoClose();
30
		void DoClose();
38
 
31
 
39
	protected:
32
	protected:
-
 
33
		void updateUI();
-
 
34
 
40
		/// <summary>
35
		/// <summary>
41
		/// Clean up any resources being used.
36
		/// Clean up any resources being used.
42
		/// </summary>
37
		/// </summary>
43
		~InstallPackageDialog()
38
		~InstallPackageDialog()
44
		{
39
		{
Line 85... Line 80...
85
 
80
 
86
	private: System::Windows::Forms::PictureBox^  PicRec4;
81
	private: System::Windows::Forms::PictureBox^  PicRec4;
87
 
82
 
88
	private: System::Windows::Forms::PictureBox^  PicRec3;
83
	private: System::Windows::Forms::PictureBox^  PicRec3;
89
 
84
 
90
 
85
 
91
 
86
 
92
	private: System::Windows::Forms::PictureBox^  PicChange5;
87
	private: System::Windows::Forms::PictureBox^  PicChange5;
93
 
88
 
94
 
89
 
95
 
90
 
96
	private: System::Windows::Forms::PictureBox^  PicChange3;
91
	private: System::Windows::Forms::PictureBox^  PicChange3;
97
 
92
 
98
	private: System::Windows::Forms::PictureBox^  PicChange2;
93
	private: System::Windows::Forms::PictureBox^  PicChange2;
99
	private: System::Windows::Forms::PictureBox^  PicRec1;
94
	private: System::Windows::Forms::PictureBox^  PicRec1;
100
 
95
 
101
 
96
 
102
	private: System::Windows::Forms::PictureBox^  PicChange1;
97
	private: System::Windows::Forms::PictureBox^  PicChange1;
103
 
98
 
104
	private: System::Windows::Forms::Label^  label5;
99
	private: System::Windows::Forms::Label^  label5;
105
	private: System::Windows::Forms::PictureBox^  PicEase4;
100
	private: System::Windows::Forms::PictureBox^  PicEase4;
106
	private: System::Windows::Forms::PictureBox^  PicEase5;
101
	private: System::Windows::Forms::PictureBox^  PicEase5;
107
 
102
 
Line 121... Line 116...
121
	private: System::Windows::Forms::Label^  LabPluginType;
116
	private: System::Windows::Forms::Label^  LabPluginType;
122
	private: System::Windows::Forms::Label^  label9;
117
	private: System::Windows::Forms::Label^  label9;
123
	private: System::Windows::Forms::Label^  label8;
118
	private: System::Windows::Forms::Label^  label8;
124
	private: System::Windows::Forms::Panel^  panel4;
119
	private: System::Windows::Forms::Panel^  panel4;
125
	private: System::Windows::Forms::Label^  LabGames;
120
	private: System::Windows::Forms::Label^  LabGames;
126
 
121
 
127
 
122
 
128
	protected: 
123
	protected: 
129
 
124
 
130
	private:
125
	private:
131
		/// <summary>
126
		/// <summary>
Line 268... Line 263...
268
			this->ListPackages->Size = System::Drawing::Size(724, 147);
263
			this->ListPackages->Size = System::Drawing::Size(724, 147);
269
			this->ListPackages->Sorting = System::Windows::Forms::SortOrder::Ascending;
264
			this->ListPackages->Sorting = System::Windows::Forms::SortOrder::Ascending;
270
			this->ListPackages->TabIndex = 0;
265
			this->ListPackages->TabIndex = 0;
271
			this->ListPackages->UseCompatibleStateImageBehavior = false;
266
			this->ListPackages->UseCompatibleStateImageBehavior = false;
272
			this->ListPackages->View = System::Windows::Forms::View::Details;
267
			this->ListPackages->View = System::Windows::Forms::View::Details;
-
 
268
			this->ListPackages->ItemChecked += gcnew System::Windows::Forms::ItemCheckedEventHandler(this, &InstallPackageDialog::ListPackages_ItemChecked);
273
			this->ListPackages->SelectedIndexChanged += gcnew System::EventHandler(this, &InstallPackageDialog::ListPackages_SelectedIndexChanged);
269
			this->ListPackages->SelectedIndexChanged += gcnew System::EventHandler(this, &InstallPackageDialog::ListPackages_SelectedIndexChanged);
274
			// 
270
			// 
275
			// columnHeader1
271
			// columnHeader1
276
			// 
272
			// 
277
			this->columnHeader1->Text = L"Package";
273
			this->columnHeader1->Text = L"Package";
Line 497... Line 493...
497
			this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
493
			this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
498
			this->PicRec1->TabIndex = 17;
494
			this->PicRec1->TabIndex = 17;
499
			this->PicRec1->TabStop = false;
495
			this->PicRec1->TabStop = false;
500
			// 
496
			// 
501
			// PicChange1
497
			// PicChange1
502
			// 
498
			// 
503
			this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange1.Image")));
499
			this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange1.Image")));
504
			this->PicChange1->Location = System::Drawing::Point(146, 23);
500
			this->PicChange1->Location = System::Drawing::Point(146, 23);
505
			this->PicChange1->Name = L"PicChange1";
501
			this->PicChange1->Name = L"PicChange1";
506
			this->PicChange1->Size = System::Drawing::Size(24, 24);
502
			this->PicChange1->Size = System::Drawing::Size(24, 24);
507
			this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
503
			this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
Line 779... Line 775...
779
	 }
775
	 }
780
private: System::Void ButInstall_Click(System::Object^  sender, System::EventArgs^  e) {
776
private: System::Void ButInstall_Click(System::Object^  sender, System::EventArgs^  e) {
781
			 this->DoClose();
777
			 this->DoClose();
782
		 }
778
		 }
783
private: System::Void label8_Click(System::Object^  sender, System::EventArgs^  e) {
779
private: System::Void label8_Click(System::Object^  sender, System::EventArgs^  e) {
-
 
780
		 }
-
 
781
private: System::Void ListPackages_ItemChecked(System::Object^  sender, System::Windows::Forms::ItemCheckedEventArgs^  e) {
-
 
782
			 this->updateUI();
784
		 }
783
		 }
785
};
784
};
786
}
785
}