Subversion Repositories spk

Rev

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

Rev 121 Rev 126
Line 109... Line 109...
109
			//this->ButRun->Hide();
109
			//this->ButRun->Hide();
110
		}
110
		}
111
 
111
 
112
		void DisplayLocked(bool inthread);
112
		void DisplayLocked(bool inthread);
113
		void CheckProtectedDir();
113
		void CheckProtectedDir();
-
 
114
		void OpenModSelecter();
114
		void PrepareSaveGameManager()
115
		void PrepareSaveGameManager()
115
		{
116
		{
116
			// copy save games to each game dir
117
			// copy save games to each game dir
117
		}
118
		}
118
 
119
 
Line 150... Line 151...
150
				return;
151
				return;
151
			if ( tip > (int)MAXTIPS )
152
			if ( tip > (int)MAXTIPS )
152
				return;
153
				return;
153
			((STips ^)m_lTips[tip])->iTips = done;
154
			((STips ^)m_lTips[tip])->iTips = done;
154
		}
155
		}
155
		void SetSaveGameManager(int i) { m_iSaveGameManager = i; }
156
		void SetSaveGameManager(int i);
156
		void SetExperimental(bool b) { m_bExperimental = b; }
157
		void SetExperimental(bool b) { m_bExperimental = b; }
157
		void SetShips(bool b) { m_bShips = b; }
158
		void SetShips(bool b) { m_bShips = b; }
158
		void SetOnlySigned(bool b) { m_bSigned = b; }
159
		void SetOnlySigned(bool b) { m_bSigned = b; }
159
		void SetCheat(bool b) { m_bCheat = b; }
160
		void SetCheat(bool b) { m_bCheat = b; }
160
		void SetDownloadable(bool b) { m_bDownloadable = b; }
161
		void SetDownloadable(bool b) { m_bDownloadable = b; }
Line 396... Line 397...
396
private: System::Windows::Forms::ToolStripMenuItem^  visitWebSiteToolStripMenuItem;
397
private: System::Windows::Forms::ToolStripMenuItem^  visitWebSiteToolStripMenuItem;
397
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator2;
398
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator2;
398
private: System::Windows::Forms::ToolStripMenuItem^  checkForUpdatesToolStripMenuItem;
399
private: System::Windows::Forms::ToolStripMenuItem^  checkForUpdatesToolStripMenuItem;
399
private: System::Windows::Forms::Button^  button1;
400
private: System::Windows::Forms::Button^  button1;
400
private: System::ComponentModel::BackgroundWorker^  backgroundWorker2;
401
private: System::ComponentModel::BackgroundWorker^  backgroundWorker2;
-
 
402
private: System::Windows::Forms::ToolStripMenuItem^  viewModSelectedToolStripMenuItem;
401
 
403
 
402
private: System::ComponentModel::IContainer^  components;
404
private: System::ComponentModel::IContainer^  components;
403
		 /// <summary>
405
		 /// <summary>
404
		/// Required designer variable.
406
		/// Required designer variable.
405
		/// </summary>
407
		/// </summary>
Line 458... Line 460...
458
			this->LabelStatus = (gcnew System::Windows::Forms::ToolStripStatusLabel());
460
			this->LabelStatus = (gcnew System::Windows::Forms::ToolStripStatusLabel());
459
			this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
461
			this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
460
			this->imageList2 = (gcnew System::Windows::Forms::ImageList(this->components));
462
			this->imageList2 = (gcnew System::Windows::Forms::ImageList(this->components));
461
			this->imageList3 = (gcnew System::Windows::Forms::ImageList(this->components));
463
			this->imageList3 = (gcnew System::Windows::Forms::ImageList(this->components));
462
			this->backgroundWorker2 = (gcnew System::ComponentModel::BackgroundWorker());
464
			this->backgroundWorker2 = (gcnew System::ComponentModel::BackgroundWorker());
-
 
465
			this->viewModSelectedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
463
			this->GroupDir->SuspendLayout();
466
			this->GroupDir->SuspendLayout();
464
			this->contextMenuStrip1->SuspendLayout();
467
			this->contextMenuStrip1->SuspendLayout();
