//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/04 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { // Clear datagirdview shokuinMstDataSet.Clear(); IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); // Create conditions MakeSearchCond(alInput); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); // Display data shokuinMstDataSet.Merge(alOutput.ShokuinMstKensakuDT); if (alOutput.ShokuinMstKensakuDT == null || alOutput.ShokuinMstKensakuDT.Count == 0) { shokuinListCountLabel.Text = "0件"; // 保健所一覧 : リスト数 = 0 MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); } else { shokuinListCountLabel.Text = alOutput.ShokuinMstKensakuDT.Count.ToString() + "件"; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/06/30 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { gyoshaListDataGridView.DataSource = null; gyoshaListDataGridView.Rows.Clear(); IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); GyoshaMstSearchCond gyoshaMst = new GyoshaMstSearchCond(); gyoshaMst.GyoshaCdFrom = gyoshaCdFromTextBox.Text.Trim(); gyoshaMst.GyoshaCdTo = gyoshaCdToTextBox.Text.Trim(); gyoshaMst.GyoshaNm = gyoshaNmTextBox.Text.Trim(); gyoshaMst.GyoshaKana = gyoshaKanaTextBox.Text.Trim(); alInput.GyoshaMstSearchCond = gyoshaMst; IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); if (alOutput.GyoshaMstKensakuDT == null || alOutput.GyoshaMstKensakuDT.Count == 0) { gyoshaListCountLabel.Text = "0件"; MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); } else { gyoshaListCountLabel.Text = alOutput.GyoshaMstKensakuDT.Count + "件"; gyoshaListDataGridView.DataSource = alOutput.GyoshaMstKensakuDT; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/08/18 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { // Clear datagirdview kensaKeihatsuSuishinHiShukeiTblDataSet.Clear(); IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); // Create conditions MakeSearchCond(alInput); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); _printTable = alOutput.KensaKeihatsuSuishinListDT; // Display data kensaKeihatsuSuishinHiShukeiTblDataSet.Merge(alOutput.KensaKeihatsuSuishinListDT); if (alOutput.KensaKeihatsuSuishinListDT == null || alOutput.KensaKeihatsuSuishinListDT.Count == 0) { srhListCountLabel.Text = "0件"; // 保健所一覧 : リスト数 = 0 MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); } else { srhListCountLabel.Text = alOutput.KensaKeihatsuSuishinListDT.Count.ToString() + "件"; ikkatsuPrintButton.Enabled = true; kobetsuGyosyaButton.Enabled = true; kobetsuKumiaiButton.Enabled = true; outputButton.Enabled = true; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { zaikoListDataGridView.DataSource = null; zaikoListDataGridView.Rows.Clear(); IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); alInput.YoshiCdFrom = yoshiCdFromTextBox.Text.Trim(); alInput.YoshiCdTo = yoshiCdToTextBox.Text.Trim(); alInput.YoshiNm = yoshiNameTextBox.Text.Trim(); if (shishoNmComboBox.SelectedIndex > 0) { alInput.ShishoCd = shishoNmComboBox.SelectedValue.ToString(); } IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); //get all record _yoshiZaikoTblDT = alOutput.YoshiZaikoTblDT; //get data kensaku _yoshiZaikoTblKensakuDT = alOutput.YoshiZaikoTblKensakuDT; zaikoListCountLabel.Text = alOutput.YoshiZaikoTblKensakuDT.Count + "件"; if (alOutput.YoshiZaikoTblKensakuDT.Count == 0) { MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); return; } //set data kensaku for display gridview zaikoListDataGridView.DataSource = _yoshiZaikoTblKensakuDT; //Set readonly shishoCombobox & yoshiComboBox SetReadonlyGridView(); }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/08/18 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { jokyoListDataGridView.DataSource = null; IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); MakeSearchCond(alInput); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); jokyoListCountLabel.Text = alOutput.KensaJokyoListDataTable.Count + "件"; if (alOutput.KensaJokyoListDataTable.Count == 0) { MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); return; } //set data for display gridview jokyoListDataGridView.DataSource = alOutput.KensaJokyoListDataTable; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 DatNT 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { gyoshaListDataGridView.DataSource = null; gyoshaListDataGridView.Rows.Clear(); IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); GyoshaMstSearchCond searchCond = new GyoshaMstSearchCond(); searchCond.GyoshaCdFrom = gyoshaCdFromTextBox.Text.Trim(); searchCond.GyoshaCdTo = gyoshaCdToTextBox.Text.Trim(); searchCond.GyoshaNm = gyoshaNmTextBox.Text.Trim(); searchCond.GyoshaKana = gyoshaKanaTextBox.Text.Trim(); searchCond.SeizoGyoShaKbn = seizoGyoShaKbnCheckBox.Checked ? "1" : string.Empty; searchCond.KojiGyoshaKbn = kojiGyoshaKbnCheckBox.Checked ? "1" : string.Empty; searchCond.HoshuGyoshaKbn = hoshuGyoshaKbnCheckBox.Checked ? "1" : string.Empty; searchCond.SeisoGyoshaKbn = seisoGyoshaKbnCheckBox.Checked ? "1" : string.Empty; searchCond.ToriatsukaiGyoshaKbn = toriatsukaiGyoshaKbnCheckBox.Checked ? "1" : string.Empty; searchCond.SonotaGyoshaKbn = sonotaGyoshaKbnCheckBox.Checked ? "1" : string.Empty; alInput.GyoshaMstSearchCond = searchCond; IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); if (alOutput.GyoshaMstKensakuDT == null || alOutput.GyoshaMstKensakuDT.Count == 0) { gyoshaListCountLabel.Text = "0件"; MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); } else { gyoshaListCountLabel.Text = alOutput.GyoshaMstKensakuDT.Count + "件"; gyoshaListDataGridView.DataSource = alOutput.GyoshaMstKensakuDT; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { jusyoListDataGridView.DataSource = null; IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); alInput.ZipCd = yubinBangoTextBox.Text.Trim(); alInput.Address = jusyoTextBox.Text.Trim(); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); jusyoListCountLabel.Text = alOutput.YubinNoAdrMstDT.Count + "件"; if (alOutput.YubinNoAdrMstDT.Count == 0) { MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); return; } //set data source gridview jusyoListDataGridView.DataSource = alOutput.YubinNoAdrMstDT; }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/16 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); alInput.ChikuCdFrom = chikuCdFromTextBox.Text.Trim(); alInput.ChikuCdTo = chikuCdToTextBox.Text.Trim(); alInput.ChikuNm = chikuNmTextBox.Text.Trim(); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); chikuListDataGridView.DataSource = alOutput.ChikuMstKensakuDT; if (alOutput.ChikuMstKensakuDT == null || alOutput.ChikuMstKensakuDT.Count == 0) { chikuListCountLabel.Text = "0件"; MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); } else { chikuListCountLabel.Text = alOutput.ChikuMstKensakuDT.Count.ToString() + "件"; } }
//////////////////////////////////////////////////////////////////////////// // メソッド名 : DoSearch /// <summary> /// /// </summary> /// <history> /// 日付 担当者 内容 /// 2014/07/28 HuyTX 新規作成 /// </history> //////////////////////////////////////////////////////////////////////////// private void DoSearch() { kenchikuyotoListDataGridView.DataSource = null; IKensakuBtnClickALInput alInput = new KensakuBtnClickALInput(); alInput.KenchikuyotoDaibunrui = kenchikuyotoDaibunruiNmComboBox.SelectedValue.ToString(); alInput.KenchikuyotoNm = kenchikuyotoNmTextBox.Text.Trim(); IKensakuBtnClickALOutput alOutput = new KensakuBtnClickApplicationLogic().Execute(alInput); kenchikuyotoListCountLabel.Text = alOutput.KenchikuyotoMstDataTable.Count + "件"; if (alOutput.KenchikuyotoMstDataTable.Count == 0) { MessageForm.Show2(MessageForm.DispModeType.Infomation, "表示データがありません。"); return; } //set data for display gridview kenchikuyotoListDataGridView.DataSource = alOutput.KenchikuyotoMstDataTable; }