Beispiel #1
0
        private void CreateNewMaterial(object sender, RoutedEventArgs e)
        {
            var form = new StockForm();

            form.ShowDialog();
            SeachClick(null, null);
        }
Beispiel #2
0
        private void OnEditMaterial(object sender, RoutedEventArgs e)
        {
            int ID   = (int)((Button)sender).CommandParameter;
            var form = new StockForm(ID);

            form.ShowDialog();
            SeachClick(null, null);
        }