Esempio n. 1
0
 private void btnOku_Click(object sender, RoutedEventArgs e)
 {
     if (lsbxHaberler.SelectedIndex > -1)
     {
         HaberWindow haberWindow = new HaberWindow(Veritabani.Haberler(_gecerliTur)[lsbxHaberler.SelectedIndex]);
         haberWindow.Show();
     }
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windowHaber = ((TugrulHaber.HaberWindow)(target));

            #line 8 "..\..\HaberWindow.xaml"
                this.windowHaber.Loaded += new System.Windows.RoutedEventHandler(this.windowHaber_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tblkBaslik = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:
                this.lblYazar = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblGirisTarih = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.tblkIcerik = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }