Example #1
0
 public FontInfo(FontInfo proto)
 {
     this.fontFamilyInfo = proto.fontFamilyInfo;
     this.size           = proto.size;
     this.style          = proto.style;
 }
Example #2
0
 public FontInfo(FontInfo proto)
 {
     this.fontFamilyInfo = proto.fontFamilyInfo;
     this.size = proto.size;
     this.style = proto.style;
 }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            UpdateCultureLanguage();

            if (fontList.SelectedIndex == -1)
            {
                SelectedFont = new FontInfo(SystemFonts.DefaultFont);
            }
        }