/// <summary> /// The add purchased click, from Transaction View will create a new window for CreateSalesPurchased /// </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 AddPurchasedClick(object sender, RoutedEventArgs e) { CreateSalesPurchased purchased = new CreateSalesPurchased("Purchased"); purchased.Show(); }
/// <summary> /// The add sales click, from Transaction View will create a new window for CreateSalesPurchased /// </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 AddSalesClick(object sender, RoutedEventArgs e) { CreateSalesPurchased sales = new CreateSalesPurchased("Sales"); sales.Show(); }