Пример #1
0
        private bool CommandCameraCapture(string name, string path)
        {
            CommandCameraCapture commandCameraCapture = CommandFactory.CreateCommand <CommandCameraCapture>("Camera Capture");

            commandCameraCapture.PictureName = name;
            commandCameraCapture.PicturePath = path;
            return(commandCameraCapture.Execute());
        }
Пример #2
0
        private void buttonItemSnapShot_Click(object sender, EventArgs e)
        {
            CommandCameraCapture command = CommandFactory.CreateCommand <CommandCameraCapture>("Camera Capture");

            CommandFactory.CommandQueue.Push(command);
        }