public void SetFormInit() { Biz_Com_Code_Info codeinfo = new Biz_Com_Code_Info(); codeinfo.GetProjectType(ddlPrjType, -1, true, 120); codeinfo.GetProjectPriority(ddlPRIORITY, 0, false, 250); ListItem itemA = new ListItem("----------", "0"); ddlPrjName.Items.Insert(0, itemA); txtYear.Value = DateTime.Now.Year; }
private void SetFormInit() { wdcPlanStartDate.Value = base.GetStartDayofCurrent(); wdcPlanEndDate.Value = base.GetEndDayofCurrent(); Biz_Com_Code_Info objCode = new Biz_Com_Code_Info(); objCode.GetProjectPriority(ddlPRIORITY, 0, false, 250); objCode.GetProjectType(ddlPrjType, 0, false, 250); WebCommon.SetComDeptDropDownList(ddlOwnerDeptID, true); //TextBoxCommon.SetOnlyInteger(txtTotalBudget); iBtnDraft.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_first + "');"; iBtnReDraft.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_redraft + "');"; iBtnReWrite.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_rewrite + "');"; iBtnMoDraft.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_modify + "');"; }