/// <summary> /// 영업장선택 헬퍼아이콘늘 눌렀을 경우 /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void picFacilitycode_Click(object sender, EventArgs e) { try { this.picFacilitycode.Focus(); if (this.lupFacilityType.EditValue.ToString() == "") { Basic.ShowMessage(1, "영업장유형을 선택하세요"); this.lupFacilityType.Focus(); return; } string FacilityCode = this.lupFacilityType.EditValue.ToString().Trim(); Erp.Facility.JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10(txtFacilitycode.Text.Trim(), FacilityCode, false, "GetFacility"); f.Owner = this; DialogResult ds = f.ShowDialog(); if (ds == DialogResult.OK) { SendKeys.Send("{Tab}"); } } catch (Exception ex) { Basic.ShowMessage(3, ex.Message); } }
private void btn_JZHAH10_Click(object sender, EventArgs e) { try { Erp.Facility.JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10("", "", false, ""); f.ShowDialog(); } catch (Exception ex) { Basic.ShowMessage(3, ex.Message); } }
/// <summary> /// 헬퍼를 출력한다. /// </summary> private DialogResult ShowHelper() { try { Erp.Facility.JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10(txtFacilitycode.Text.Trim(), "", false, "GetFacilitycode"); f.Owner = this; DialogResult ds = f.ShowDialog(); return(ds); } catch (Exception ex) { throw ex; } }
/// <summary> /// 헬퍼를 출력한다. /// </summary> private DialogResult ShowHelper() { try { Erp.Facility.JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10(txtFacilitycode.Text.Trim(), this.lupFacilitytype.EditValue.ToString(), true, "GetFacilitycode"); f.Owner = this; DialogResult ds = f.ShowDialog(); return(ds); } catch (Exception ex) { throw ex; } }
/// <summary> /// 추첨회차 헬퍼를 눌렀을 경우 /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void picFacilityCode_Click(object sender, EventArgs e) { try { JZHA.JZHAH10 h = new Erp.Facility.JZHA.JZHAH10(txtFacilityCode.Text.Trim(), this.lupFacilityType.EditValue.ToString(), false, "GetFacilityCode"); h.Owner = this; DialogResult ds = h.ShowDialog(); if (ds == DialogResult.OK) { SendKeys.Send("{Tab}"); } } catch (Exception ex) { Basic.ShowMessage(3, ex.Message); } }
private void picHelpFacility_Click(object sender, EventArgs e) { try { this.txtFacilityType.Focus(); string FacilityCode = this.txtFacilityType.EditValue.ToString().Trim(); //비회원조회창을 띄운다. JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10(FacilityCode, "", false, "GetFacility"); f.Owner = this; f.ShowDialog(); } catch (Exception ex) { Basic.ShowMessage(3, ex.Message); } }
private void picHelpFacility_Click(object sender, EventArgs e) { try { string FacilityCode = this.lupFactoryType.EditValue.ToString().Trim(); //비회원조회창을 띄운다. JZHA.JZHAH10 f = new Erp.Facility.JZHA.JZHAH10(txtFacilityType.Text.Trim(), FacilityCode, false, "GetFacility"); f.Owner = this; if (f.ShowDialog() == DialogResult.OK) { SendKeys.Send("{Tab}"); } } catch (Exception ex) { Basic.ShowMessage(3, ex.Message); } }