private void ShowAccount_Click_1(object sender, RoutedEventArgs e) { try { dhTransactionList objtoBind = new dhTransactionList(); objtoBind.IAccountID = ((dhEmployee)EmpInfo.DataContext).IAccountid; objtoBind.BShowBlance = true; objtoBind.WinTitle = "Account Transactions Detail of ‘" + GlobalObjEmployee.VEmpfName + "’ Account Number ‘" + GlobalObjEmployee.VAccountNo + "’"; objtoBind.WinHeading = objtoBind.WinTitle; objtoBind.WinDetial = ""; lstTransaction ObjAcctountWin = new lstTransaction(objtoBind); //objPre.docview1.Document = xps.GetFixedDocumentSequence(); Window window = new Window { Title = objtoBind.WinTitle, Content = ObjAcctountWin, Height = 600, // just added to have a smaller control (Window) Width = 915, ResizeMode = ResizeMode.NoResize }; window.ShowDialog(); } catch (Exception ex) { Globalized.setException(ex, lblErrorMsg, MsgType.Error); } }
public DataTable GetTransactionsList(dhDBnames objDBNames, dhTransactionList objTransactionsList) { // dsGeneral ds = new dsGeneral(); DataSet dsreturn = objDatabase.GetDataSet(objDBNames, objTransactionsList, "xmlGetTransactionsList"); return(dsreturn.Tables.Count > 0 ? dsreturn.Tables[0] : null); }
public static DataTable GetTransactionsList(dhDBnames objDBNames, dhTransactionList objTransactionsList) { try { DataTable var_ret; if (objblJournal == null) { objblJournal = new blJournal(); } var_ret = objblJournal.GetTransactionsList(objDBNames, objTransactionsList); return(var_ret); } catch (Exception ex) { throw ex; } }
private void ShowAccount_Click(object sender, RoutedEventArgs e) { dhTransactionList objtoBind = new dhTransactionList(); objtoBind.IAccountID = ((dhAccount)AccountDt.DataContext).IAccountid; objtoBind.BShowBlance = true; objtoBind.WinTitle = "Account Transactions Detail of ‘" + objTodisplay.AccountName + "’ Account Number ‘" + objTodisplay.VAccountNo + "’"; objtoBind.WinHeading = objtoBind.WinTitle; objtoBind.WinDetial = ""; lstTransaction ObjAcctountWin = new lstTransaction(objtoBind); //objPre.docview1.Document = xps.GetFixedDocumentSequence(); Window window = new Window { Title = objtoBind.WinTitle, Content = ObjAcctountWin, Height = 600, // just added to have a smaller control (Window) Width = 915, ResizeMode = ResizeMode.NoResize }; window.ShowDialog(); }
internal DataTable GetTransactionsList(dhDBnames objDBNames, dhTransactionList objTransactionsList) { DataTable dt = objDALGeneral.GetTransactionsList(objDBNames, objTransactionsList); return(dt); }