private void CmdIco_Click(object sender, EventArgs e) { if (BrowseIcon.ShowDialog() != DialogResult.OK) { return; } CmdIco.Image = Image.FromFile(BrowseIcon.FileName); UpdateUserInterface(); }
private void PanelIcon_Click(object sender, EventArgs e) { if (BrowseIcon.ShowDialog() != DialogResult.OK) { return; } UpdatePanelIcon(); mDirty = true; UpdateUserInterface(); }