Example #1
0
        public override IScriptCommand Load(XmlNode node)
        {
            BulbCapture res = new BulbCapture
            {
                CaptureTime = Convert.ToInt32(ScriptManager.GetValue(node, "capturetime")),
                Iso         = ScriptManager.GetValue(node, "iso"),
                Aperture    = ScriptManager.GetValue(node, "aperture")
            };

            return(res);
        }
 public override IScriptCommand Load(XmlNode node)
 {
     BulbCapture res = new BulbCapture
                           {
                               CaptureTime = Convert.ToInt32(ScriptManager.GetValue(node, "capturetime")),
                               Iso = ScriptManager.GetValue(node, "iso"),
                               Aperture = ScriptManager.GetValue(node, "aperture")
                           };
     return res;
 }
 public BulbCaptureControl(BulbCapture capture)
 {
     BulbCapture = capture;
     InitializeComponent();
     DataContext = capture;
 }
 public BulbCaptureControl(BulbCapture capture)
 {
     BulbCapture = capture;
     InitializeComponent();
     DataContext = capture;
 }