//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/03 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.ShishoCd = this._shishoCd; alInput.SuishitsuKekkaNmCd = this._suishitsuKekkaCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); this._suishitsuKekkaNmMstDT = alOutput.SuishitsuKekkaNmMstDT; // Set default Shisho combobox Utility.Utility.SetComboBoxList(shishoNmComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); if (!string.IsNullOrEmpty(this._shishoCd) && !string.IsNullOrEmpty(this._suishitsuKekkaCd)) { this._displayMode = DispMode.Detail; this.Text = "水質結果名称マスタ詳細"; SetDefaultValueControl(); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/30 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.ShoriHoshikiKbn = _shoriHoshikiKbn; alInput.ShoriHoshikiCd = _shoriHoshikiCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); if (alOutput.ShoriHoshikiMstDT != null && alOutput.ShoriHoshikiMstDT.Count > 0) { SetValues(alOutput.ShoriHoshikiMstDT[0]); _dispDT = alOutput.ShoriHoshikiMstDT; } SetControlModeView(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/08/13 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.jokasoDaichoListPanel.Top; this._defaultListPanelHeight = this.jokasoDaichoListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); alInput.SearchCond = new JokasoDaichoMstSearchCond(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // 検索結果件数 jokasoDaichoListCountLabel.Text = string.Concat(alOutput.JokasoDaichoMstSearchDataTable.Count, "件"); // Binding source to dgv jokasoListDataGridView.DataSource = alOutput.JokasoDaichoMstSearchDataTable; // 保健所 Utility.Utility.SetComboBoxList(hokenjoNmComboBox, alOutput.HokenjoMstDataTable, "HokenjoNm", "HokenjoCd", true); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/26 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.ShishoCd = (this._dispMode == DispMode.Add) ? string.Empty : this._shishoCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Display default value in Detail mode if (this._dispMode == DispMode.Detail) { this._dispTable = alOutput.ShishoMstDataTable; // Default value DisplayDefault(); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/07 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.YakushokuCd = _yakushokuCd; alInput.NameKbn = Utility.Constants.NameKbnConstant.NAME_KBN_005; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); Utility.Utility.SetComboBoxList(yakushokuKbnCombobox, alOutput.NameMstDT, "NAME", "NAMECD", true); if (alOutput.YakushokuMstDT != null && alOutput.YakushokuMstDT.Count > 0) { SetValues(alOutput.YakushokuMstDT[0]); _dispDT = alOutput.YakushokuMstDT; } SetControlModeView(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/03 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.SuishitsuShikenKoumokuCd = this._suishitsuShikenKoumokuCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); this._suishitsuShikenKoumokuDT = alOutput.SuishitsuShikenKoumokuMstDataTable; if (!string.IsNullOrEmpty(this._suishitsuShikenKoumokuCd)) { _displayMode = DispMode.Detail; this.Text = "水質試験項目マスタ詳細"; SetDefaultValueControl(); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/21 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { // Clear datagirdview maeukekinTblDataSet.Clear(); IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Display data maeukekinTblDataSet.Merge(alOutput.MaeukekinTblKensakuDT); if (alOutput.MaeukekinTblKensakuDT == null || alOutput.MaeukekinTblKensakuDT.Count == 0) { maeukekinListCountLabel.Text = "0件"; } else { maeukekinListCountLabel.Text = alOutput.MaeukekinTblKensakuDT.Count.ToString() + "件"; } this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.maeukekinListPanel.Top; this._defaultListPanelHeight = this.maeukekinListPanel.Height; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.jusyoListPanel.Top; this._defaultListPanelHeight = this.jusyoListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); //検索結果件数 jusyoListCountLabel.Text = alOutput.YubinNoAdrMstDT.Count + "件"; //set data for display gridview jusyoListDataGridView.DataSource = alOutput.YubinNoAdrMstDT; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/25 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.ChikuMstCd = this._chikuCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); this._displayDT = alOutput.ChikuMstDT; // Set default Hokenjo combobox Utility.Utility.SetComboBoxList(kankatsuHokenjoNmComboBox, alOutput.HokenjoMstDT, "HokenjoNm", "HokenjoCd", true); // Set default HoteiTantoShisho combobox Utility.Utility.SetComboBoxList(hoteiTantoShishoNmComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); // Set default suishitsuTantoShisho combobox Utility.Utility.SetComboBoxList(suishitsuTantoShishoNmComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); this.Text = "地区マスタ登録"; if (!string.IsNullOrEmpty(this._chikuCd)) { this._displayMode = DispMode.Detail; this.Text = "地区マスタ詳細"; SetDefaultValueControl(); } this._isLoadForm = true; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/29 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.SaisuiinCd = _saisuiinCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Common this._yubinNoAdrMstDT = alOutput.YubinNoAdrMstDataTable; if (_dispMode == DispMode.Detail) { this._dispTable = alOutput.SaisuiinInfoShosaiDataTable; this._saisuiinMstDT = alOutput.SaisuiinMstDataTable; // Default values DisplayDefault(); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.chikuListPanel.Top; this._defaultListPanelHeight = this.chikuListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); chikuListDataGridView.DataSource = alOutput.ChikuMstKensakuDT; if (alOutput.ChikuMstKensakuDT.Count == 0) { chikuListCountLabel.Text = "0件"; } else { chikuListCountLabel.Text = alOutput.ChikuMstKensakuDT.Count.ToString() + "件"; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/25 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this.nameMstNameKbn000TableAdapter.Fill(this.nameMstDataSet.NameMstNameKbn000); IFormLoadALInput alInput = new FormLoadALInput(); alInput.NameKbn = Constants.NameKbnConstant.NAME_KBN_000; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); Utility.Utility.SetComboBoxList(nameKbnComboBox, alOutput.NameMstDT, "NAME", "NAMECD", true); NameMstUpdateDataSet.NameMstUpdateDataTable dataTable = CreateNameMstUpdateDT(alOutput.NameMstKensakuDT); // Display data nameListDataGridView.DataSource = dataTable; DispData(alOutput.NameMstKensakuDT); this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.nameListPanel.Top; this._defaultListPanelHeight = this.nameListPanel.Height; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/25 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.SuishitsuCd = _suishitsuCd; alInput.SuishitsuShishoCd = _suishitsuShishoCd; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); Utility.Utility.SetComboBoxList(shishoNmComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); if (alOutput.SuishitsuMstDT != null && alOutput.SuishitsuMstDT.Count > 0) { SetValues(alOutput.SuishitsuMstDT[0]); _dispDT = alOutput.SuishitsuMstDT; } SetControlModeView(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/17 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.HoshoTorokuKensakikan = _hoshoTorokuKensakikan; // 20140811 habu Aggregated Hoshou Toroku No Convertion To Common Utility alInput.HoshoTorokuNendo = Common.Common.ConvertToHoshouNendoSeireki(_hoshoTorokuNendo); //alInput.HoshoTorokuNendo = Utility.Utility.ConvertToSeireki(Convert.ToInt32(_hoshoTorokuNendo)); // 20140811 habu End alInput.HoshoTorokuRenban = _hoshoTorokuRenban; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Output table _dispTable = alOutput.HoshoShinseiShosaiDataTable; _jokasoMst = alOutput.JokasoMstDataTable; _hoteiKanriMst = alOutput.HoteiKanriMstDataTable; _yubinNoAdrMst = alOutput.YubinNoAdrMstDataTable; _hoshoTorokuTbl = alOutput.HoshoTorokuTblDataTable; // Default value DisplayDefault(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.nameListPanel.Top; this._defaultListPanelHeight = this.nameListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); //get all record _yoshiZaikoTblDT = alOutput.YoshiZaikoTblDT; //get data kensaku _yoshiZaikoTblKensakuDT = alOutput.YoshiZaikoTblKensakuDT; //fill data to shisho combobox Utility.Utility.SetComboBoxList(shishoNmComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); //検索結果件数 zaikoListCountLabel.Text = alOutput.YoshiZaikoTblDT.Count + "件"; //set data for display gridview zaikoListDataGridView.DataSource = _yoshiZaikoTblKensakuDT; //Set readonly shishoCombobox & yoshiComboBox SetReadonlyGridView(); this._isLoad = true; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/08/18 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.jokyoListPanel.Top; this._defaultListPanelHeight = this.jokyoListPanel.Height; //set default control SetDisplayDefaultControl(); IFormLoadALInput alInput = new FormLoadALInput(); alInput.HoteiKbn = new List<string>(); alInput.HoteiKbn.Add("1"); alInput.HoteiKbn.Add("2"); alInput.HoteiKbn.Add("3"); alInput.HoteiKbn.Add("4"); alInput.KensaDtFrom = kensaDtFromDateTimePicker.Value.ToString("yyyyMMdd"); alInput.KensaDtTo = kensaDtToDateTimePicker.Value.ToString("yyyyMMdd"); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); //検索結果件数 jokyoListCountLabel.Text = alOutput.KensaJokyoListDataTable.Count + "件"; //set data for display gridview jokyoListDataGridView.DataSource = alOutput.KensaJokyoListDataTable; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/07 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.KatashikiMakerCd = _katashikiMakerCd; alInput.KatashikiCd = _katashikiCd; alInput.SeizoGyoShaKbn = "1"; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Display data in tab 1 DisplayDataTab01(alOutput); // Display data in tab 2 DisplayDataTab02(alOutput); // Display data in tab 3 DisplayDataTab03(alOutput); SetControlModeView(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 22014/08/21 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { // Clear datagirdview kensaIraiTblDataSet.Clear(); IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // Display data kensaIraiTblDataSet.Merge(alOutput.EnkabutsuIonNodoHikakuListDT); if (alOutput.EnkabutsuIonNodoHikakuListDT == null || alOutput.EnkabutsuIonNodoHikakuListDT.Count == 0) { srhListCountLabel.Text = "0件"; } else { srhListCountLabel.Text = alOutput.EnkabutsuIonNodoHikakuListDT.Count.ToString() + "件"; } this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.srhListPanel.Top; this._defaultListPanelHeight = this.srhListPanel.Height; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/29 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.HenchikuyotoDaibunruiCd = _kenchikuyotoDaibunruiCd; alInput.KenchikuyotoShobunruiCd = _kenchikuyotoShobunruiCd; alInput.KenchikuyotoRenban = (string.IsNullOrEmpty(_kenchikuyotoRenban))? 0 : Int32.Parse(_kenchikuyotoRenban); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); this._kenchikuyotoMstDataTable = alOutput.KenchikuyotoMstDataTable; this._kenchikuyotoDaibunruiMstDataTable = alOutput.KenchikuyotoDaibunruiMstDataTable; this._kenchikuyotoShobunruiMstDataTable = alOutput.KenchikuyotoShobunruiMstDataTable; if (!string.IsNullOrEmpty(_kenchikuyotoDaibunruiCd) && !string.IsNullOrEmpty(_kenchikuyotoShobunruiCd) && !string.IsNullOrEmpty(_kenchikuyotoRenban)) { this._displayMode = DispMode.Detail; this.Text = "建築用途マスタ詳細"; SetDefaultValueControl(); } else { // Set data Daibunrui listbox Utility.Utility.SetListBoxSource(kenchikuyotoDaibunruiListBox, _kenchikuyotoDaibunruiMstDataTable, "KenchikuyotoDaibunruiNm", "KenchikuyotoDaibunruiCd"); // Set data Shobunrui listbox Utility.Utility.SetListBoxSource(kenchikuyotoShobunruiListBox, _kenchikuyotoShobunruiMstDataTable, "KenchikuyotoShobunruiNm", "KenchikuyotoShobunruiCd"); } kenchikuyotoDaibunruiListBox.SelectedIndex = 0; kenchikuyotoShobunruiListBox.SelectedIndex = 0; }
private void GetJokasoDaichoMst() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.HokenjoCd = this._hokenjoCd; alInput.TorokuNengetsu = this._torokuNengetsu; alInput.Renban = this._renban; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); this._jokasoDaichoMstDT = alOutput.JokasoDaichoMstDT; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/04 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { // Clear datagirdview shokuinMstDataSet.Clear(); IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); Utility.Utility.SetComboBoxList(shozokuShishoComboBox, alOutput.ShishoMstDT, "ShishoNm", "ShishoCd", true); // Display data shokuinMstDataSet.Merge(alOutput.ShokuinMstKensakuDT); if (alOutput.ShokuinMstKensakuDT == null || alOutput.ShokuinMstKensakuDT.Count == 0) { shokuinListCountLabel.Text = "0件"; } else { shokuinListCountLabel.Text = alOutput.ShokuinMstKensakuDT.Count.ToString() + "件"; } this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.shokuinListPanel.Top; this._defaultListPanelHeight = this.shokuinListPanel.Height; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/21 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { IFormLoadALInput alInput = new FormLoadALInput(); alInput.YoshiHanbaiChumonNo = this._yoshiHanbaiChumonNo; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // 業者マスタ this._gyoshaMst = alOutput.GyoshaMstDataTable; // 支所(1) Utility.Utility.SetComboBoxList(shishoNmComboBox, alOutput.ShishoMstDataTable, "ShishoNm", "ShishoCd", true); // Display default value in Detail mode if (this._dispMode == DispMode.Detail) { this._hdrTable = alOutput.YoshiHanbaiHdrTblDataTable; // Default value DisplayDefault(); } // 用紙一覧グリッドビュー(9) _dgvSource = alOutput.TyumonShosaiDataTable; yoshiListDataGridView.DataSource = _dgvSource; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/30 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.gyoshaListPanel.Top; this._defaultListPanelHeight = this.gyoshaListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); alInput.GyoshaMstSearchCond = new GyoshaMstSearchCond(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); //検索結果件数 gyoshaListCountLabel.Text = alOutput.GyoshaMstKensakuDT.Count + "件"; //set data for display gridview gyoshaListDataGridView.DataSource = alOutput.GyoshaMstKensakuDT; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 AnhNV 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.saisuiinMstListPanel.Top; this._defaultListPanelHeight = this.saisuiinMstListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); alInput.SearchCond = new SaisuiinMstSearchCond(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); // 検索結果件数 saisuiinMstListCountLabel.Text = string.Concat(alOutput.SaisuiinMstKensakuDataTable.Count, "件"); // Binding source to dgv saisuiinMstListDataGridView.DataSource = alOutput.SaisuiinMstKensakuDataTable; }
//////////////////////////////////////////////////////////////////////////// // イベント名 : HoshoShinseiKokanForm_Load /// <summary> /// /// </summary> /// <param name="e"></param> /// <param name="sender"></param> /// <history> /// 日付 担当者 内容 /// 2014/08/11 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void HoshoShinseiKokanForm_Load(object sender, EventArgs e) { TraceLog.StartWrite(MethodInfo.GetCurrentMethod()); Cursor preCursor = Cursor.Current; try { Cursor.Current = Cursors.WaitCursor; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); _hoshoTorokuShinseiKokanInfoDataTable = alOutput.HoshoTorokuShinseiKokanInfoDataTable; foreach (ShishoMstDataSet.ShishoMstRow row in alOutput.ShishoMstDataTable) { _shishoCdArr.Add(row.ShishoCd, "0"); } } catch (Exception ex) { TraceLog.ErrorWrite(MethodInfo.GetCurrentMethod(), ex.ToString()); MessageForm.Show(MessageForm.DispModeType.Error, MessageResouce.MSGID_E00001, ex.Message); this.DialogResult = DialogResult.Abort; this.Close(); } finally { Cursor.Current = preCursor; TraceLog.EndWrite(MethodInfo.GetCurrentMethod()); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/08/18 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { // Clear datagirdview kensaKeihatsuSuishinHiShukeiTblDataSet.Clear(); IFormLoadALInput alInput = new FormLoadALInput(); alInput.SuishinhiNendo = syukeiNendoTextBox.Text; alInput.KamiShimoKbn = "1"; alInput.Mochikomi = mochikomiCheckBox.Checked; alInput.Syusyu = syusyuCheckBox.Checked; alInput.Toriatsukai = toriatsukaiCheckBox.Checked; IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); _printTable = alOutput.KensaKeihatsuSuishinListDT; // 共同組合 Utility.Utility.SetComboBoxList(kyodoKumiaiComboBox, alOutput.KyodoKumiaiMstInfoDT, "KumiaiNm", "KumiaiCd", true); // Display data kensaKeihatsuSuishinHiShukeiTblDataSet.Merge(alOutput.KensaKeihatsuSuishinListDT); if (alOutput.KensaKeihatsuSuishinListDT == null || alOutput.KensaKeihatsuSuishinListDT.Count == 0) { srhListCountLabel.Text = "0件"; } else { srhListCountLabel.Text = alOutput.KensaKeihatsuSuishinListDT.Count.ToString() + "件"; } this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.srhListPanel.Top; this._defaultListPanelHeight = this.srhListPanel.Height; }
private void JokasoDaichoList_Load(object sender, EventArgs e) { TraceLog.StartWrite(MethodInfo.GetCurrentMethod()); Cursor preCursor = Cursor.Current; try { Cursor.Current = Cursors.WaitCursor; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); jokasoDaichoListCountLabel.Text = alOutput.JokasoDaichoMstDT.Count + "件"; jokasoDaichoListDataGridView.DataSource = alOutput.JokasoDaichoMstDT; } catch (Exception ex) { TraceLog.ErrorWrite(MethodInfo.GetCurrentMethod(), ex.ToString()); MessageForm.Show(MessageForm.DispModeType.Error, MessageResouce.MSGID_E00001, ex.Message); } finally { Cursor.Current = preCursor; TraceLog.EndWrite(MethodInfo.GetCurrentMethod()); } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoFormLoad /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/28 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoFormLoad() { this._searchShowFlg = true; this._defaultSearchPanelTop = this.searchPanel.Top; this._defaultSearchPanelHeight = this.searchPanel.Height; this._defaultListPanelTop = this.kenchikuyotoListPanel.Top; this._defaultListPanelHeight = this.kenchikuyotoListPanel.Height; IFormLoadALInput alInput = new FormLoadALInput(); IFormLoadALOutput alOutput = new FormLoadApplicationLogic().Execute(alInput); //fill data to KenchikuyotoDaibunruiNmComboBox Utility.Utility.SetComboBoxList(kenchikuyotoDaibunruiNmComboBox, alOutput.KenchikuyotoDaibunruiMstDataTable, "KenchikuyotoDaibunruiNm", "KenchikuyotoDaibunruiCd", true); //検索結果件数 kenchikuyotoListCountLabel.Text = alOutput.KenchikuyotoMstDataTable.Count + "件"; //set data for display gridview kenchikuyotoListDataGridView.DataSource = alOutput.KenchikuyotoMstDataTable; }