Exemplo n.º 1
0
        /// <summary>
        /// The export group click, from Transaction View will create a new window for ExportExcel
        /// </summary>
        /// <param name="sender">
        /// The sender is the parent object of the button, which is the Data Grid
        /// </param>
        /// <param name="e">
        /// The e is the event arguments if applicable
        /// </param>
        private void ExportGroupClick(object sender, RoutedEventArgs e)
        {
            ExportExcel export = new ExportExcel("Transaction");

            export.Show();
        }
Exemplo n.º 2
0
        /// <summary>
        /// The export to excel click, from Products View will create a new window for ExportExcel
        /// </summary>
        /// <param name="sender">
        /// The sender is the parent object of the button, which is the Data Grid
        /// </param>
        /// <param name="e">
        /// The e is the event arguments if applicable
        /// </param>
        private void ExportToExcelClick(object sender, RoutedEventArgs e)
        {
            ExportExcel export = new ExportExcel("Product");

            export.Show();
        }