Esempio n. 1
0
        /// <summary>
        /// 塗りつぶし色変更
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panelBrushColor_Click(System.Object sender, System.EventArgs e)
        {
            FormSelectColor fSelClr = new FormSelectColor(brushColor);

            fSelClr.ShowDialog();
            panelBrushColor.BackColor = fSelClr.nowColor;
            brushColor       = fSelClr.nowColor;
            paintBrush.Color = brushColor;
            fSelClr.Dispose();
        }
Esempio n. 2
0
        /// <summary>
        /// テキスト色変更
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panelTextColor_Click(object sender, EventArgs e)
        {
            FormSelectColor fSelClr = new FormSelectColor(textColor);

            fSelClr.ShowDialog();
            panelTextColor.BackColor = fSelClr.nowColor;
            textColor      = fSelClr.nowColor;
            paintTextColor = textColor;
            fSelClr.Dispose();
        }
Esempio n. 3
0
        /// <summary>
        /// 線色変更
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panelLineColor_Click(System.Object sender, System.EventArgs e)
        {
            FormSelectColor fSelClr = new FormSelectColor(lineColor);

            fSelClr.ShowDialog();
            panelLineColor.BackColor = fSelClr.nowColor;
            lineColor      = fSelClr.nowColor;
            paintPen.Color = lineColor;
            fSelClr.Dispose();
        }