コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Layout = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Home = ((GGGC.Admin.NavigationNode)(target));
                return;

            case 3:
                this.LeftNavigationExpander = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

            case 4:
                this.tvGG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 64 "..\..\ShellWindow.xaml"
                this.tvGG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ctrlBusy = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 6:
                this.containerOK = ((Syncfusion.Windows.Tools.Controls.TabControlExt)(target));

            #line 111 "..\..\ShellWindow.xaml"
                this.containerOK.OnCloseButtonClick += new Syncfusion.Windows.Tools.Controls.OnCloseTabsEventHandler(this.containerOK_OnCloseButtonClick);

            #line default
            #line hidden
                return;

            case 7:
                this.ShadowVisualLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.ShadowVisualTop = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dropdown = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

            case 2:

            #line 14 "..\..\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickOnAddVisitor);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: RadExamples.g.i.cs プロジェクト: krathi123/Visitors
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\View\RadExamples.xaml"
                ((Visitors.radCarouse1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dropdown = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

            case 3:

            #line 14 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 15 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickOnAddVisitor);

            #line default
            #line hidden
                return;

            case 5:

            #line 16 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickEditVisitor);

            #line default
            #line hidden
                return;

            case 6:

            #line 17 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickViewVisitor);

            #line default
            #line hidden
                return;

            case 7:

            #line 18 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickDeleteVisitor);

            #line default
            #line hidden
                return;

            case 8:

            #line 19 "..\..\..\View\RadExamples.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickLogOut);

            #line default
            #line hidden
                return;

            case 9:
                this.editvisitorUserControl1 = ((Visitors.View.EditRoleUserControl)(target));
                return;

            case 10:
                this.viewVisitorUserCtrl1 = ((Visitors.View.ViewVisitorDetails)(target));
                return;

            case 11:
                this.deleteVisitorCtrl1 = ((Visitors.View.DeleteVisitorUserControl)(target));
                return;

            case 12:
                this.addvisitorUserControl1 = ((Visitors.View.InsertUsrCtrl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid_Main = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.RadExpander = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

            case 3:
                this.ExpanderCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.listView_Contract = ((System.Windows.Controls.ListView)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.listView_Contract.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView_Contract_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_InsertContract_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\MainWindow.xaml"
                this.btn_InsertContract.Click += new System.Windows.RoutedEventHandler(this.btn_InsertContract_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\MainWindow.xaml"
                this.btn_deleteContract.Click += new System.Windows.RoutedEventHandler(this.btn_deleteContract_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.MGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.stackPanel_ContractContent = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.ListViewSerices = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.btn_InsertService.Click += new System.Windows.RoutedEventHandler(this.btn_InsertService_Click);

            #line default
            #line hidden
                return;

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

            #line 138 "..\..\MainWindow.xaml"
                this.btn_EditService.Click += new System.Windows.RoutedEventHandler(this.btn_EditService_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.btn_DeleteService3.Click += new System.Windows.RoutedEventHandler(this.btn_DeleteService3_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.stackPanel_Sales = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 174 "..\..\MainWindow.xaml"
                this.btn_InsertSales.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.dataGrid_Sales = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 18:
                this.TotalProduc = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 220 "..\..\MainWindow.xaml"
                this.btn_InsertProduction.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

            #line 270 "..\..\MainWindow.xaml"
                this.btn_InsertWarehouse.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

            #line 329 "..\..\MainWindow.xaml"
                this.btn_InsertProject.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

            #line 411 "..\..\MainWindow.xaml"
                this.btn_InsertAccountant.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

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