Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ManualSecureWindow = ((SecureMe.ManualSecure)(target));
                return;

            case 2:
                this.ManSecureBox = ((System.Windows.Controls.ListBox)(target));

            #line 15 "..\..\ManualSecure.xaml"
                this.ManSecureBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ManSecureBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ManualSecureLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.ApplyOptionBtn = ((System.Windows.Controls.Image)(target));

            #line 26 "..\..\ManualSecure.xaml"
                this.ApplyOptionBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ApplyOptionBtn_MouseEnter);

            #line default
            #line hidden

            #line 26 "..\..\ManualSecure.xaml"
                this.ApplyOptionBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ApplyOptionBtn_MouseDown);

            #line default
            #line hidden

            #line 26 "..\..\ManualSecure.xaml"
                this.ApplyOptionBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ApplyOptionBtn_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.ApplyOptionLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void ManualSelectButton_MouseDown(object sender, MouseButtonEventArgs e)
        {
            ManualSecure MS = new ManualSecure();

            MS.ShowDialog();
        }