465
			this->panel1->SuspendLayout();
468
			this->panel1->SuspendLayout();
466
			this->GroupPackages->SuspendLayout();
469
			this->GroupPackages->SuspendLayout();
467
			this->PanelDisplay->SuspendLayout();
470
			this->PanelDisplay->SuspendLayout();
Line 507... Line 510...
507
			this->ListPackages->HideSelection = false;
510
			this->ListPackages->HideSelection = false;
508
			this->ListPackages->Location = System::Drawing::Point(4, 19);
511
			this->ListPackages->Location = System::Drawing::Point(4, 19);
509
			this->ListPackages->Margin = System::Windows::Forms::Padding(4);
512
			this->ListPackages->Margin = System::Windows::Forms::Padding(4);
510
			this->ListPackages->Name = L"ListPackages";
513
			this->ListPackages->Name = L"ListPackages";
511
			this->ListPackages->ShowItemToolTips = true;
514
			this->ListPackages->ShowItemToolTips = true;
512
			this->ListPackages->Size = System::Drawing::Size(827, 478);
515
			this->ListPackages->Size = System::Drawing::Size(827, 480);
513
			this->ListPackages->TabIndex = 0;
516
			this->ListPackages->TabIndex = 0;
514
			this->ListPackages->UseCompatibleStateImageBehavior = false;
517
			this->ListPackages->UseCompatibleStateImageBehavior = false;
515
			this->ListPackages->View = System::Windows::Forms::View::Details;
518
			this->ListPackages->View = System::Windows::Forms::View::Details;
516
			this->ListPackages->DrawSubItem += gcnew System::Windows::Forms::DrawListViewSubItemEventHandler(this, &MainGui::ListPackages_DrawSubItem);
519
			this->ListPackages->DrawSubItem += gcnew System::Windows::Forms::DrawListViewSubItemEventHandler(this, &MainGui::ListPackages_DrawSubItem);
517
			this->ListPackages->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &MainGui::ListPackages_DragDrop);
520
			this->ListPackages->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &MainGui::ListPackages_DragDrop);
Line 547... Line 550...
547
			this->columnHeader5->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
550
			this->columnHeader5->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
548
			// 
551
			// 
549
			// contextMenuStrip1
552
			// contextMenuStrip1
550
			// 
553
			// 
551
			this->contextMenuStrip1->ImageScalingSize = System::Drawing::Size(24, 24);
554
			this->contextMenuStrip1->ImageScalingSize = System::Drawing::Size(24, 24);
552
			this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(15) {
555
			this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(16) {
553
				this->ContextName,
556
				this->ContextName,
554
					this->toolStripSeparator3, this->uninstallToolStripMenuItem, this->UninstallSelectedContext, this->ContextEnable, this->ContextDisable,
557
					this->toolStripSeparator3, this->uninstallToolStripMenuItem, this->UninstallSelectedContext, this->ContextEnable, this->viewModSelectedToolStripMenuItem,
555
					this->ContextSeperator, this->viewReadmeToolStripMenuItem, this->extrasToolStripMenuItem, this->ContextSeperator2, this->emailAuthorToolStripMenuItem,
558
					this->ContextDisable, this->ContextSeperator, this->viewReadmeToolStripMenuItem, this->extrasToolStripMenuItem, this->ContextSeperator2,
556
					this->visitForumPageToolStripMenuItem, this->;visitWebSiteToolStripMenuItem, this->toolStripSeparator2, this->checkForUpdatesToolStripMenuItem
559
					this->emailAuthorToolStripMenuItem, this->visitForumPageToolStripMenuItem, this->;visitWebSiteToolStripMenuItem, this->toolStripSeparator2,
-
 
560
					this->checkForUpdatesToolStripMenuItem
557
			});
561
			});
558
			this->contextMenuStrip1->Name = L"contextMenuStrip1";
562
			this->contextMenuStrip1->Name = L"contextMenuStrip1";
559
			this->contextMenuStrip1->Size = System::Drawing::Size(244, 578);
563
			this->contextMenuStrip1->Size = System::Drawing::Size(253, 656);
560
			this->contextMenuStrip1->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &MainGui::contextMenuStrip1_Opening);
564
			this->contextMenuStrip1->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &MainGui::contextMenuStrip1_Opening);
561
			// 
565
			// 
562
			// ContextName
566
			// ContextName
563
			// 
567
			// 
564
			this->ContextName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextName.Image")));
568
			this->ContextName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextName.Image")));
565
			this->ContextName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
569
			this->ContextName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
566
			this->ContextName->Name = L"ContextName";
570
			this->ContextName->Name = L"ContextName";
567
			this->ContextName->Size = System::Drawing::Size(243, 50);
571
			this->ContextName->Size = System::Drawing::Size(252, 50);
568
			this->ContextName->Text = L"Name";
572
			this->ContextName->Text = L"Name";
569
			this->ContextName->Click += gcnew System::EventHandler(this, &MainGui::ContextName_Click);
573
			this->ContextName->Click += gcnew System::EventHandler(this, &MainGui::ContextName_Click);
570
			// 
574
			// 
571
			// toolStripSeparator3
575
			// toolStripSeparator3
572
			// 
576
			// 
573
			this->toolStripSeparator3->Name = L"toolStripSeparator3";
577
			this->toolStripSeparator3->Name = L"toolStripSeparator3";
574
			this->toolStripSeparator3->Size = System::Drawing::Size(240, 6);
578
			this->toolStripSeparator3->Size = System::Drawing::Size(249, 6);
575
			// 
579
			// 
576
			// uninstallToolStripMenuItem
580
			// uninstallToolStripMenuItem
577
			// 
581
			// 
578
			this->uninstallToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"uninstallToolStripMenuItem.Image")));
582
			this->uninstallToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"uninstallToolStripMenuItem.Image")));
579
			this->uninstallToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
583
			this->uninstallToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
580
			this->uninstallToolStripMenuItem->Name = L"uninstallToolStripMenuItem";
584
			this->uninstallToolStripMenuItem->Name = L"uninstallToolStripMenuItem";
581
			this->uninstallToolStripMenuItem->Size = System::Drawing::Size(243, 50);
585
			this->uninstallToolStripMenuItem->Size = System::Drawing::Size(252, 50);
582
			this->uninstallToolStripMenuItem->Text = L"Uninstall";
586
			this->uninstallToolStripMenuItem->Text = L"Uninstall";
583
			this->uninstallToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::uninstallToolStripMenuItem_Click);
587
			this->uninstallToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::uninstallToolStripMenuItem_Click);
584
			// 
588
			// 
585
			// UninstallSelectedContext
589
			// UninstallSelectedContext
586
			// 
590
			// 
587
			this->UninstallSelectedContext->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"UninstallSelectedContext.Image")));
591
			this->UninstallSelectedContext->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"UninstallSelectedContext.Image")));
588
			this->UninstallSelectedContext->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
592
			this->UninstallSelectedContext->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
589
			this->UninstallSelectedContext->Name = L"UninstallSelectedContext";
593
			this->UninstallSelectedContext->Name = L"UninstallSelectedContext";
590
			this->UninstallSelectedContext->Size = System::Drawing::Size(243, 50);
594
			this->UninstallSelectedContext->Size = System::Drawing::Size(252, 50);
591
			this->UninstallSelectedContext->Text = L"Uninstall Selected";
595
			this->UninstallSelectedContext->Text = L"Uninstall Selected";
592
			this->UninstallSelectedContext->Click += gcnew System::EventHandler(this, &MainGui::UninstallSelectedContext_Click);
596
			this->UninstallSelectedContext->Click += gcnew System::EventHandler(this, &MainGui::UninstallSelectedContext_Click);
593
			// 
597
			// 
594
			// ContextEnable
598
			// ContextEnable
595
			// 
599
			// 
596
			this->ContextEnable->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextEnable.Image")));
600
			this->ContextEnable->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextEnable.Image")));
597
			this->ContextEnable->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
601
			this->ContextEnable->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
598
			this->ContextEnable->Name = L"ContextEnable";
602
			this->ContextEnable->Name = L"ContextEnable";
599
			this->ContextEnable->Size = System::Drawing::Size(243, 50);
603
			this->ContextEnable->Size = System::Drawing::Size(252, 50);
600
			this->ContextEnable->Text = L"Enable";
604
			this->ContextEnable->Text = L"Enable";
601
			this->ContextEnable->Click += gcnew System::EventHandler(this, &MainGui::ContextEnable_Click);
605
			this->ContextEnable->Click += gcnew System::EventHandler(this, &MainGui::ContextEnable_Click);
602
			// 
606
			// 
603
			// ContextDisable
607
			// ContextDisable
604
			// 
608
			// 
605
			this->ContextDisable->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDisable.Image")));
609
			this->ContextDisable->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDisable.Image")));
606
			this->ContextDisable->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
610
			this->ContextDisable->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
607
			this->ContextDisable->Name = L"ContextDisable";
611
			this->ContextDisable->Name = L"ContextDisable";
608
			this->ContextDisable->Size = System::Drawing::Size(243, 50);
612
			this->ContextDisable->Size = System::Drawing::Size(252, 50);
609
			this->ContextDisable->Text = L"Disable";
613
			this->ContextDisable->Text = L"Disable";
610
			this->ContextDisable->Click += gcnew System::EventHandler(this, &MainGui::ContextDisable_Click);
614
			this->ContextDisable->Click += gcnew System::EventHandler(this, &MainGui::ContextDisable_Click);
611
			// 
615
			// 
612
			// ContextSeperator
616
			// ContextSeperator
613
			// 
617
			// 
614
			this->ContextSeperator->Name = L"ContextSeperator";
618
			this->ContextSeperator->Name = L"ContextSeperator";
615
			this->ContextSeperator->Size = System::Drawing::Size(240, 6);
619
			this->ContextSeperator->Size = System::Drawing::Size(249, 6);
616
			// 
620
			// 
617
			// viewReadmeToolStripMenuItem
621
			// viewReadmeToolStripMenuItem
618
			// 
622
			// 
619
			this->viewReadmeToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"viewReadmeToolStripMenuItem.Image")));
623
			this->viewReadmeToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"viewReadmeToolStripMenuItem.Image")));
620
			this->viewReadmeToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
624
			this->viewReadmeToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
621
			this->viewReadmeToolStripMenuItem->Name = L"viewReadmeToolStripMenuItem";
625
			this->viewReadmeToolStripMenuItem->Name = L"viewReadmeToolStripMenuItem";
622
			this->viewReadmeToolStripMenuItem->Size = System::Drawing::Size(243, 50);
626
			this->viewReadmeToolStripMenuItem->Size = System::Drawing::Size(252, 50);
623
			this->viewReadmeToolStripMenuItem->Text = L"View Readme";
627
			this->viewReadmeToolStripMenuItem->Text = L"View Readme";
624
			// 
628
			// 
625
			// extrasToolStripMenuItem
629
			// extrasToolStripMenuItem
626
			// 
630
			// 
627
			this->extrasToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"extrasToolStripMenuItem.Image")));
631
			this->extrasToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"extrasToolStripMenuItem.Image")));
628
			this->extrasToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
632
			this->extrasToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
629
			this->extrasToolStripMenuItem->Name = L"extrasToolStripMenuItem";
633
			this->extrasToolStripMenuItem->Name = L"extrasToolStripMenuItem";
630
			this->extrasToolStripMenuItem->Size = System::Drawing::Size(243, 50);
634
			this->extrasToolStripMenuItem->Size = System::Drawing::Size(252, 50);
631
			this->extrasToolStripMenuItem->Text = L"Extras";
635
			this->extrasToolStripMenuItem->Text = L"Extras";
632
			// 
636
			// 
633
			// ContextSeperator2
637
			// ContextSeperator2
634
			// 
638
			// 
635
			this->ContextSeperator2->Name = L"ContextSeperator2";
639
			this->ContextSeperator2->Name = L"ContextSeperator2";
636
			this->ContextSeperator2->Size = System::Drawing::Size(240, 6);
640
			this->ContextSeperator2->Size = System::Drawing::Size(249, 6);
637
			// 
641
			// 
638
			// emailAuthorToolStripMenuItem
642
			// emailAuthorToolStripMenuItem
639
			// 
643
			// 
640
			this->emailAuthorToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"emailAuthorToolStripMenuItem.Image")));
644
			this->emailAuthorToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"emailAuthorToolStripMenuItem.Image")));
641
			this->emailAuthorToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
645
			this->emailAuthorToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
642
			this->emailAuthorToolStripMenuItem->Name = L"emailAuthorToolStripMenuItem";
646
			this->emailAuthorToolStripMenuItem->Name = L"emailAuthorToolStripMenuItem";
643
			this->emailAuthorToolStripMenuItem->Size = System::Drawing::Size(243, 50);
647
			this->emailAuthorToolStripMenuItem->Size = System::Drawing::Size(252, 50);
644
			this->emailAuthorToolStripMenuItem->Text = L"Email Author";
648
			this->emailAuthorToolStripMenuItem->Text = L"Email Author";
645
			this->emailAuthorToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::emailAuthorToolStripMenuItem_Click);
649
			this->emailAuthorToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::emailAuthorToolStripMenuItem_Click);
646
			// 
650
			// 
647
			// visitForumPageToolStripMenuItem
651
			// visitForumPageToolStripMenuItem
648
			// 
652
			// 
649
			this->visitForumPageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"visitForumPageToolStripMenuItem.Image")));
653
			this->visitForumPageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"visitForumPageToolStripMenuItem.Image")));
650
			this->visitForumPageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
654
			this->visitForumPageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
651
			this->visitForumPageToolStripMenuItem->Name = L"visitForumPageToolStripMenuItem";
655
			this->visitForumPageToolStripMenuItem->Name = L"visitForumPageToolStripMenuItem";
652
			this->visitForumPageToolStripMenuItem->Size = System::Drawing::Size(243, 50);
656
			this->visitForumPageToolStripMenuItem->Size = System::Drawing::Size(252, 50);
653
			this->visitForumPageToolStripMenuItem->Text = L"Visit Forum Page";
657
			this->visitForumPageToolStripMenuItem->Text = L"Visit Forum Page";
654
			this->visitForumPageToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::visitForumPageToolStripMenuItem_Click);
658
			this->visitForumPageToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::visitForumPageToolStripMenuItem_Click);
655
			// 
659
			// 
656
			// visitWebSiteToolStripMenuItem
660
			// visitWebSiteToolStripMenuItem
657
			// 
661
			// 
658
			this->visitWebSiteToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"visitWebSiteToolStripMenuItem.Image")));
662
			this->visitWebSiteToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"visitWebSiteToolStripMenuItem.Image")));
659
			this->visitWebSiteToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
663
			this->visitWebSiteToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
660
			this->visitWebSiteToolStripMenuItem->Name = L"visitWebSiteToolStripMenuItem";
664
			this->visitWebSiteToolStripMenuItem->Name = L"visitWebSiteToolStripMenuItem";
661
			this->visitWebSiteToolStripMenuItem->Size = System::Drawing::Size(243, 50);
665
			this->visitWebSiteToolStripMenuItem->Size = System::Drawing::Size(252, 50);
662
			this->visitWebSiteToolStripMenuItem->Text = L"Visit Web Site";
666
			this->visitWebSiteToolStripMenuItem->Text = L"Visit Web Site";
663
			this->visitWebSiteToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::visitWebSiteToolStripMenuItem_Click);
667
			this->visitWebSiteToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::visitWebSiteToolStripMenuItem_Click);
664
			// 
668
			// 
665
			// toolStripSeparator2
669
			// toolStripSeparator2
666
			// 
670
			// 
667
			this->toolStripSeparator2->Name = L"toolStripSeparator2";
671
			this->toolStripSeparator2->Name = L"toolStripSeparator2";
668
			this->toolStripSeparator2->Size = System::Drawing::Size(240, 6);
672
			this->toolStripSeparator2->Size = System::Drawing::Size(249, 6);
669
			// 
673
			// 
670
			// checkForUpdatesToolStripMenuItem
