c# - ShowDialog issue on Close -


I'm ever seeing a problem with the window. ShowDialog () where the window is physically closed, but the pseudo-logic shown in the code does not return to the point.

I have the following:

  try {log. Debug ("Showing new dialog window."); Results = Dialog Window.ShowDialog (); Logs. Debug ("close the new dialog window"); } Finally {log.Debug ("Resetting Opacity:" + this.ToString ()); Opacity = 1; Lock.Release (dialogWindowPadLock); }  

When the window tries to close () , it disappears, but opacity is not set back to 1 and the window is still Also getting key up events but it is requested as

Cheers,

James

, close the window for the method:

  public override zero enterPressed (string input) {log.Info ("user [" + "username" + "] successfully activated"); StopNextUserCheck (); ActivateAprication = Exit Risson User active; Close (); // Do not dissolve as we do not want to add DBP listener returns; }  

I'm not sure that I understand your question, but maybe opacity set Trying to convert to window ending event.

Additionally, try setting the open window's DialogResult manually.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -