示例#1
0
        private void btAddServis_Click(object sender, RoutedEventArgs e)
        {
            Forms.AddEndCangeServis add = new AddEndCangeServis();
            add.ShowDialog();

            if (add.DialogResult == true)
            {
                Refresh();
            }
        }
示例#2
0
        private void tcChange_Click(object sender, RoutedEventArgs e)
        {
            var bt = e.OriginalSource as Button;

            var serv = bt.DataContext as BL.ModelView.ServisView;

            Forms.AddEndCangeServis cange = new AddEndCangeServis(serv);
            cange.ShowDialog();
            Refresh();
        }