674
			// checkForUpdatesToolStripMenuItem
671
			// 
675
			// 
672
			this->checkForUpdatesToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"checkForUpdatesToolStripMenuItem.Image")));
676
			this->checkForUpdatesToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"checkForUpdatesToolStripMenuItem.Image")));
673
			this->checkForUpdatesToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
677
			this->checkForUpdatesToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
674
			this->checkForUpdatesToolStripMenuItem->Name = L"checkForUpdatesToolStripMenuItem";
678
			this->checkForUpdatesToolStripMenuItem->Name = L"checkForUpdatesToolStripMenuItem";
675
			this->checkForUpdatesToolStripMenuItem->Size = System::Drawing::Size(243, 50);
679
			this->checkForUpdatesToolStripMenuItem->Size = System::Drawing::Size(252, 50);
676
			this->checkForUpdatesToolStripMenuItem->Text = L"Check For Updates";
680
			this->checkForUpdatesToolStripMenuItem->Text = L"Check For Updates";
677
			this->checkForUpdatesToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::checkForUpdatesToolStripMenuItem_Click);
681
			this->checkForUpdatesToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::checkForUpdatesToolStripMenuItem_Click);
678
			// 
682
			// 
679
			// panel1
683
			// panel1
680
			// 
684
			// 
681
			this->panel1->AllowDrop = true;
685
			this->panel1->AllowDrop = true;
682
			this->panel1->Controls->Add(this->ProgressBar);
686
			this->panel1->Controls->Add(this->ProgressBar);
683
			this->panel1->Controls->Add(this->ButRun);
687
			this->panel1->Controls->Add(this->ButRun);
684
			this->panel1->Controls->Add(this->ButClose);
688
			this->panel1->Controls->Add(this->ButClose);
685
			this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
689
			this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
686
			this->panel1->Location = System::Drawing::Point(0, 681);
690
			this->panel1->Location = System::Drawing::Point(0, 683);
687
			this->panel1->Margin = System::Windows::Forms::Padding(7, 12, 7, 12);
691
			this->panel1->Margin = System::Windows::Forms::Padding(7, 12, 7, 12);
688
			this->panel1->Name = L"panel1";
692
			this->panel1->Name = L"panel1";
689
			this->panel1->Size = System::Drawing::Size(835, 46);
693
			this->panel1->Size = System::Drawing::Size(835, 46);
690
			this->panel1->TabIndex = 2;
694
			this->panel1->TabIndex = 2;
691
			// 
695
			// 
Line 735... Line 739...
735
			this->GroupPackages->Dock = System::Windows::Forms::DockStyle::Fill;
739
			this->GroupPackages->Dock = System::Windows::Forms::DockStyle::Fill;
736
			this->GroupPackages->Location = System::Drawing::Point(0, 64);
740
			this->GroupPackages->Location = System::Drawing::Point(0, 64);
737
			this->GroupPackages->Margin = System::Windows::Forms::Padding(4);
741
			this->GroupPackages->Margin = System::Windows::Forms::Padding(4);
738
			this->GroupPackages->Name = L"GroupPackages";
742
			this->GroupPackages->Name = L"GroupPackages";
739
			this->GroupPackages->Padding = System::Windows::Forms::Padding(4);
743
			this->GroupPackages->Padding = System::Windows::Forms::Padding(4);
740
			this->GroupPackages->Size = System::Drawing::Size(835, 617);
744
			this->GroupPackages->Size = System::Drawing::Size(835, 619);
741
			this->GroupPackages->TabIndex = 3;
745
			this->GroupPackages->TabIndex = 3;
742
			this->GroupPackages->TabStop = false;
746
			this->GroupPackages->TabStop = false;
743
			this->GroupPackages->Text = L"Installed Packages";
747
			this->GroupPackages->Text = L"Installed Packages";
744
			// 
748
			// 
745
			// PanelDisplay
749
			// PanelDisplay
746
			// 
750
			// 
747
			this->PanelDisplay->AllowDrop = true;
751
			this->PanelDisplay->AllowDrop = true;
748
			this->PanelDisplay->Controls->Add(this->TextDesc);
