예제 #1
0
        private void addEveniment_Click(object sender, RoutedEventArgs e)
        {
            AddEveniment form = new AddEveniment();

            this.Hide();
            form.ShowDialog();
            incarcaEvenimente();
            this.Show();
        }
예제 #2
0
        private void modifButton_Click(object sender, RoutedEventArgs e)
        {
            Button       modifButton = (Button)sender;
            AddEveniment form        = new AddEveniment((Evenimente)modifButton.Tag);

            this.Hide();
            form.ShowDialog();
            incarca();
            ShowDialog();
        }