Example #1
0
        void BtnSaveSubmit_Click(object sender, RoutedEventArgs e)
        {
            if (AttendMonthlyBatchBalance.CHECKSTATE != Convert.ToInt32(CheckStates.UnSubmit).ToString())
            {
                return;
            }

            if (entAMBList == null)
            {
                return;
            }

            if (entAMBList.Count() == 0)
            {
                return;
            }

            EntityBrowser entBrowser = this.FindParentByType <EntityBrowser>();

            entBrowser.BtnSaveSubmit.IsEnabled = false;
            needsubmit = true;

            clientAtt.AddAttendMonthlyBatchBalanceAsync(AttendMonthlyBatchBalance);

            RefreshUI(RefreshedTypes.ProgressBar);
        }