C# Class Rock.Apps.CheckScannerUtility.BatchPage

Interaction logic for BatchPage.xaml
Inheritance: System.Windows.Controls.Page
Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Private Properties

Свойство Type Description
DisplayTransactionCount void
HideBatch void
NavigateToOptionsPage void
ShowBatch void
ShowException void
ShowTransactionGridItemDetail void
TransactionGridItemDetail_Click void
UpdateBatchUI void
UpdateScannerStatusForMagtek void
batchPage_Loaded void
btnAddBatch_Click void
btnCancel_Click void
btnDeleteBatch_Click void
btnDeleteTransaction_Click void
btnEdit_Click void
btnOptions_Click void
btnRefreshBatchList_Click void
btnSave_Click void
btnScan_Click void
btnViewTransaction_Click void
grdBatches_SelectionChanged void
rangerScanner_TransportChangeOptionsState void
rangerScanner_TransportNewState void

Méthodes publiques

Méthode Description
BatchPage ( Person loggedInPerson ) : System

Initializes a new instance of the BatchPage class.

ConnectToScanner ( ) : bool

Connects to scanner.

LoadFinancialBatchesGrid ( ) : void

Loads the financial batches grid.

LoadLookups ( ) : void

Loads the combo boxes.

Méthodes protégées

Méthode Description
bindingList_ListChanged ( object sender, ListChangedEventArgs e ) : void

Handles the ListChanged event of the bindingList control.

grdBatchItems_RowEdit ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the RowEdit event of the grdBatchItems control.

Private Methods

Méthode Description
DisplayTransactionCount ( ) : void

Displays the transaction count.

HideBatch ( ) : void

Hides the batch.

NavigateToOptionsPage ( ) : void

Navigates to options page.

ShowBatch ( bool showInEditMode ) : void

Shows the batch edit.

ShowException ( Exception ex ) : void

Shows the exception.

ShowTransactionGridItemDetail ( ) : void

Shows the transaction grid item detail.

TransactionGridItemDetail_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the TransactionGridItemDetail control.

UpdateBatchUI ( FinancialBatch selectedBatch ) : void

Updates the batch UI.

UpdateScannerStatusForMagtek ( bool connected ) : void

Updates the scanner status for magtek.

batchPage_Loaded ( object sender, RoutedEventArgs e ) : void

Handles the Loaded event of the Page control.

btnAddBatch_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnAddBatch control.

btnCancel_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDeleteBatch_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnDeleteBatch control.

btnDeleteTransaction_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnDeleteTransaction control.

btnEdit_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnEdit control.

btnOptions_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnOptions control.

btnRefreshBatchList_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnRefreshBatchList control.

btnSave_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnSave control.

btnScan_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnScan control.

btnViewTransaction_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnViewTransaction control.

grdBatches_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handles the SelectionChanged event of the grdBatches control.

rangerScanner_TransportChangeOptionsState ( object sender, AxRANGERLib e ) : void

Rangers the state of the scanner_ transport change options.

rangerScanner_TransportNewState ( object sender, AxRANGERLib e ) : void

Rangers the new state of the scanner_ transport.

Method Details

BatchPage() public méthode

Initializes a new instance of the BatchPage class.
public BatchPage ( Person loggedInPerson ) : System
loggedInPerson Person The logged in person.
Résultat System

ConnectToScanner() public méthode

Connects to scanner.
public ConnectToScanner ( ) : bool
Résultat bool

LoadFinancialBatchesGrid() public méthode

Loads the financial batches grid.
public LoadFinancialBatchesGrid ( ) : void
Résultat void

LoadLookups() public méthode

Loads the combo boxes.
public LoadLookups ( ) : void
Résultat void

bindingList_ListChanged() protected méthode

Handles the ListChanged event of the bindingList control.
protected bindingList_ListChanged ( object sender, ListChangedEventArgs e ) : void
sender object The source of the event.
e System.ComponentModel.ListChangedEventArgs The instance containing the event data.
Résultat void

grdBatchItems_RowEdit() protected méthode

Handles the RowEdit event of the grdBatchItems control.
protected grdBatchItems_RowEdit ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object The source of the event.
e System.Windows.Input.MouseButtonEventArgs The instance containing the event data.
Résultat void