예제 #1
0
 void OnInitialized(object sender, InitializedEventArgs e)
 {
     // do not show the form if it is already closed
     if (_isClosed)
         e.Ignore = true;
 }
예제 #2
0
        private void onDialogInitialized(object sender, InitializedEventArgs e)
        {
            _bindingEngine.UpdateSource(EBingingMode.AllTwoWay);

            ((IDialog)sender).Initialized -= onDialogInitialized;
        }