Example #1
0
        public SchedualInfo(bool debug, int bandID, DateTime date, MainForm pFrm)
        {
            InitializeComponent();
            bandIdNum = bandID;
            debugMode = debug;
            selectDayTime = date;
            parentFrm = pFrm;

            if (debugMode)
            {
                changeDebug(debugMode);
            }
        }
Example #2
0
 public PaymentInfo(int bandID, bool debug, MainForm pFrm)
 {
     //Pre: passed BandID > 0 and debug settings
     //Post: bandIdNum and debugMode are set
     InitializeComponent();
     bandIdNum = bandID;
     debugMode = debug;
     parentFrm = pFrm;
     if (debugMode)    //Check or change debug mode
     {
         changeDebug(debugMode);
     }
 }
Example #3
0
        string themeName = ""; //Selected Theme Name

        #endregion Fields

        #region Constructors

        public Settings(bool debug, string mainDir, MainForm pFrm)
        {
            //Pre: mainDir != null
            //Post: Changes debugMode and sets the main directory
            //      Sets parentFrm
            InitializeComponent();
            debugMode = debug;
            main_dir = mainDir;
            parentFrm = pFrm;
            if (debugMode)
            {
                changeDebug(debugMode);
            }
        }
Example #4
0
        public BandInfo(bool debug, MainForm pfrm, 
                        string clientDir, string publishDir, 
                        string backupDir, string bkupClientDir,
                        string bkupPublishDir)
        {
            //Pre:
            //Post: bandIdNum and debugMode are set
            InitializeComponent();
            debugMode = debug;
            parentFrm = pfrm;

            /* Set Default Directories */
            deClientDir = clientDir;
            dePublishDir = publishDir;
            deBackupDir = backupDir;
            deBkupClientDir = bkupClientDir;
            deBkupPublishDir = bkupPublishDir;

            if (debugMode)   //Check or change debug mode
            {
                changeDebug(debugMode);
            }
        }