public GotoUserManualControl()
        {
            InitializeComponent();
            Translate();

            // set online manual
            ManualLocation = @"https://gitextensions.readthedocs.org/en/latest";
            ManualType = ManualType.StandardHtml;

            // set local singlehtml help / TODO: put manual to GitExt setup
            ////ManualLocation = @"file:///D:/data2/projects/gitextensions/GitExtensionsDoc/build/singlehtml";
            ////ManualType = ManualType.SingleHtml;
        }
        public GotoUserManualControl()
        {
            InitializeComponent();
            Translate();

            // set online manual
            ManualLocation = @"https://gitextensions.readthedocs.org/en/latest";
            ManualType     = ManualType.StandardHtml;

            // set local singlehtml help / TODO: put manual to GitExt setup
            ////ManualLocation = @"file:///D:/data2/projects/gitextensions/GitExtensionsDoc/build/singlehtml";
            ////ManualType = ManualType.SingleHtml;
        }
		public ManualUri(string operation, ManualType mtype, string deviceUri) {
			InitializeComponent();
			operationName = operation;
            this.DataContext = this;

			if (mtype == ManualType.ADD) {
				devUri = "http://192.168.0.1/onvif/device_service";
			} else {
				devUri = deviceUri;
			}
			ButtonName = LocalButtons.instance.apply;

            Closing += new System.ComponentModel.CancelEventHandler(Upgrade_Closing);
		}
        public ManualUri(string operation, ManualType mtype, string deviceUri)
        {
            InitializeComponent();
            operationName    = operation;
            this.DataContext = this;

            if (mtype == ManualType.ADD)
            {
                devUri = "http://192.168.0.1/onvif/device_service";
            }
            else
            {
                devUri = deviceUri;
            }
            ButtonName = LocalButtons.instance.apply;

            Closing += new System.ComponentModel.CancelEventHandler(Upgrade_Closing);
        }