Пример #1
0
        private void dgvUDT_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex < 0)
            {
                return;
            }

            DataGridViewRow row = dgvUDT.Rows[e.RowIndex];

            string name = row.Cells["chName"].Value + "";

            UDTTableDefContent udtcontent = new UDTTableDefContent();

            udtcontent.Text = name;
            udtcontent.SetTableName(name);
            udtcontent.SetUID(PrimaryKey);
            udtcontent.ShowDialog();
        }
Пример #2
0
        private void dgvUDT_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex < 0)
                return;

            DataGridViewRow row = dgvUDT.Rows[e.RowIndex];

            string name = row.Cells["chName"].Value + "";

            UDTTableDefContent udtcontent = new UDTTableDefContent();
            udtcontent.Text = name;
            udtcontent.SetTableName(name);
            udtcontent.SetUID(PrimaryKey);
            udtcontent.ShowDialog();
        }