private void FormTaskEntry_Load(object sender, EventArgs e) { labelPublisher.Text = ted.OfficeName + " " + ted.DepartName; labelTaskCode.Text = ""; /***** ComboBox 「原価目標」作成 *****/ ComboBoxEdit cb = new ComboBoxEdit(comboBoxCostType); cb.ComDataList("COST", ted.OfficeCode); comboBoxCostType.Text = "選択してください"; // 初期値 /***** ComboBox 「事業所」作成 *****/ //cb = new ComboBoxEdit( comboBoxPartner ); //cb.TableData( "M_Partners", "PartnerCode", "PartnerName", " WHERE RelCusto = 1 ORDER BY PartnerCode" ); //comboBoxPartner.Text = "選択してください"; // 初期値 ListFormDataOp lo = new ListFormDataOp(); tcd = lo.SelectTaskCodeNameData(ted.OfficeCode, (ted.OfficeCode == Sign.HQOfficeCode ? ted.Department : "8"), null); psd = lo.SelectPartnersCuData(); td = new TaskData(); tid = new TaskIndData(); }