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