C# Class SalesInformation.MainPage

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Mostra file Open project: dotnetcurry/business-metro-app-dncmag-01

Public Methods

Method Description
MainPage ( ) : System

Protected Methods

Method Description
OnNavigatedTo ( NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame.

Private Methods

Method Description
CreateBillUI ( ) : void

Helper Method to Create UI inside the ListBox for adding Productwise order details like Quantity

LoadDealers ( ) : void

Helper Method to Read All Dealers

LoadProducts ( ) : void

Helper Method to Load all Products

MainPage_Loaded ( object sender, RoutedEventArgs e ) : void
btnAdd_Click ( object sender, RoutedEventArgs e ) : void

Method to Add a new Item Row

btnSaveInvoice_Click ( object sender, RoutedEventArgs e ) : void

Method to Save Invoice

cmbProducts_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Method Which will Query to the Products collection and read the Product Data

txtQuantity_LostFocus ( object sender, RoutedEventArgs e ) : void

Method used to Create Rowwise Order Bill

Method Details

MainPage() public method

public MainPage ( ) : System
return System

OnNavigatedTo() protected method

Invoked when this page is about to be displayed in a Frame.
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. The Parameter /// property is typically used to configure the page.
return void