Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EWindowN = ((Projekat.Etiketa.EWindow)(target));
                return;

            case 2:

            #line 14 "..\..\..\Etiketa\EWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\Etiketa\EWindow.xaml"
                this.OznakaTB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OznakaTB_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ColorPickerbg = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 5:
                this.OpisTB = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 64 "..\..\..\Etiketa\EWindow.xaml"
                this.Button1.Click += new System.Windows.RoutedEventHandler(this.SaveB_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        private void Izmeni_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if ((EModel)PregledG.SelectedItem == null)
                {
                    return;
                }
                EWindow ew = new EWindow((EModel)this.PregledG.SelectedItem);
                ew.ShowDialog();
            }

            catch (Exception)
            {
                throw;
            }
        }