Exemple #1
0
        private void submitButton_Click(object sender, System.EventArgs e)
        {
#if use_bg_work
            m_dataContent.Submit();
            m_wkr.qryFgTask(new FgTask()
            {
                receiver = "F1," + m_tblName,
                sender   = "DP," + m_tblName,
                eType    = FgTask.fgTaskType.F1_FG_UPDATESTS,
                data     = "Submiting Completed!"
            }, true);
#else
            OnSubmit();
#endif
        }
Exemple #2
0
        public void Save()
        {
            DataContent orderResDC = appConfig.s_contentProvider.CreateDataContent(m_curOrderResTbl);
            DataContent resDC      = appConfig.s_contentProvider.CreateDataContent(m_curResTbl);

            orderResDC.Submit();
            resDC.Submit();
        }