Subversion Repositories spk

Rev

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

Rev 68 Rev 94
Line 20... Line 20...
20
	///          resources associated with this form.
20
	///          resources associated with this form.
21
	/// </summary>
21
	/// </summary>
22
	public ref class ModDiff : public System::Windows::Forms::Form
22
	public ref class ModDiff : public System::Windows::Forms::Form
23
	{
23
	{
24
	public:
24
	public:
25
		ModDiff(CLinkList<SGameDir> *gameDir, CPackages *p)
25
		ModDiff(CGameDirectories *gameDir, CPackages *p)
26
		{
26
		{
27
			InitializeComponent();
27
			InitializeComponent();
28
 
28
 
29
			for ( SGameDir *dir = gameDir->First(); dir; dir = gameDir->Next() )
29
			for ( Utils::String dir = gameDir->first(); !dir.empty(); dir = gameDir->next() ) 
30
				this->comboBox1->Items->Add(_US(dir->dir + " (&quot; + dir->name + ")"));
30
				this->comboBox1->Items->Add(_US(dir + " (&quot; + gameDir->currentName() + ")"));
31
 
31
			
32
			m_pPackages = p;
32
			m_pPackages = p;
33
 
33
 
34
			this->panel3->Enabled = false;
34
			this->panel3->Enabled = false;
35
			this->panel5->Enabled = false;
35
			this->panel5->Enabled = false;
36
			this->pictureBox2->Image = nullptr;
36
			this->pictureBox2->Image = nullptr;