void SendTakeSnapshot(TakeSnapshotMessage message) { OnSnapshot?.Invoke(message); }
private void TakeSnapshot(object parameter) { Result = _cc.Image; //Result?.Save(Directory.GetCurrentDirectory() + "/snapshot.png", ImageFormat.Png); //DEBUG OnSnapshot?.Invoke(this, Result); }