static void OnStationIDChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            ConfigurationControl me = sender as ConfigurationControl;

            if (me != null)
            {
                if (!me.isInitializing)
                {
                    Configuration.Current.StationID = me.StationID;
                }
            }
        }
        //OpenCartUsername


        static void OnOpenCartPasswordChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            ConfigurationControl me = sender as ConfigurationControl;

            if (me != null)
            {
                if (!me.isInitializing)
                {
                    Configuration.Current.OpenCartPassword = me.OpenCartPassword;
                }
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((SBMLibrary.Controls.ConfigurationControl)(target));
                return;

            case 2:

            #line 31 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnBrowse);

            #line default
            #line hidden
                return;

            case 3:

            #line 36 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnImageMouseDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 63 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveConfiguration);

            #line default
            #line hidden
                return;

            case 5:

            #line 67 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetTransactionActivity);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uc = ((SBMLibrary.Controls.ConfigurationControl)(target));
     return;
     case 2:
     
     #line 31 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnBrowse);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 36 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnImageMouseDown);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 63 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveConfiguration);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 67 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetTransactionActivity);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((SBMLibrary.Controls.ConfigurationControl)(target));
                return;

            case 2:

            #line 11 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveConfiguration);

            #line default
            #line hidden
                return;

            case 3:

            #line 35 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnBrowse);

            #line default
            #line hidden
                return;

            case 4:

            #line 40 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnImageMouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.OpenCartPasswordBox = ((System.Windows.Controls.PasswordBox)(target));

            #line 120 "..\..\ConfigurationControl.xaml"
                this.OpenCartPasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.OnAdminPasswordChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 134 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetTransactionActivity);

            #line default
            #line hidden
                return;

            case 7:

            #line 135 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnApplyProductID);

            #line default
            #line hidden
                return;

            case 8:

            #line 136 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnQuantityAdjust);

            #line default
            #line hidden
                return;

            case 9:

            #line 137 "..\..\ConfigurationControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnProductIDVerify);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uc = ((SBMLibrary.Controls.ConfigurationControl)(target));
     return;
     case 2:
     
     #line 11 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveConfiguration);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 35 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnBrowse);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 40 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnImageMouseDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.OpenCartPasswordBox = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 120 "..\..\ConfigurationControl.xaml"
     this.OpenCartPasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.OnAdminPasswordChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 134 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetTransactionActivity);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 135 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnApplyProductID);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 136 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnQuantityAdjust);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 137 "..\..\ConfigurationControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnProductIDVerify);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }