Example #1
0
        private void toolStripButton_New_Click(object sender, EventArgs e)
        {
            Form_LinkDlg frm = new Form_LinkDlg();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                GetList();
            }
        }
Example #2
0
        private void toolStripButton_Edit_Click(object sender, EventArgs e)
        {
            if (this.gridView_report.FocusedRowHandle < 0)
            {
                MessageBox.Show("请选择需要编辑的数据!");
                return;
            }

            string id = this.gridView_report.GetFocusedRowCellValue("id").ToString();


            Form_LinkDlg frm = new Form_LinkDlg();

            frm.id = id;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                GetList();
            }
        }