Ejemplo n.º 1
0
        private void EditButton_Click(object sender, RoutedEventArgs e)
        {
            var EditOfferWindow = new AddOfferSWindow(OfferSDataGrid.SelectedItem as Offers);

            if (EditOfferWindow.ShowDialog() == true)
            {
                OfferSList = Core.Root.Offers.ToArray();
            }
        }
Ejemplo n.º 2
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            var NewOfferWindow = new AddOfferSWindow(new Offers());

            if (NewOfferWindow.ShowDialog() == true)
            {
                OfferSList = Core.Root.Offers.ToArray();
            }
        }