private void Otvori_karton_Click(object sender, RoutedEventArgs e)
        {
            AddFolder();
            txbx = Ida.Text;
            Karton OK = new Karton();

            OK.Topmost = true;
            OK.IDP     = txbx;
            OK.Show();
        }
        private void DataGridPacijent_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            AddFolder();
            txbx = Ida.Text;
            Karton OK = new Karton();

            OK.IDP     = txbx;
            OK.Topmost = true;
            OK.Show();
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.KartonW = ((OrdinacijaMihajlovic.Karton)(target));

            #line 8 "..\..\Karton.xaml"
                this.KartonW.Loaded += new System.Windows.RoutedEventHandler(this.KartonW_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\Karton.xaml"
                this.KartonW.Activated += new System.EventHandler(this.Kartonw_activated);

            #line default
            #line hidden

            #line 8 "..\..\Karton.xaml"
                this.KartonW.Closed += new System.EventHandler(this.KartonW_close);

            #line default
            #line hidden
                return;

            case 2:
                this.Gl8 = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\Karton.xaml"
                this.Gl8.Click += new System.Windows.RoutedEventHandler(this.Gl8_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Gl7 = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\Karton.xaml"
                this.Gl7.Click += new System.Windows.RoutedEventHandler(this.Gl7_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Gl6 = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\Karton.xaml"
                this.Gl6.Click += new System.Windows.RoutedEventHandler(this.Gl6_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\Karton.xaml"
                this.Gl5.Click += new System.Windows.RoutedEventHandler(this.Gl5_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\Karton.xaml"
                this.Gl4.Click += new System.Windows.RoutedEventHandler(this.Gl4_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Gl3 = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\Karton.xaml"
                this.Gl3.Click += new System.Windows.RoutedEventHandler(this.Gl3_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Gl2 = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\Karton.xaml"
                this.Gl2.Click += new System.Windows.RoutedEventHandler(this.Gl2_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\Karton.xaml"
                this.Gl1.Click += new System.Windows.RoutedEventHandler(this.Gl1_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Gd1 = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\Karton.xaml"
                this.Gd1.Click += new System.Windows.RoutedEventHandler(this.Gd1_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Gd2 = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\Karton.xaml"
                this.Gd2.Click += new System.Windows.RoutedEventHandler(this.Gd2_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Gd3 = ((System.Windows.Controls.Button)(target));

            #line 85 "..\..\Karton.xaml"
                this.Gd3.Click += new System.Windows.RoutedEventHandler(this.Gd3_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Gd4 = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\Karton.xaml"
                this.Gd4.Click += new System.Windows.RoutedEventHandler(this.Gd4_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Gd5 = ((System.Windows.Controls.Button)(target));

            #line 95 "..\..\Karton.xaml"
                this.Gd5.Click += new System.Windows.RoutedEventHandler(this.Gd5_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Gd6 = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\Karton.xaml"
                this.Gd6.Click += new System.Windows.RoutedEventHandler(this.Gd6_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Gd7 = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\Karton.xaml"
                this.Gd7.Click += new System.Windows.RoutedEventHandler(this.Gd7_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Gd8 = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\Karton.xaml"
                this.Gd8.Click += new System.Windows.RoutedEventHandler(this.Gd8_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.Dl8 = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\Karton.xaml"
                this.Dl8.Click += new System.Windows.RoutedEventHandler(this.Dl8_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Dl7 = ((System.Windows.Controls.Button)(target));

            #line 123 "..\..\Karton.xaml"
                this.Dl7.Click += new System.Windows.RoutedEventHandler(this.Dl7_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Dl6 = ((System.Windows.Controls.Button)(target));

            #line 128 "..\..\Karton.xaml"
                this.Dl6.Click += new System.Windows.RoutedEventHandler(this.Dl6_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Dl5 = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\Karton.xaml"
                this.Dl5.Click += new System.Windows.RoutedEventHandler(this.Dl5_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.Dl4 = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\Karton.xaml"
                this.Dl4.Click += new System.Windows.RoutedEventHandler(this.Dl4_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.Dl3 = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\Karton.xaml"
                this.Dl3.Click += new System.Windows.RoutedEventHandler(this.Dl3_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.Dl2 = ((System.Windows.Controls.Button)(target));

            #line 148 "..\..\Karton.xaml"
                this.Dl2.Click += new System.Windows.RoutedEventHandler(this.Dl2_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.Dl1 = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\Karton.xaml"
                this.Dl1.Click += new System.Windows.RoutedEventHandler(this.Dl1_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.Dd1 = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\Karton.xaml"
                this.Dd1.Click += new System.Windows.RoutedEventHandler(this.Dd1_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.Dd2 = ((System.Windows.Controls.Button)(target));

            #line 166 "..\..\Karton.xaml"
                this.Dd2.Click += new System.Windows.RoutedEventHandler(this.Dd2_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.Dd3 = ((System.Windows.Controls.Button)(target));

            #line 171 "..\..\Karton.xaml"
                this.Dd3.Click += new System.Windows.RoutedEventHandler(this.Dd3_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.Dd4 = ((System.Windows.Controls.Button)(target));

            #line 176 "..\..\Karton.xaml"
                this.Dd4.Click += new System.Windows.RoutedEventHandler(this.Dd4_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.Dd5 = ((System.Windows.Controls.Button)(target));

            #line 181 "..\..\Karton.xaml"
                this.Dd5.Click += new System.Windows.RoutedEventHandler(this.Dd5_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.Dd6 = ((System.Windows.Controls.Button)(target));

            #line 186 "..\..\Karton.xaml"
                this.Dd6.Click += new System.Windows.RoutedEventHandler(this.Dd6_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.Dd7 = ((System.Windows.Controls.Button)(target));

            #line 191 "..\..\Karton.xaml"
                this.Dd7.Click += new System.Windows.RoutedEventHandler(this.Dd7_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.Dd8 = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\Karton.xaml"
                this.Dd8.Click += new System.Windows.RoutedEventHandler(this.Dd8_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.Karton_files = ((System.Windows.Controls.DataGrid)(target));

            #line 204 "..\..\Karton.xaml"
                this.Karton_files.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.KartonFiles_onclick);

            #line default
            #line hidden

            #line 204 "..\..\Karton.xaml"
                this.Karton_files.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Karton_files_double);

            #line default
            #line hidden
                return;

            case 35:
                this.UpBeleske = ((System.Windows.Controls.Button)(target));

            #line 223 "..\..\Karton.xaml"
                this.UpBeleske.Click += new System.Windows.RoutedEventHandler(this.UpBeleske_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.BeleskeText = ((System.Windows.Controls.TextBox)(target));

            #line 224 "..\..\Karton.xaml"
                this.BeleskeText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BeleskeText_TextChanged);

            #line default
            #line hidden

            #line 224 "..\..\Karton.xaml"
                this.BeleskeText.KeyDown += new System.Windows.Input.KeyEventHandler(this.BeleskeText_keydown);

            #line default
            #line hidden
                return;

            case 37:
                this.Add = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\Karton.xaml"
                this.Add.Click += new System.Windows.RoutedEventHandler(this.Add_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.Open = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\Karton.xaml"
                this.Open.Click += new System.Windows.RoutedEventHandler(this.Open_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.Beleske = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.ImeFajla = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.Sacuvaj = ((System.Windows.Controls.Button)(target));

            #line 230 "..\..\Karton.xaml"
                this.Sacuvaj.Click += new System.Windows.RoutedEventHandler(this.Sacuvaj_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Brisanje = ((System.Windows.Controls.Button)(target));

            #line 231 "..\..\Karton.xaml"
                this.Brisanje.Click += new System.Windows.RoutedEventHandler(this.Brisanje_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.Refresh = ((System.Windows.Controls.Button)(target));

            #line 232 "..\..\Karton.xaml"
                this.Refresh.Click += new System.Windows.RoutedEventHandler(this.Refresh_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.BeleskeDG = ((System.Windows.Controls.DataGrid)(target));

            #line 234 "..\..\Karton.xaml"
                this.BeleskeDG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BeleskeDG_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.Osvezi = ((System.Windows.Controls.Button)(target));

            #line 244 "..\..\Karton.xaml"
                this.Osvezi.Click += new System.Windows.RoutedEventHandler(this.Osvezi_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.IdBeleske = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }