// Constructor public Parser_DailyReport(string friendly_name, string base_dir_path) { RegKey = Registry.CurrentUser.CreateSubKey("Software\\ForeclosureApp\\" + friendly_name, RegistryKeyPermissionCheck.ReadWriteSubTree); Base_Path = base_dir_path + "\\" + friendly_name; cs_DRLock = new Object(); // sending out pointers to this object Parser_DailyReport dr = this; p_Cleanup = new Cleanup(ref dr); p_Parser = new Parser(ref p_Cleanup, ref dr); }
// constructor public Parser(ref Cleanup p, ref Parser_DailyReport q) { p_Cleanup = p; p_DailyReport = q; }