예제 #1
0
 public static IoVeiewerSetTabForm getSingleton(IOViewerUnitControl UnitControl)
 {
     if (singleton == null)
     {
         singleton = new IoVeiewerSetTabForm();
     }
     return(singleton);
 }
예제 #2
0
 private void ViewerSetupbutton_Click(object sender, EventArgs e)
 {
     if (IoVeiewerSetTabForm.getSingleton(this).Visible == false)
     {
         IoVeiewerSetTabForm.getSingleton(this).Show(this);
     }
     else
     {
         IoVeiewerSetTabForm.getSingleton(this).Activate();
     }
 }