//Constructs the settings module with the form and shared data as reference public SettingsModule(FrmMain frm, SharedData data) { //Locally stores the form and shared data references this.frm = frm; this.data = data; //Sets the file path to the application's start up path combined with the settings.moneta extension filePath = data.databasePath + "\\SETTINGS.MONETA"; }
//Class constructor with the form and shared data as parameters public ClientModule(FrmMain frm, SharedData data) { //Locally stores the refrences to the parameters this.frm = frm; this.data = data; }
//Class constructor with the form and shared data parameters public ExpenseModule(FrmMain frm, SharedData data) { //Locally stores the form and shared data this.frm = frm; this.data = data; }
//Class constructor with the form and shared data passed in as refrences public InvoiceModule(FrmMain frmMain, SharedData data) { //Locally stores the parameters this.frm = frmMain; this.data = data; }