コード例 #1
0
ファイル: MainForm.cs プロジェクト: vasooM/TablesheeApp
        private void cbJobCode_SelectedIndexChanged(object sender, EventArgs e)
        {
            string name = cbJobCode.Text;

            cbAccount.DisplayMember = "Name";
            cbAccount.ValueMember   = "ID";
            cbAccount.DataSource    = clientName.GetClientNameWithJobCode(name);

            dt.Clear();
            dt               = endDate.GetEndDateWithJobCode(name);
            deadline         = endDate.ConvertDataTableToString(dt);
            txtDeadline.Text = deadline;
        }