752
			this->PanelDisplay->Controls->Add(this->TextDesc);
749
			this->PanelDisplay->Controls->Add(this->PictureDisplay);
753
			this->PanelDisplay->Controls->Add(this->PictureDisplay);
750
			this->PanelDisplay->Dock = System::Windows::Forms::DockStyle::Bottom;
754
			this->PanelDisplay->Dock = System::Windows::Forms::DockStyle::Bottom;
751
			this->PanelDisplay->Location = System::Drawing::Point(4, 497);
755
			this->PanelDisplay->Location = System::Drawing::Point(4, 499);
752
			this->PanelDisplay->Margin = System::Windows::Forms::Padding(4);
756
			this->PanelDisplay->Margin = System::Windows::Forms::Padding(4);
753
			this->PanelDisplay->Name = L"PanelDisplay";
757
			this->PanelDisplay->Name = L"PanelDisplay";
754
			this->PanelDisplay->Size = System::Drawing::Size(827, 84);
758
			this->PanelDisplay->Size = System::Drawing::Size(827, 84);
755
			this->PanelDisplay->TabIndex = 2;
759
			this->PanelDisplay->TabIndex = 2;
756
			// 
760
			// 
Line 783... Line 787...
783
			this->panel2->Controls->Add(this->button1);
787
			this->panel2->Controls->Add(this->button1);
784
			this->panel2->Controls->Add(this->ButUninstall);
788
			this->panel2->Controls->Add(this->ButUninstall);
785
			this->panel2->Controls->Add(this->ButDisable);
789
			this->panel2->Controls->Add(this->ButDisable);
786
			this->panel2->Controls->Add(this->ButInstall);
790
			this->panel2->Controls->Add(this->ButInstall);
787
			this->panel2->Dock = System::Windows::Forms::DockStyle::Bottom;
791
			this->panel2->Dock = System::Windows::Forms::DockStyle::Bottom;
788
			this->panel2->Location = System::Drawing::Point(4, 581);
792
			this->panel2->Location = System::Drawing::Point(4, 583);
789
			this->panel2->Margin = System::Windows::Forms::Padding(4);
793
			this->panel2->Margin = System::Windows::Forms::Padding(4);
790
			this->panel2->Name = L"panel2";
794
			this->panel2->Name = L"panel2";
791
			this->panel2->Size = System::Drawing::Size(827, 32);
795
			this->panel2->Size = System::Drawing::Size(827, 32);
792
			this->panel2->TabIndex = 0;
796
			this->panel2->TabIndex = 0;
793
			// 
797
			// 
Line 845... Line 849...
845
			// 
849
			// 
846
			// statusStrip1
850
			// statusStrip1
847
			// 
851
			// 
848
			this->statusStrip1->ImageScalingSize = System::Drawing::Size(20, 20);
852
			this->statusStrip1->ImageScalingSize = System::Drawing::Size(20, 20);
849
			this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) { this->LabelStatus });
853
			this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) { this->LabelStatus });
850
			this->statusStrip1->Location = System::Drawing::Point(0, 727);
854
			this->statusStrip1->Location = System::Drawing::Point(0, 729);
851
			this->statusStrip1->Name = L"statusStrip1";
855
			this->statusStrip1->Name = L"statusStrip1";
852
			this->statusStrip1->Padding = System::Windows::Forms::Padding(1, 0, 19, 0);
856
			this->statusStrip1->Padding = System::Windows::Forms::Padding(1, 0, 19, 0);
853
			this->statusStrip1->Size = System::Drawing::Size(835, 24);
857
			this->statusStrip1->Size = System::Drawing::Size(835, 22);
854
			this->statusStrip1->TabIndex = 5;
858
			this->statusStrip1->TabIndex = 5;
855
			this->statusStrip1->Text = L"statusStrip1";
859
			this->statusStrip1->Text = L"statusStrip1";
856
			// 
860
			// 
857
			// LabelStatus
861
			// LabelStatus
858
			// 
862
			// 
859
			this->LabelStatus->Name = L"LabelStatus";
863
			this->LabelStatus->Name = L"LabelStatus";
