Beispiel #1
0
        public void InitUI()
        {
            try
            {
                LoadFonts();
                //LoadSkins();

                int fontSize = Properties.Settings.Default.FontSize;
                listFontFamilies.Text = string.IsNullOrEmpty(Properties.Settings.Default.FontFamily) ? SkinUtil.GetDefaultFont() : Properties.Settings.Default.FontFamily;
                listSkins.Text        = Properties.Settings.Default.Skin;

                comboBoxEdit1.SelectedIndex = fontSize - 9;
            }
            catch (Exception ex)
            {
                MsgBox.Err(ex.Message);
            }
        }