public SchedualInfo(bool debug, int bandID, DateTime date, MainForm pFrm) { InitializeComponent(); bandIdNum = bandID; debugMode = debug; selectDayTime = date; parentFrm = pFrm; if (debugMode) { changeDebug(debugMode); } }
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); } }
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); } }
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); } }