예제 #1
0
        private void OnColorClick(object sender, EventArgs e)
        {
            ColorInputDialog inputDialog = new ColorInputDialog();

            inputDialog.ShowDialog();

            pnlColor.BackColor = inputDialog.GetColor();
        }
예제 #2
0
        private void OnColorClick(object sender, EventArgs e)
        {
            ColorInputDialog inputDialog = new ColorInputDialog();

            inputDialog.ShowDialog();

            pnlColor.BackColor = inputDialog.GetColor();
        }