Пример #1
0
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            AutoAddEdit frmPredmetAddEdit = new AutoAddEdit(CurrentAuto);

            frmPredmetAddEdit.AutoCreated += new AutoHandler(Refresh);
            frmPredmetAddEdit.Show();
        }
Пример #2
0
        private void btnDodaj_Click(object sender, RoutedEventArgs e)
        {
            AutoAddEdit frmAutoAddEdit = new AutoAddEdit(new Auto());

            frmAutoAddEdit.AutoCreated += new AutoHandler(Refresh);
            frmAutoAddEdit.Show();
        }