private void FontDialogCommonForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (this.DialogResult == DialogResult.OK)
     {
         currentEditor.EditValue = labelControlSample.Font;
     }
     textEditFontSize.EditValueChanged   -= new EventHandler(ChangeSampleLabelFont);
     checkEditStrikeOut.EditValueChanged -= new EventHandler(ChangeSampleLabelFont);
     checkEditUnderLine.EditValueChanged -= new EventHandler(ChangeSampleLabelFont);
     CustomControlBinder.DisposeControlBinder();
 }
        private void FontDialogCommonForm_Load(object sender, EventArgs e)
        {
            CreateFontNames();
            CreateFontStyles();
            CreateFontSizes();
            InitializeControlsValue();
            CustomControlBinder.AssignControls(listBoxControlFontName, textEditFontName, true);
            CustomControlBinder.AssignControls(listBoxControlFontStyle, textEditFontStyle, true);
            CustomControlBinder.AssignControls(listBoxControlFontSize, textEditFontSize, false);
            textEditFontSize.EditValueChanged   += new EventHandler(ChangeSampleLabelFont);
            checkEditStrikeOut.EditValueChanged += new EventHandler(ChangeSampleLabelFont);
            checkEditUnderLine.EditValueChanged += new EventHandler(ChangeSampleLabelFont);

            CustomControlBinder.TextValueChanged += new CustomControlBinder.CustomControlBinderrEventHandler(ChangeSampleLabelFont);
        }