Subversion Repositories spk

Rev

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

Rev 121 Rev 122
Line 18... Line 18...
18
	_lFoundDirs = new Utils::CStringList();
18
	_lFoundDirs = new Utils::CStringList();
19
 
19
 
20
	this->getAllDirs(currentDirs, removedDirs);
20
	this->getAllDirs(currentDirs, removedDirs);
21
	this->UpdateGameDirs();
21
	this->UpdateGameDirs();
22
	this->UpdateFoundDirs();
22
	this->UpdateFoundDirs();
-
 
23
	this->UpdateTexts();
23
}
24
}
24
 
25
 
25
DirectoryControl::~DirectoryControl()
26
DirectoryControl::~DirectoryControl()
26
{
27
{
27
	if (components)
28
	if (components)
Line 273... Line 274...
273
	this->listView2->AutoResizeColumns(ColumnHeaderAutoResizeStyle::HeaderSize);
274
	this->listView2->AutoResizeColumns(ColumnHeaderAutoResizeStyle::HeaderSize);
274
	this->ColumnDir2->Width += 50;
275
	this->ColumnDir2->Width += 50;
275
	this->ColumnID2->Width = 0;
276
	this->ColumnID2->Width = 0;
276
 
277
 
277
	this->ButtonAddFound->Enabled = (this->listView2->SelectedItems->Count) ? true : false;
278
	this->ButtonAddFound->Enabled = (this->listView2->SelectedItems->Count) ? true : false;
-
 
279
}
-
 
280
 
-
 
281
void DirectoryControl::UpdateTexts()
-
 
282
{
-
 
283
	CLanguages *texts = CLanguages::Instance();
-
 
284
	this->Text = _US(texts->findText(LS_DIRECTORY, LANGDIR_TITLE));
278
}
285
}
279
 
286
 
280
System::Void DirectoryControl::button1_Click(System::Object^  sender, System::EventArgs^  e)
287
System::Void DirectoryControl::button1_Click(System::Object^  sender, System::EventArgs^  e)
281
{
288
{
282
	OpenFileDialog ^ofd = gcnew OpenFileDialog();
289
	OpenFileDialog ^ofd = gcnew OpenFileDialog();