コード例 #1
0
        private void CmdIco_Click(object sender, EventArgs e)
        {
            if (BrowseIcon.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            CmdIco.Image = Image.FromFile(BrowseIcon.FileName);

            UpdateUserInterface();
        }
コード例 #2
0
        private void PanelIcon_Click(object sender, EventArgs e)
        {
            if (BrowseIcon.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            UpdatePanelIcon();

            mDirty = true;
            UpdateUserInterface();
        }