Esempio n. 1
0
        private void btnModfy_Click(object sender, EventArgs e)
        {
            string PORTFOLIO;

            PORTFOLIO = (string)dataGridView1.SelectedRows[0].Cells[0].Value;
            Modfy s = new Modfy();
            s.select_sho(PORTFOLIO);
            this.Close();
            s.Show();
        }
Esempio n. 2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            string PORTFOLIO;

            if (e.ColumnIndex == -1)
            {

                PORTFOLIO = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
                //textBox_name.Text = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();

                Modfy s = new Modfy();
                s.select_sho(PORTFOLIO);
                this.Close();
                s.Show();
            }
        }