private void addProduct_Click(object sender, EventArgs e) { status = "insert"; addProduct ap = new Mobiles.addProduct(); ap.Show(); }
private void updateProduct_Click(object sender, EventArgs e) { frmPrdId = getGridIndexValue(); status = "update"; addProduct ap = new Mobiles.addProduct(); ap.Show(); //Size sz = new Size(100, 100); //SwathiClass sc = new SwathiClass(); //Image img = sc.convertImage(Image img, new Size(100, 100)); //MessageBox.Show(sz.Height.ToString()); }