Esempio n. 1
0
 private void StorePic_DoubleClick(object sender, EventArgs e)
 {
     if (StorePic.Image != null)
     {
         RESAI01H ai01h = new RESAI01H();
         ai01h.SetWidth  = FImageW;
         ai01h.SetHeight = FImageH;
         ai01h.SetImg    = StorePic.Image;
         ai01h.ShowDialog();
     }
 }
Esempio n. 2
0
 private void btnMenu_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     LoadImage();
     if (StorePic.Image != null)
     {
         RESAI01H ai01h = new RESAI01H();
         ai01h.SetWidth  = StorePic.Image.Width;
         ai01h.SetHeight = StorePic.Image.Height;
         ai01h.SetImg    = StorePic.Image;
         ai01h.ShowDialog();
     }
 }