private void btn_hensyu_Click(object sender, EventArgs e) { if (tss.User_Kengen_Check(6, 5) == false) { MessageBox.Show("権限がありません"); return; } frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); if (dgv_tantousya.RowCount > 1) { int i = dgv_tantousya.CurrentCell.RowIndex; frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.str_tantousya_cd = dgv_tantousya.Rows[i].Cells[1].Value.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } else { frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } tantousya_disp(tb_torihikisaki_cd.Text); }
private void btn_hensyu_Click(object sender, EventArgs e) { if (tss.User_Kengen_Check(6, 5) == false) { MessageBox.Show("権限がありません"); return; } frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); if (dgv_tantousya.RowCount > 1) { int i = dgv_tantousya.CurrentCell.RowIndex; frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.str_tantousya_cd = dgv_tantousya.Rows[i].Cells[1].Value.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } else { frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } tantousya_disp(tb_torihikisaki_cd.Text); }
//追加ボタンクリック時の動き private void btn_tsuika_Click(object sender, EventArgs e) { frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); tantousya_disp(tb_torihikisaki_cd.Text); }
//追加ボタンクリック時の動き private void btn_tsuika_Click(object sender, EventArgs e) { if (tss.User_Kengen_Check(6, 5) == false) { MessageBox.Show("権限がありません"); return; } frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); tantousya_disp(tb_torihikisaki_cd.Text); }
private void btn_hensyu_Click(object sender, EventArgs e) { frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); if (dgv_tantousya.RowCount > 1) { int i = dgv_tantousya.CurrentCell.RowIndex; frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.str_tantousya_cd = dgv_tantousya.Rows[i].Cells[1].Value.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } else { frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } tantousya_disp(tb_torihikisaki_cd.Text); }
private void btn_hensyu_Click(object sender, EventArgs e) { frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); if (dgv_tantousya.RowCount > 1) { int i = dgv_tantousya.CurrentCell.RowIndex; frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.str_tantousya_cd = dgv_tantousya.Rows[i].Cells[1].Value.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } else { frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); } tantousya_disp(tb_torihikisaki_cd.Text); }
//追加ボタンクリック時の動き private void btn_tsuika_Click(object sender, EventArgs e) { frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); tantousya_disp(tb_torihikisaki_cd.Text); }
//追加ボタンクリック時の動き private void btn_tsuika_Click(object sender, EventArgs e) { if (tss.User_Kengen_Check(6, 5) == false) { MessageBox.Show("権限がありません"); return; } frm_torihikisaki_tantou frm_tt = new frm_torihikisaki_tantou(); frm_tt.str_torihikisaki_cd = tb_torihikisaki_cd.Text.ToString(); frm_tt.ShowDialog(this); frm_tt.Dispose(); tantousya_disp(tb_torihikisaki_cd.Text); }