Exemplo n.º 1
0
 private void btnDuzenle_Click(object sender, RoutedEventArgs e)
 {
     if (lsbxHaberler.SelectedIndex > -1)
     {
         TaslakWindow taslakWindow = new TaslakWindow(this, Veritabani.Haberler(_gecerliTur)[lsbxHaberler.SelectedIndex]);
         taslakWindow.Show();
     }
 }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windowTaslak = ((TugrulHaber.TaslakWindow)(target));

            #line 8 "..\..\TaslakWindow.xaml"
                this.windowTaslak.Loaded += new System.Windows.RoutedEventHandler(this.windowTaslak_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.tbxYazarIsim = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.cmbxHaberTur = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.tbxHaberBaslik = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.tbxHaberIcerik = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.btnYayinla = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\TaslakWindow.xaml"
                this.btnYayinla.Click += new System.Windows.RoutedEventHandler(this.btnYayinla_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        private void btnHaberEkle_Click(object sender, RoutedEventArgs e)
        {
            TaslakWindow taslakWindow = new TaslakWindow(this);

            taslakWindow.Show();
        }