Ejemplo n.º 1
0
        public MyPicWithOriginalStream GetScreenShot(int screenId)
        {
            Bitmap b = ImageCapture.GetAll();
            MyPicWithOriginalStream ret = new MyPicWithOriginalStream(b);

            return(ret);
        }
Ejemplo n.º 2
0
        public void ImageStore_ScreenStore(MyPicWithOriginalStream screen, IdAndStep id)
        {
            StoredPicInfo imageToAdd = new StoredPicInfo(screen, id.CreateFileName(Msg_DestMobile), id.IsSub);

            if (ImageList.ContainsKey(id.ToString()))
            {
                ImageList.Remove(id.ToString());
                ImageList.Add(id.ToString(), imageToAdd);
            }
            else
            {
                // not there yet
                ImageList.Add(id.ToString(), imageToAdd);
            }
            if (!id.IsSub)
            {
                _lastStoredImage = imageToAdd;
            }
            screen.myPic.ToFileIfConfigured("NiceTray._6WhatsAppProcess_Real.DumpScreensOnStore", imageToAdd.fileName, true);
        }
Ejemplo n.º 3
0
 private void ScreenStore(MyPicWithOriginalStream screen, int screenId, _6WhatsAppProcess_RealData data)
 {
     data.ImageStore_ScreenStore(screen, new IdAndStep(screenId, data.id, false, -1));
 }
Ejemplo n.º 4
0
 public StoredPicInfo(MyPicWithOriginalStream thePic, string fileName, bool isSub)
 {
     this.thePic   = thePic;
     this.fileName = fileName;
     this.isSub    = isSub;
 }