Esempio n. 1
0
        private void Add_Click(object sender, RoutedEventArgs e)
        {
            TariffIformation filmwindow = new TariffIformation(null);

            filmwindow.Show();
            this.Close();
        }
Esempio n. 2
0
        private void Update_Click(object sender, RoutedEventArgs e)
        {
            var selectedFilm = FilmItems.SelectedItem as Film;

            if (selectedFilm == null)
            {
                MessageBox.Show("Select the item");
                return;
            }
            else
            {
                TariffIformation filmwindow = new TariffIformation(selectedFilm);
                filmwindow.Show();
                this.Close();
            }
        }