private void UI_SubFontSelect_Click( object sender, EventArgs e ) { FontSelector.Font = UI_SubFont.Font; if ( FontSelector.ShowDialog( this ) == System.Windows.Forms.DialogResult.OK ) { SerializableFont font = new SerializableFont( FontSelector.Font ); UI_SubFont.Text = font.SerializeFontAttribute; UI_SubFont.Font = font.FontData; } }
public ConfigUI() { //*/ MainFont = new Font( "Meiryo UI", 12, FontStyle.Regular, GraphicsUnit.Pixel ); SubFont = new Font( "Meiryo UI", 10, FontStyle.Regular, GraphicsUnit.Pixel ); //*/ }