public MyPicWithOriginalStream GetScreenShot(int screenId) { Bitmap b = ImageCapture.GetAll(); MyPicWithOriginalStream ret = new MyPicWithOriginalStream(b); return(ret); }
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); }
private void ScreenStore(MyPicWithOriginalStream screen, int screenId, _6WhatsAppProcess_RealData data) { data.ImageStore_ScreenStore(screen, new IdAndStep(screenId, data.id, false, -1)); }
public StoredPicInfo(MyPicWithOriginalStream thePic, string fileName, bool isSub) { this.thePic = thePic; this.fileName = fileName; this.isSub = isSub; }