private void btnChooseIcon_Click(object sender, EventArgs e)
{
OpenFileDialog filedialog = new OpenFileDialog();
filedialog.FileName = null;
filedialog.Filter = "ico file (*.ico)|*.ico|exe file (*.exe)|*.exe";
filedialog.Title = "Choose icon/file to copy icon from";
filedialog.InitialDirectory = Application.StartupPath;
filedialog.ShowDialog();
if (filedialog.FileName == null) { return; }
Instance.textIconPath.Text = filedialog.FileName;
filedialog.Dispose();
}