Example #1
0
        private void btnCopyByDate_Click(object sender, EventArgs e)
        {
            new System.Threading.Thread(() =>
            {
                try
                {
                    UIInProcess(true);

                    FileCopyByGroup fileCopyByGroup = ConstructFileCopyByGroup();
                    fileCopyByGroup.Execute();

                    SaveConfig();
                }
                catch (Exception ex)
                {
                    CommFunction.WriteMessage(ex.Message);
                }
                finally
                {
                    UIInProcess(false);
                }

                GC.Collect();
            }).Start();
        }
Example #2
0
        private FileCopyByGroup ConstructFileCopyByGroup()
        {
            FileCopyByGroup retVal = new FileCopyByGroup();

            retVal.SetFileSelectParm(this.GetFormFileSelParm());
            retVal.SetFunctionRule(chkModMove.Checked);

            return(retVal);
        }
Example #3
0
        private FileCopyByGroup ConstructFileCopyByGroup()
        {
            FileCopyByGroup retVal = new FileCopyByGroup();
            retVal.SetFileSelectParm(this.GetFormFileSelParm());
            retVal.SetFunctionRule(chkModMove.Checked);

            return retVal;
        }