public static void RemoveAccountFromGrid(DataGrid objDataGrid, dhJournalDetail objectToRemove, dhDBnames ObjDbName, bool?iSDraft) { try { if (objblAccount == null) { objblAccount = new blAccount(); } { objblAccount.RemoveAccountFromGrid(objDataGrid, objectToRemove, ObjDbName, iSDraft); } } catch (Exception ex) { throw ex; } }
//public static string GetProcessorID() //{ // string sProcessorID = ""; // string sQuery = "SELECT ProcessorId FROM Win32_Processor"; // ManagementObjectSearcher oManagementObjectSearcher = new ManagementObjectSearcher(sQuery); // ManagementObjectCollection oCollection = oManagementObjectSearcher.Get(); // foreach (ManagementObject oManagementObject in oCollection) // { // sProcessorID = (string)oManagementObject["ProcessorId"]; // } // return (sProcessorID); //} public static void InsertNewAccount(DataGrid grdItems, dhJournalDetail newItem) { try { if (objblAccount == null) { objblAccount = new blAccount(); } { objblAccount.InsertNewAccount(grdItems, newItem); } } catch (Exception ex) { throw ex; } }
public static DataSet InsertUpdateAccount(dhDBnames objDBNames, dhAccount objAccounts) { try { DataSet var_ret; if (objblAccount == null) { objblAccount = new blAccount(); } var_ret = objblAccount.InsertUpdateAccounts(objDBNames, objAccounts); return(var_ret); } catch (Exception ex) { throw ex; } }
public static dsGeneral.dtPosFinaceTypeDataTable GetFinaceType(dhDBnames objDBNames, dhAccount objAccounts) { try { dsGeneral.dtPosFinaceTypeDataTable var_ret; if (objblAccount == null) { objblAccount = new blAccount(); } var_ret = objblAccount.GetFinaceType(objDBNames, objAccounts); return(var_ret); } catch (Exception ex) { throw ex; } }
public static DataSet GetDailyIncom(dhDBnames dhDBnames, dhAccount objAccount) { try { DataSet var_ret; if (objblAccount == null) { objblAccount = new blAccount(); } var_ret = objblAccount.GetDailyIncom(dhDBnames, objAccount); return(var_ret); } catch (Exception ex) { throw ex; } }
public static dhAccount GetdhAccount(dhDBnames objDBNames, dhAccount objAccount) { try { dhAccount var_ret = null; if (objblAccount == null) { objblAccount = new blAccount(); } { var_ret = objblAccount.GetdhAccount(objDBNames, objAccount); } return(var_ret); } catch (Exception ex) { throw ex; } }