private void cmdCustomIconPath_Click(object sender, EventArgs e)
{
openFileDialogIcon.InitialDirectory = GetDirectory(txtCustomIconPath.Text);
if (openFileDialogIcon.ShowDialog(this) == DialogResult.OK) {
txtCustomIconPath.Text = openFileDialogIcon.FileName;
}
}