public GlyphTable() { InitializeComponent(); if (this.DesignMode == false) { ud = new UnicodeData(@"UnicodeData.txt"); } }
public GlyphTable() { if (System.Diagnostics.Process.GetCurrentProcess().ProcessName == "devenv") { ud = new UnicodeData(); } else { ud = new UnicodeData(@"UnicodeData.txt"); } InitializeComponent(); }