예제 #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();
            }
        }
예제 #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();
            }
        }