Example #1
0
        private Brush Convertbrash(my_color c)
        {
            Color memofontcolor = Color.FromArgb(c.A, c.R, c.G, c.B);
            Brush output        = new SolidColorBrush(memofontcolor);

            return(output);
        }
Example #2
0
        public double height;   //メモの高さ


        public void save_set(memo_setting s)
        {
            title        = s.title;
            content      = s.content;
            topmost      = s.topmost;
            title_hidden = s.title_hidden;
            memoID       = s.memoID;
            transper     = s.transper;
            back         = new my_color(s.back);
            font_color   = new my_color(s.font_color);
            mouse_over   = s.mouse_over;
            font         = s.font.ToString();
            fontsize     = s.fontsize;
            p            = s.p;
            width        = s.width;
            height       = s.height;
        }