Esempio n. 1
0
        private void BtnMainMod_Click(object sender, RoutedEventArgs e)
        {
            FmsActionFormulaMain main = tvMain.SelectedItem as FmsActionFormulaMain;

            if ((main == null) || (string.IsNullOrEmpty(main.PKNO)))
            {
                return;
            }
            ActionFomulaMain mainEdit = new ActionFomulaMain(main);

            mainEdit.ShowDialog();

            GetMainData();
        }
Esempio n. 2
0
        private void BtnMainAdd_Click(object sender, RoutedEventArgs e)
        {
            FmsActionFormulaMain main = new FmsActionFormulaMain()
            {
                PKNO = "",
                //COMPANY_CODE = "",
                USE_FLAG = 1,
            };
            ActionFomulaMain mainEdit = new ActionFomulaMain(main);

            mainEdit.ShowDialog();

            GetMainData();
        }