void CalculatorPopup_Opened(object sender, EventArgs e)
 {
     if (_calculator != null)
     {
         _calculator.InitializeToValue(this.Value);
         _calculator.Focus();
     }
 }
Ejemplo n.º 2
0
 void CalculatorPopup_Opened(object sender, EventArgs e)
 {
     if (_calculator != null)
     {
         var initValue = this.UpdateValueOnEnterKey ? this.ConvertTextToValue(this.TextBox.Text) : this.Value;
         _calculator.InitializeToValue(initValue);
         _calculator.Focus();
     }
 }
 void CalculatorPopup_Opened(object sender, EventArgs e)
 {
     _calculator.Focus();
 }