示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            form_transfer transfer = new form_transfer();

            form_transfer.Origen = "E";
            transfer.MdiParent   = this.MdiParent;
            transfer.Show();
        }
示例#2
0
        private void dtTraspasos_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int             selectedrowindex = dtTraspasos.SelectedCells[0].RowIndex;
            DataGridViewRow selectedRow      = dtTraspasos.Rows[selectedrowindex];
            string          codigo           = Convert.ToString(selectedRow.Cells["id"].Value);
            form_transfer   trasfer          = new form_transfer();

            form_transfer.id_transfer = Convert.ToInt32(codigo);
            trasfer.Show(this);
        }