ARCed.Controls.FontSelector.SetFont C# (CSharp) 메소드

SetFont() 개인적인 메소드

private SetFont ( Font font ) : void
font System.Drawing.Font
리턴 void
        private void SetFont(Font font)
        {
            this._suppressEvents = true;
            this.fontComboBox.SelectedFontFamily = font.OriginalFontName;
            this.numericSize.Value = (decimal)font.Size;
            this.checkBoxBold.Checked = font.Style.HasFlag(FontStyle.Bold);
            this.checkBoxItalic.Checked = font.Style.HasFlag(FontStyle.Italic);
            this.checkBoxUnderline.Checked = font.Style.HasFlag(FontStyle.Underline);
            this._suppressEvents = false;
            this.labelSample.Font = this.GetFont();
        }