// when Bluetooth listbox is clicked
 private void ListViewItem_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     SBW = new SearchBluetoothWindow();
     SBW.VerbindenClicked += new EventHandler(SearchBluetoothWindow_SubmitClicked);
     SBW.Owner             = this;
     SBW.Show();
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BitalinoSearch = ((WPF_Bitalino.SearchBluetoothWindow)(target));

            #line 8 "..\..\SucheBitalino.xaml"
                this.BitalinoSearch.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Search = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.Progressbar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 4:
                this.comboBox_BitalinoIDs = ((System.Windows.Controls.ComboBox)(target));

            #line 19 "..\..\SucheBitalino.xaml"
                this.comboBox_BitalinoIDs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_BitalinoIDs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.button_verbinden = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\SucheBitalino.xaml"
                this.button_verbinden.Click += new System.Windows.RoutedEventHandler(this.button_verbinden_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button_abbrechen = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\SucheBitalino.xaml"
                this.button_abbrechen.Click += new System.Windows.RoutedEventHandler(this.button_abbrechen_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }