示例#1
0
        private void button5_Click(object sender, EventArgs e)
        {
            frmHaifuShijiSUb3 frm3 = new frmHaifuShijiSUb3(MIHAIFU_ADD);

            frm3.FID = int.Parse(lblID.Text); //配布エリアID
            frm3.Add = lblAdd.Text;           //配布先住所

            frm3.ShowDialog();

            //再表示
            GridviewSet.ShowData(dataGridView1, int.Parse(_ID.ToString()));
        }
示例#2
0
        private void GridEnter()
        {
            frmHaifuShijiSUb3 frm3 = new frmHaifuShijiSUb3(MIHAIFU_UPDATE);

            frm3.ID  = int.Parse(dataGridView1[0, dataGridView1.SelectedRows[0].Index].Value.ToString());
            frm3.Add = lblAdd.Text;     //配布先住所

            //編集画面表示
            frm3.ShowDialog();

            //再表示
            GridviewSet.ShowData(dataGridView1, int.Parse(_ID.ToString()));
        }