Example #1
0
        public static void subShowSwitchboard()
        {
            try
            {
                if (objSwitchboard == null) objSwitchboard = new frmSwitchboard();

                if (objSwitchboard.IsDisposed)
                {
                    objSwitchboard = null;
                    objSwitchboard = new frmSwitchboard();
                }

                objSwitchboard.Show();
            }
            catch (Exception ex)
            {
                clsErr.subLogErr("subShowSwitchboard", ex);
            }
        }
Example #2
0
 public static void subCloseSwitchboard()
 {
     try
     {
         objSwitchboard.Close();
         objSwitchboard.Dispose();
         objSwitchboard = null;
     }
     catch (Exception ex)
     {
         clsErr.subLogErr("subCloseSwitchboard", ex);
     }
 }