private void gridControl1_DoubleClick(object sender, EventArgs e) { if(gridView1.FocusedRowHandle < 0) return; var dr = gridView1.GetDataRow(gridView1.FocusedRowHandle); var f = new ItemMast(); f.Show(); f.DoView(dr["itemno"].ToString()); }
private void simpleButton2_Click(object sender, EventArgs e) { var f = new ItemMast(); f.ShowDialog(); }