860
			this->LabelStatus->Size = System::Drawing::Size(0, 19);
864
			this->LabelStatus->Size = System::Drawing::Size(0, 17);
861
			// 
865
			// 
862
			// imageList1
866
			// imageList1
863
			// 
867
			// 
864
			this->imageList1->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^>(resources->GetObject(L"imageList1.ImageStream")));
868
			this->imageList1->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^>(resources->GetObject(L"imageList1.ImageStream")));
865
			this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
869
			this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
Line 892... Line 896...
892
			// 
896
			// 
893
			this->backgroundWorker2->WorkerReportsProgress = true;
897
			this->backgroundWorker2->WorkerReportsProgress = true;
894
			this->backgroundWorker2->WorkerSupportsCancellation = true;
898
			this->backgroundWorker2->WorkerSupportsCancellation = true;
895
			this->backgroundWorker2->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &MainGui::backgroundWorker2_DoWork);
899
			this->backgroundWorker2->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &MainGui::backgroundWorker2_DoWork);
896
			this->backgroundWorker2->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &MainGui::backgroundWorker2_RunWorkerCompleted);
900
			this->backgroundWorker2->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &MainGui::backgroundWorker2_RunWorkerCompleted);
-
 
901
			// 
-
 
902
			// viewModSelectedToolStripMenuItem
-
 
903
			// 
-
 
904
			this->viewModSelectedToolStripMenuItem->Name = L"viewModSelectedToolStripMenuItem";
-
 
905
			this->viewModSelectedToolStripMenuItem->Size = System::Drawing::Size(252, 50);
-
 
906
			this->viewModSelectedToolStripMenuItem->Text = L"View Mod Selecter";
-
 
907
			this->viewModSelectedToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainGui::viewModSelectedToolStripMenuItem_Click);
897
			// 
908
			// 
898
			// MainGui
909
			// MainGui
899
			// 
910
			// 
900
			this->AllowDrop = true;
911
			this->AllowDrop = true;
901
			this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
912
			this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
Line 932... Line 943...
932
private: System::Void MainGui_Shown(System::Object^  sender, System::EventArgs^  e);
943
private: System::Void MainGui_Shown(System::Object^  sender, System::EventArgs^  e);
933
private: System::Void ButRun_Click(System::Object^  sender, System::EventArgs^  e) {
944
private: System::Void ButRun_Click(System::Object^  sender, System::EventArgs^  e) {
934
			 this->LaunchGame();
945
			 this->LaunchGame();
935
		 }
946
		 }
936
private: System::Void uninstallToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
947
private: System::Void uninstallToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
937
			 if ( m_pListItem )
948
			 if ( m_pListItem )
938
			 {
949
			 {
939
				 ArrayList ^List = gcnew ArrayList();
950
				 ArrayList ^List = gcnew ArrayList();
940
				 List->Add(m_pListItem);
951
				 List->Add(m_pListItem);
941
				 this->UninstallList(List);
952
				 this->UninstallList(List);
942
			 }
953
			 }
943
		 }
954
		 }
944
private: System::Void ContextEnable_Click(System::Object^  sender, System::EventArgs^  e) {
955
private: System::Void ContextEnable_Click(System::Object^  sender, System::EventArgs^  e) {
Line 1061... Line 1072...
1061
				e->Graphics->DrawString(e->SubItem->Text, e->SubItem->Font, gcnew SolidBrush(e->SubItem->ForeColor), (float)(e->SubItem->Bounds.Location.X + img->Width), (float)e->SubItem->Bounds.Location.Y);
1072
				e->Graphics->DrawString(e->SubItem->Text, e->SubItem->Font, gcnew SolidBrush(e->SubItem->ForeColor), (float)(e->SubItem->Bounds.Location.X + img->Width), (float)e->SubItem->Bounds.Location.Y);
1062
			 }
1073
			 }
1063
			 else 
1074
			 else 
1064
				e->DrawDefault = true;
1075
				e->DrawDefault = true;
1065
		 }
1076
		 }
-
 
1077
private: System::Void viewModSelectedToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e);
-
 
1078
 
1066
};
1079
};
1067
}
1080
}