コード例 #1
0
        private void btn_Update_Click(object sender, EventArgs e)
        {
            try
            {
                DetailForm f2 = new DetailForm();

                f2.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
コード例 #2
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            DetailForm f2 = new DetailForm();

            f2.Sender(cbbox_HoTen.Text);

            f2.sendKH += add;
            f2.ShowDialog();
            datagrview_1.DataSource = ql_bll.ShowTest_BLL(cbbox_HoTen.Text);
            //}
            //catch (Exception ex)
            //{
            //    MessageBox.Show(ex.Message);
            //}
        }