コード例 #1
0
 public override UserControl ConnectionDialog()
 {
     if (panel == null)
     {
         panel = new VirtualPrinterPanel();
         panel.Connect(this);
     }
     return(panel);
 }
コード例 #2
0
 protected virtual void Dispose(bool disposing) 
 {
     if (disposing) 
     {
         if (panel != null)
             panel.Dispose();
         if(injectLock !=null)
             ((IDisposable)injectLock).Dispose();
         panel = null;
         injectLock = null;
     }
 }
コード例 #3
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (panel != null)
         {
             panel.Dispose();
         }
         if (injectLock != null)
         {
             ((IDisposable)injectLock).Dispose();
         }
         panel      = null;
         injectLock = null;
     }
 }
コード例 #4
0
 public override UserControl ConnectionDialog()
 {
     if (panel == null)
     {
         panel = new VirtualPrinterPanel();
         panel.Connect(this);
     }
     return panel;
 }