Пример #1
0
 private void OnDlWinClose(object sender, DeleteEventArgs args)
 {
     if (viewerWindow != null)
     {
         viewerWindow.DeleteEvent += new DeleteEventHandler(OnDlWinClose);
         viewerWindow.Destroy();
     }
     viewerWindow = null;
 }
Пример #2
0
 private void OnDlManager(object sender, EventArgs args)
 {
     if (viewerWindow == null)
     {
         viewerWindow              = new ViewerWindow();
         viewerWindow.DeleteEvent += new DeleteEventHandler(OnDlWinClose);
         viewerWindow.ShowAll();
     }
     viewerWindow.GrabFocus();
 }
 private void OnDlWinClose(object sender, DeleteEventArgs args)
 {
     if (viewerWindow != null) {
         viewerWindow.DeleteEvent += new DeleteEventHandler(OnDlWinClose);
         viewerWindow.Destroy();
     }
     viewerWindow = null;
 }
 private void OnDlManager(object sender, EventArgs args)
 {
     if (viewerWindow == null) {
         viewerWindow = new ViewerWindow();
         viewerWindow.DeleteEvent += new DeleteEventHandler(OnDlWinClose);
         viewerWindow.ShowAll();
     }
     viewerWindow.GrabFocus();
 }