コード例 #1
0
        public GradientForm()
        {
            InitializeComponent();
            colorDialog1.FullOpen     = true;
            gradientColorChangeEvent += GradientForm_gradientColorChangeEvent;
            color1_lbl.Text           = "Color 1 : " + this.Color1.Name;
            color2_lbl.Text           = "Color 2 : " + this.Color2.Name;
            colorAngle_lbl.Text       = "Angle : " + this.SweepAngle_nud.Value.ToString();
            fontColor_lbl.Text        = "Font Color : " + this.FontColor.Name;
            theme_lbl.Text            = "Theme Name : " + this.ThemeName.ToString();
            ToolTip color1_btn = new ToolTip();

            color1_btn.SetToolTip(Color1_btn, "Select color 1");
            ToolTip color2_btn = new ToolTip();

            color2_btn.SetToolTip(Color2_btn, "Select color 2");
            ToolTip FontForeColor_btn = new ToolTip();

            FontForeColor_btn.SetToolTip(FontColor_btn, "Select Font Color");
            ToolTip ThemeName_tooltip = new ToolTip();

            ThemeName_tooltip.SetToolTip(themeName_tbx, "Enter theme name");
            t          = Themes.GetInstance();
            themeNames = t.GetAllThemeNames();
        }