예제 #1
0
 //Singleton-Pattern: Only one time the reference book gets opened
 public static FrmGuide getInstance()
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new FrmGuide();
     }
     return(instance);
 }
예제 #2
0
 private FrmGuide()
 {
     InitializeComponent();
     if (current == null)
     {
         current = this;
     }
     rtbContent.Rtf = Properties.Resources.index;
 }
예제 #3
0
        private void showHelpFrmGuide()
        {
            FrmGuide frmGuide = FrmGuide.getInstance();

            if (!frmGuide.IsDisposed)
            {
                frmGuide.Show();
            }
        }