Ejemplo n.º 1
0
        private void designateToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            mtxt_iid.Text = whouse_grid.Rows[SelectedRow].Cells[0].Value.ToString();

            DesignationNew df = new DesignationNew();
            df.mtxt_iid.Text = whouse_grid.Rows[SelectedRow].Cells[0].Value.ToString();
            df.itemname_txt.Text = whouse_grid.Rows[SelectedRow].Cells[3].Value.ToString();
            df.mtxt_serial.Text = whouse_grid.Rows[SelectedRow].Cells[5].Value.ToString();

            if (df.ShowDialog(this) == DialogResult.OK)
            {
                Active();
                whouse_grid.Rows.Remove(whouse_grid.Rows[SelectedRow]);
            }
            df.Dispose();
        }
Ejemplo n.º 2
0
        private void designateToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            mtxt_iid.Text = whouse_grid.Rows[SelectedRow].Cells[0].Value.ToString();

            DesignationNew df = new DesignationNew();

            df.mtxt_iid.Text     = whouse_grid.Rows[SelectedRow].Cells[0].Value.ToString();
            df.itemname_txt.Text = whouse_grid.Rows[SelectedRow].Cells[3].Value.ToString();
            df.mtxt_serial.Text  = whouse_grid.Rows[SelectedRow].Cells[5].Value.ToString();

            if (df.ShowDialog(this) == DialogResult.OK)
            {
                Active();
                whouse_grid.Rows.Remove(whouse_grid.Rows[SelectedRow]);
            }
            df.Dispose();
        }