public FrmSysAuthMainDB() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmSysAuthMainDB).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmSysAuthMainDB).Assembly); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_AUTH_CD"].HeaderText = wRM.GetString("wAuthority") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_AUTH_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_MYBLOCK_FLAG"].HeaderText = msgRM.GetString("msgMyZoneStatus"); dataGridView1.Columns["dgv1_MYCON_FLAG"].HeaderText = msgRM.GetString("msgMyConstructionTypesStatus"); dataGridView1.Columns["dgv1_MYCOM_FLAG"].HeaderText = msgRM.GetString("msgMyCompanyStatus"); dataGridView1.Columns["dgv1_MYTEAM_FLAG"].HeaderText = msgRM.GetString("msgMyTeamStatus"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = msgRM.GetString("msgUsageStatus"); dataGridView1.Columns["dgv1_AUTH_LEVEL"].HeaderText = wRM.GetString("wAuthority") + wRM.GetString("wLevel"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_AUTH_CD"].HeaderText = "*" + wRM.GetString("wAuthority") + wRM.GetString("wCode"); dataGridView2.Columns["dgv2_AUTH_NM"].HeaderText = "*" + wRM.GetString("wName"); dataGridView2.Columns["dgv2_MYBLOCK_FLAG"].HeaderText = msgRM.GetString("msgMyZoneStatus"); dataGridView2.Columns["dgv2_MYCON_FLAG"].HeaderText = msgRM.GetString("msgMyConstructionTypesStatus"); dataGridView2.Columns["dgv2_MYCOM_FLAG"].HeaderText = msgRM.GetString("msgMyCompanyStatus"); dataGridView2.Columns["dgv2_MYTEAM_FLAG"].HeaderText = msgRM.GetString("msgUsageStatus"); dataGridView2.Columns["dgv2_AUTH_LEVEL"].HeaderText = "*" + wRM.GetString("wAuthority") + wRM.GetString("wLevel"); dataGridView2.Columns["dgv2_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_AUTH_CD"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 dataGridView2.Columns["dgv2_AUTH_NM"].HeaderCell.Style.ForeColor = Color.Maroon; dataGridView2.Columns["dgv2_AUTH_LEVEL"].HeaderCell.Style.ForeColor = Color.Maroon; Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); dvSet.setStyle(dataGridView2, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel1.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmSysAuthMainDB.cs (Function)::FrmSysCode (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmMenuSite() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmMenuSite).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmMenuSite).Assembly); //btnSearch.Text = wRM.GetString("lngSearch"); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_MENU_CD"].HeaderText = wRM.GetString("wMenu") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_SUB_MENU_CD"].HeaderText = wRM.GetString("wSub") + wRM.GetString("wMenu") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_TOP_MENU_CD"].HeaderText = wRM.GetString("wTop") + wRM.GetString("wMenu") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_APP_FLAG"].HeaderText = wRM.GetString("wApp") + wRM.GetString("wUse"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = wRM.GetString("wUse"); dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView1.Columns["dgv1_MENU_PATH"].HeaderText = wRM.GetString("wFile") + wRM.GetString("wPath"); dataGridView1.Columns["dgv1_FILE_FOLDER"].HeaderText = wRM.GetString("wFile") + wRM.GetString("wFolder"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_MENU_CD"].HeaderText = "*" + wRM.GetString("wMenu") + wRM.GetString("wCode"); dataGridView2.Columns["dgv2_NM"].HeaderText = "*" + wRM.GetString("wName"); dataGridView2.Columns["dgv2_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView2.Columns["dgv2_MENU_PATH"].HeaderText = wRM.GetString("wFile") + wRM.GetString("wPath"); dataGridView2.Columns["dgv2_FILE_FOLDER"].HeaderText = wRM.GetString("wFile") + wRM.GetString("wFolder"); dataGridView2.Columns["dgv2_MENU_CD"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 dataGridView2.Columns["dgv2_NM"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); dvSet.setStyle(dataGridView2, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel2.Paint += new PaintEventHandler(this.paint_Purple1); SetDataBind_grideView2(); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmMenuSite.cs (Function)::FrmMenuSite (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmCodeTMainDB(FrmCodeTSite CodeTSite) { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); _formCodeTSite = CodeTSite; try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmCodeTMainDB).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmCodeTMainDB).Assembly); btnSave.Text = wRM.GetString("wApply"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_TCODE"].HeaderText = wRM.GetString("wTcode"); dataGridView1.Columns["dgv1_TTYPE_SCD"].HeaderText = "T" + wRM.GetString("wType") + wRM.GetString("wScode"); dataGridView1.Columns["dgv1_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_LIST_FLAG"].HeaderText = wRM.GetString("wList"); dataGridView1.Columns["dgv1_REQUIRED_FLAG"].HeaderText = wRM.GetString("wRequired"); dataGridView1.Columns["dgv1_NUMERIC_FLAG"].HeaderText = wRM.GetString("wNumeric"); dataGridView1.Columns["dgv1_USING_CNT"].HeaderText = wRM.GetString("wUse") + wRM.GetString("wCounter"); dataGridView2.Columns["dgv2_TCODE"].HeaderText = "*" + wRM.GetString("wTcode"); dataGridView2.Columns["dgv2_NM"].HeaderText = "*" + wRM.GetString("wName"); dataGridView2.Columns["dgv2_LIST_FLAG"].HeaderText = wRM.GetString("wList"); dataGridView2.Columns["dgv2_REQUIRED_FLAG"].HeaderText = wRM.GetString("wRequired"); dataGridView2.Columns["dgv2_NUMERIC_FLAG"].HeaderText = wRM.GetString("wNumeric"); dataGridView2.Columns["dgv2_TCODE"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 dataGridView2.Columns["dgv2_NM"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); dvSet.setStyle(dataGridView2, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel2.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmCodeTMainDB.cs (Function)::FrmCodeTMainDB (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmAccessDevice() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); //Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US"); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmAccessDevice).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmAccessDevice).Assembly); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_DEV_CD"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_DEVICE_ID"].HeaderText = msgRM.GetString("msgDeviceId"); dataGridView1.Columns["dgv1_DEV_TYPE_SCD"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wType") + wRM.GetString("wScode"); dataGridView1.Columns["dgv1_DEV_IO_SCD"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wInOut") + wRM.GetString("wScode"); dataGridView1.Columns["dgv1_DEV_NM"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wName"); dataGridView1.Columns["dgv1_IP"].HeaderText = wRM.GetString("wIp"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = msgRM.GetString("msgUsageStatus"); dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); // 헤더 필수 항목 빨강색 dataGridView1.Columns["dgv1_DEVICE_ID"].HeaderCell.Style.ForeColor = Color.Maroon; dataGridView1.Columns["dgv1_DEV_TYPE_SCD"].HeaderCell.Style.ForeColor = Color.Maroon; dataGridView1.Columns["dgv1_DEV_IO_SCD"].HeaderCell.Style.ForeColor = Color.Maroon; Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); //lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel1.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmSysAuthSiteDB.cs (Function)::FrmSysCode (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmTeam() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmTeam).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmTeam).Assembly); btnSearch.Text = wRM.GetString("wSearch"); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_TEAM_CD"].HeaderText = wRM.GetString("wCode"); dataGridView1.Columns["dgv1_TEAM_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = wRM.GetString("wUse"); dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_TEAM_NM"].HeaderText = "*" + wRM.GetString("wName"); dataGridView2.Columns["dgv2_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView2.Columns["dgv2_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_TEAM_NM"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); dvSet.setStyle(dataGridView2, false, false); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmTeam.cs (Function)::FrmCompany (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmCodeTSite() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmCodeTSite).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmCodeTSite).Assembly); //btnSearch.Text = wRM.GetString("lngSearch"); btnSave.Text = wRM.GetString("wSave"); btnAdd.Text = wRM.GetString("wAdd"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_TCODE"].HeaderText = wRM.GetString("wTcode"); dataGridView1.Columns["dgv1_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_DEFAULT_VALUE"].HeaderText = wRM.GetString("wDefaultValue"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = wRM.GetString("wUse"); dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel2.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmCodeTSite.cs (Function)::FrmCodeTSite (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmMenuSetAuthSite() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmMenuSetAuthSite).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmMenuSetAuthSite).Assembly); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_MENU_CD"].HeaderText = wRM.GetString("wMenu") + wRM.GetString("wCode"); dataGridView1.Columns["dgv1_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_VIEW_FLAG"].HeaderText = wRM.GetString("wView"); dataGridView1.Columns["dgv1_NEW_FLAG"].HeaderText = wRM.GetString("wAdd"); dataGridView1.Columns["dgv1_MODIFY_FLAG"].HeaderText = wRM.GetString("wModify"); dataGridView1.Columns["dgv1_DEL_FLAG"].HeaderText = wRM.GetString("wDelete"); dataGridView1.Columns["dgv1_REPORT_FLAG"].HeaderText = wRM.GetString("wReport"); dataGridView1.Columns["dgv1_PRINT_FLAG"].HeaderText = wRM.GetString("wPrint"); dataGridView1.Columns["dgv1_DOWNLOAD_FLAG"].HeaderText = wRM.GetString("wDownload"); Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel2.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmMenuSetAuthSite.cs (Function)::FrmMenuSetAuthSite (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
//string _ccodeGrp = ""; public FrmInOutLog() { Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmInOutLog).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmInOutLog).Assembly); btnSearch.Text = wRM.GetString("wSearch"); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_LAB_NO"].HeaderText = wRM.GetString("wWorker") + wRM.GetString("wNumber"); dataGridView1.Columns["dgv1_LAB_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_EVENT_DT"].HeaderText = msgRM.GetString("wEventDate"); dataGridView1.Columns["dgv1_CO_NM"].HeaderText = wRM.GetString("wCompany"); dataGridView1.Columns["dgv1_TEAM_NM"].HeaderText = wRM.GetString("wTeam"); dataGridView1.Columns["dgv1_DEV_CD"].HeaderText = wRM.GetString("wDevice"); dataGridView1.Columns["dgv1_DEV_TYPE_SCD"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wType") + wRM.GetString("wScode"); dataGridView1.Columns["dgv1_DEV_IO_SCD"].HeaderText = wRM.GetString("wDevice") + wRM.GetString("wInOut") + wRM.GetString("wScode"); dataGridView1.Columns["dgv1_CODE_NM"].HeaderText = wRM.GetString("wJobType"); Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmInOutLog.cs (Function)::FrmInOutLog (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public Form1() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); lngRM = new ResourceManager("EldigmPlusApp.strLanguage", typeof(FrmSysCodeGrp).Assembly); msgRM = new ResourceManager("EldigmPlusApp.msgLanguage", typeof(FrmSysCodeGrp).Assembly); btnSave.Text = "저장"; dataGridView1.Columns["dgv1_CHK"].HeaderText = "선택"; dataGridView1.Columns["dgv1_SCODE_NM"].HeaderText = "*이름"; dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = "사용"; dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = "정렬"; dataGridView1.Columns["dgv1_MEMO"].HeaderText = "메모"; dataGridView1.Columns["dgv1_SCODE_NM"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel2.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmSysCodeGrp.cs (Function)::FrmSysCodeGrp (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmCompany() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmCompany).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmCompany).Assembly); btnSearch.Text = wRM.GetString("wSearch"); btnSave.Text = wRM.GetString("wSave"); dataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); dataGridView1.Columns["dgv1_CO_CD"].HeaderText = wRM.GetString("wCode"); dataGridView1.Columns["dgv1_CO_NM"].HeaderText = wRM.GetString("wName"); dataGridView1.Columns["dgv1_USING_FLAG"].HeaderText = wRM.GetString("wUse"); dataGridView1.Columns["dgv1_HEADCO_CD"].HeaderText = wRM.GetString("wHeadOffice"); dataGridView1.Columns["dgv1_CONST_CCD"].HeaderText = wRM.GetString("wConstructionTypes"); dataGridView1.Columns["dgv1_CO_TYPE_SCD"].HeaderText = wRM.GetString("wCompany") + wRM.GetString("wClassify"); dataGridView1.Columns["dgv1_SITE_CD"].HeaderText = wRM.GetString("wSite"); dataGridView1.Columns["dgv1_START_DATE"].HeaderText = wRM.GetString("wStartDate"); dataGridView1.Columns["dgv1_END_DATE"].HeaderText = wRM.GetString("wEndDate"); dataGridView1.Columns["dgv1_BIZ_NO"].HeaderText = wRM.GetString("wBizNo"); dataGridView1.Columns["dgv1_OWNER_NM"].HeaderText = wRM.GetString("wOwner"); dataGridView1.Columns["dgv1_TEL"].HeaderText = wRM.GetString("wTel"); dataGridView1.Columns["dgv1_ADDR"].HeaderText = wRM.GetString("wAddress"); dataGridView1.Columns["dgv1_USING_CNT"].HeaderText = wRM.GetString("wUse") + wRM.GetString("wCounter"); dataGridView1.Columns["dgv1_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView1.Columns["dgv1_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_CO_NM"].HeaderText = "*" + wRM.GetString("wName"); dataGridView2.Columns["dgv2_BIZ_NO"].HeaderText = wRM.GetString("wBizNo"); dataGridView2.Columns["dgv2_CONST_CCD"].HeaderText = wRM.GetString("wConstructionTypes"); dataGridView2.Columns["dgv2_CO_TYPE_SCD"].HeaderText = wRM.GetString("wCompany") + wRM.GetString("wClassify"); dataGridView2.Columns["dgv2_OWNER_NM"].HeaderText = wRM.GetString("wOwner"); dataGridView2.Columns["dgv2_TEL"].HeaderText = wRM.GetString("wTel"); dataGridView2.Columns["dgv2_ADDR"].HeaderText = wRM.GetString("wAddress"); dataGridView2.Columns["dgv2_SORT_NO"].HeaderText = wRM.GetString("wSort"); dataGridView2.Columns["dgv2_MEMO"].HeaderText = wRM.GetString("wMemo"); dataGridView2.Columns["dgv2_CO_NM"].HeaderCell.Style.ForeColor = Color.Maroon; // 헤더 필수 항목 빨강색 Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(dataGridView1, false, false); dvSet.setStyle(dataGridView2, false, false); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmCompany.cs (Function)::FrmCompany (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }
public FrmLaborSearch() { // Sets the UI culture Thread.CurrentThread.CurrentUICulture = new CultureInfo(AppInfo.SsLanguage); //Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US"); this.AutoScaleMode = AutoScaleMode.Dpi; InitializeComponent(); try { logs = new LogUtil(); wRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.word_Language", typeof(FrmLaborSearch).Assembly); msgRM = new ResourceManager("EldigmPlusApp.GlobalLanguage.msg_Language", typeof(FrmLaborSearch).Assembly); btnAdd.Text = wRM.GetString("wAdd"); btnSearch.Text = wRM.GetString("wSearch"); btnReset.Text = wRM.GetString("wReset"); lblAddInfo.Text = wRM.GetString("wAdd") + wRM.GetString("wInfo"); //VISIBLE DataGridView1.Columns["dgv1_CHK"].HeaderText = wRM.GetString("wSelect"); DataGridView1.Columns["dgv1_LAB_NO"].HeaderText = wRM.GetString("wWorker") + wRM.GetString("wNumber"); DataGridView1.Columns["dgv1_CO_NM"].HeaderText = wRM.GetString("wCompany") + wRM.GetString("wName"); DataGridView1.Columns["dgv1_LAB_NM"].HeaderText = wRM.GetString("wWorker") + wRM.GetString("wName"); DataGridView1.Columns["dgv1_TEAM_NM"].HeaderText = wRM.GetString("wTeam") + wRM.GetString("wName"); DataGridView1.Columns["dgv1_JOB_NM"].HeaderText = wRM.GetString("wJobType"); DataGridView1.Columns["dgv1_BIRTH_DATE"].HeaderText = wRM.GetString("wBirthDate"); DataGridView1.Columns["dgv1_MOBILE_NO"].HeaderText = wRM.GetString("wTel"); DataGridView1.Columns["dgv1_USER_NO"].HeaderText = wRM.GetString("wUser") + wRM.GetString("wNumber"); DataGridView1.Columns["dgv1_AUTH_CD"].HeaderText = wRM.GetString("wAuthority"); //INVISIBLE(THESE ARE JUST FOR TRANSFERING DATA TO POP UP MODIFY PAGE) DataGridView1.Columns["dgv1_BLOCK_CCD"].HeaderText = wRM.GetString("wBlock") + wRM.GetString("wCode"); DataGridView1.Columns["dgv1_CO_CD"].HeaderText = wRM.GetString("wCompany") + wRM.GetString("wCode"); DataGridView1.Columns["dgv1_TEAM_CD"].HeaderText = wRM.GetString("wTeam") + wRM.GetString("wCode"); DataGridView1.Columns["dgv1_JOB_CCD"].HeaderText = wRM.GetString("wJobType") + wRM.GetString("wCode"); //POSSIBLE TO USE THESE DATA AFTER //dataGridView1.Columns["dgv1_BLOCK_CCD"].HeaderText = "구역 C코드"; //dataGridView1.Columns["dgv1_FACE_PHOTO"].HeaderText = "얼굴 사진"; //dataGridView1.Columns["dgv1_LAB_STS"].HeaderText = "근로자 상태"; //// 헤더 필수 항목 빨강색 //dataGridView1.Columns["dgv1_DEVICE_ID"].HeaderCell.Style.ForeColor = Color.Maroon; //dataGridView1.Columns["dgv1_DEV_TYPE_SCD"].HeaderCell.Style.ForeColor = Color.Maroon; //dataGridView1.Columns["dgv1_DEV_IO_SCD"].HeaderCell.Style.ForeColor = Color.Maroon; Control.CheckForIllegalCrossThreadCalls = false; this.BackColor = Color.WhiteSmoke; splitContainer1.Panel1.BackColor = Color.LightSteelBlue; Class.Common.DatagrideViewStyleSet dvSet = new Class.Common.DatagrideViewStyleSet(); dvSet.setStyle(DataGridView1, false, false); //lblName.BackColor = Color.FromArgb(204, 219, 243); this.panel1.Paint += new PaintEventHandler(this.paint_Purple1); } catch (Exception ex) { logs.SaveLog("[error] (page)::FrmLaborSearch.cs (Function)::FrmLaborSearch (Detail):: " + "\r\n" + ex.ToString(), "Error"); } }