protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Результат | void |
private void ShowFlyout() { var calculator = new CalculatorForm(); calculator.FormClosed += (s, e) => calculator.Dispose(); calculator.ResultAccepted += (s, e) => Value = calculator.Result; calculator.Show(this); }
private void ShowFlyout() { var calculator = new CalculatorForm(); calculator.FormClosed += (s, e) => calculator.Dispose(); calculator.ResultAccepted += (s, e) => Value = calculator.Result; calculator.Show(this); }