コード例 #1
0
 public void Store()
 {
     foreach (var val in customFonts)
     {
         FontService.SetFont(val.Key, val.Value);
     }
 }
コード例 #2
0
 protected override void OnDestroyed()
 {
     foreach (var val in selectedFonts)
     {
         FontService.SetFont(val.Key, val.Value);
     }
     base.OnDestroyed();
 }
コード例 #3
0
ファイル: FontService.cs プロジェクト: vvarshne/monodevelop
 protected override bool OnSetValue(FontDescription value)
 {
     FontService.SetFont(name, value.ToString());
     return(true);
 }
コード例 #4
0
 public void SetFont(string fontName, string fontDescription)
 {
     customFonts [fontName] = fontDescription;
     FontService.SetFont(fontName, fontDescription);
 }