Пример #1
0
        private void reloadButton_Click(object sender, System.EventArgs e)
        {
#if use_bg_work
            m_dataContent.Reload();
            m_wkr.qryFgTask(new FgTask()
            {
                receiver = "F1," + m_tblName,
                sender   = "DP," + m_tblName,
                eType    = FgTask.fgTaskType.F1_FG_UPDATESTS,
                data     = "Reloading Completed!"
            }, true);
#else
            m_stsMng.onTaskBegin("Reloading");
            m_dataContent.Reload();
#endif
            //update();
            //m_status.Text = "Reloading completed!";
        }