void OnInitialized(object sender, InitializedEventArgs e) { // do not show the form if it is already closed if (_isClosed) e.Ignore = true; }
private void onDialogInitialized(object sender, InitializedEventArgs e) { _bindingEngine.UpdateSource(EBingingMode.AllTwoWay); ((IDialog)sender).Initialized -= onDialogInitialized; }