示例#1
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            int?     project = (int?)luProject.EditValue;
            DateTime?from    = (DateTime?)deFromDate.EditValue;
            DateTime?to      = (DateTime?)deToDate.EditValue;
            string   lumNum  = (string)luLemNumber.EditValue;

            var logList = LemHeader.GetLogHeaderList(project, from, to, null, lumNum);

            SetData(logList);
        }
示例#2
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            int?          project = (int?)luProject.EditValue;
            DateTime?     from    = (DateTime?)deFromDate.EditValue;
            DateTime?     to      = (DateTime?)deToDate.EditValue;
            EnumLogStatus?status  = luLogStatus.EditValue == null ? null : (EnumLogStatus?)Enum.Parse(typeof(EnumLogStatus), (string)luLogStatus.EditValue);

            var logList = LemHeader.GetLogHeaderList(project, from, to, status, null);

            SetData(logList);
        }