示例#1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightDemo;component/MainPage.xaml", System.UriKind.Relative));
     this.accordionStyle        = ((System.Windows.Style)(this.FindName("accordionStyle")));
     this.tabContentBorderBrush = ((System.Windows.Media.LinearGradientBrush)(this.FindName("tabContentBorderBrush")));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.sideBar            = ((System.Windows.Controls.Border)(this.FindName("sideBar")));
     this.ListScroller       = ((System.Windows.Controls.ScrollViewer)(this.FindName("ListScroller")));
     this.ListOfSamples      = ((System.Windows.Controls.StackPanel)(this.FindName("ListOfSamples")));
     this.expand             = ((System.Windows.Controls.Accordion)(this.FindName("expand")));
     this.gridSplitter       = ((System.Windows.Controls.GridSplitter)(this.FindName("gridSplitter")));
     this.tabPanel           = ((System.Windows.Controls.TabControl)(this.FindName("tabPanel")));
     this.tabSample          = ((System.Windows.Controls.TabItem)(this.FindName("tabSample")));
     this.mapFrameBorder     = ((System.Windows.Controls.Border)(this.FindName("mapFrameBorder")));
     this.ContentFrame       = ((System.Windows.Controls.Frame)(this.FindName("ContentFrame")));
     this.tabXaml            = ((System.Windows.Controls.TabItem)(this.FindName("tabXaml")));
     this.tabXamlScrollView  = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabXamlScrollView")));
     this.txtXaml            = ((JeffWilcox.SyntaxHighlighting.SyntaxHighlightingTextBlock)(this.FindName("txtXaml")));
     this.tabSrc             = ((System.Windows.Controls.TabItem)(this.FindName("tabSrc")));
     this.tabSrcScrollView   = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabSrcScrollView")));
     this.txtSrc             = ((JeffWilcox.SyntaxHighlighting.SyntaxHighlightingTextBlock)(this.FindName("txtSrc")));
     this.tabSrcVB           = ((System.Windows.Controls.TabItem)(this.FindName("tabSrcVB")));
     this.tabSrcScrollViewVB = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabSrcScrollViewVB")));
     this.txtSrcExplain      = ((System.Windows.Controls.TextBox)(this.FindName("txtSrcExplain")));
     this.SampleCaption      = ((System.Windows.Controls.TextBlock)(this.FindName("SampleCaption")));
 }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MainNavigationAccordion = ((System.Windows.Controls.Accordion)(target));
         return;
     }
     this._contentLoaded = true;
 }
示例#3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SPVN.App;component/Views/Home.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.accordion1 = ((System.Windows.Controls.Accordion)(this.FindName("accordion1")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.ModuleLoader;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.viewbox1        = ((System.Windows.Controls.Viewbox)(this.FindName("viewbox1")));
     this.moduleAccordion = ((System.Windows.Controls.Accordion)(this.FindName("moduleAccordion")));
 }
示例#5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/MainView/ModuleView.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.menubar         = ((System.Windows.Controls.Canvas)(this.FindName("menubar")));
     this.moduleAccordion = ((System.Windows.Controls.Accordion)(this.FindName("moduleAccordion")));
 }
示例#6
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Dispatcher.Silverlight;component/Silverlight/Administration" +
                 "/AdministrationView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Border)(this.FindName("LayoutRoot")));
     this.AdminAccordion = ((System.Windows.Controls.Accordion)(this.FindName("AdminAccordion")));
     this.grdUserProfileButtons = ((System.Windows.Controls.Grid)(this.FindName("grdUserProfileButtons")));
     this.btnRemoveUser = ((System.Windows.Controls.Button)(this.FindName("btnRemoveUser")));
     this.btnAddUser = ((System.Windows.Controls.Button)(this.FindName("btnAddUser")));
     this.btnEditUser = ((System.Windows.Controls.Button)(this.FindName("btnEditUser")));
 }
示例#7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\Main.xaml"
     ((wpfBroadcast.Main)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\Main.xaml"
     ((wpfBroadcast.Main)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.accdMenu = ((System.Windows.Controls.Accordion)(target));
     return;
     case 3:
     
     #line 322 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnUser_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 323 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSite_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 324 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRecordSound_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 325 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSchedule_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 336 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RecordBrocast_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 337 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.VoiceBrocast_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 349 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Test_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 350 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SilentTest_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 362 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btpReportLogin);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 363 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnReportEvent);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 364 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSchTestLog);
     
     #line default
     #line hidden
     return;
     case 14:
     this.tblSIteDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 15:
     this.sITE_IDColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 16:
     this.sITE_NAMEColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 17:
     
     #line 438 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ColsToSelectAcc = ((System.Windows.Controls.Accordion)(target));
     
     #line 44 "..\..\..\..\Control\SelectTabControl.xaml"
     this.ColsToSelectAcc.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.ColsToSelectAcc_SelectedItemsChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ColListAcc = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 3:
     this.lstToSelecteColFrom = ((System.Windows.Controls.ListView)(target));
     
     #line 57 "..\..\..\..\Control\SelectTabControl.xaml"
     this.lstToSelecteColFrom.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lstToSelecteColFrom_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SelectionColsStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.computedGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.ComputedColName1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.ComputedColName2 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.ComputedColName3 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.ComputedColName4 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.ComputedColNameTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.ComputedColFormatComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 12:
     this.ComputedColExpTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.ComputedColFunctionComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 176 "..\..\..\..\Control\SelectTabControl.xaml"
     this.ComputedColFunctionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComputedColFunctionComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.ComputedColComboBox1 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.ComputedColComboBox2 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 16:
     this.ComputedColComboBox3 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 17:
     this.ComputedColComboBox4 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 18:
     this.ComputedColifnullTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.AddCaseCondition = ((System.Windows.Controls.Button)(target));
     
     #line 189 "..\..\..\..\Control\SelectTabControl.xaml"
     this.AddCaseCondition.Click += new System.Windows.RoutedEventHandler(this.AddCase_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.RemoveCaseCondition = ((System.Windows.Controls.Button)(target));
     
     #line 194 "..\..\..\..\Control\SelectTabControl.xaml"
     this.RemoveCaseCondition.Click += new System.Windows.RoutedEventHandler(this.RemoveCase_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.AddCompCol = ((System.Windows.Controls.Button)(target));
     
     #line 199 "..\..\..\..\Control\SelectTabControl.xaml"
     this.AddCompCol.Click += new System.Windows.RoutedEventHandler(this.AddCompCol_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.lblErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.BtnAddAll = ((System.Windows.Controls.Button)(target));
     
     #line 226 "..\..\..\..\Control\SelectTabControl.xaml"
     this.BtnAddAll.Click += new System.Windows.RoutedEventHandler(this.AddAllBtn_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.btnAdd = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\..\..\Control\SelectTabControl.xaml"
     this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btnRemove = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\..\..\Control\SelectTabControl.xaml"
     this.btnRemove.Click += new System.Windows.RoutedEventHandler(this.btnRemove_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.BtnRemoveAll = ((System.Windows.Controls.Button)(target));
     
     #line 233 "..\..\..\..\Control\SelectTabControl.xaml"
     this.BtnRemoveAll.Click += new System.Windows.RoutedEventHandler(this.RemoveAllBtn_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.SelectedColsStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 28:
     this.Label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.SelectedColsStackPanel11 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 30:
     this.lstSelectedCol = ((System.Windows.Controls.ListView)(target));
     
     #line 252 "..\..\..\..\Control\SelectTabControl.xaml"
     this.lstSelectedCol.MouseMove += new System.Windows.Input.MouseEventHandler(this.lstSelectedCol_MouseMove);
     
     #line default
     #line hidden
     
     #line 252 "..\..\..\..\Control\SelectTabControl.xaml"
     this.lstSelectedCol.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lstSelectedCol_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 31:
     this.btnUp = ((System.Windows.Controls.Button)(target));
     
     #line 304 "..\..\..\..\Control\SelectTabControl.xaml"
     this.btnUp.Click += new System.Windows.RoutedEventHandler(this.btnUp_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.btnDown = ((System.Windows.Controls.Button)(target));
     
     #line 307 "..\..\..\..\Control\SelectTabControl.xaml"
     this.btnDown.Click += new System.Windows.RoutedEventHandler(this.btnDown_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#9
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.LeftNavTaskView = ((System.Windows.Controls.Grid)(this.FindName("LeftNavTaskView")));
     this.gridLeftNav = ((System.Windows.Controls.ColumnDefinition)(this.FindName("gridLeftNav")));
     this.gridTaskRows = ((System.Windows.Controls.ColumnDefinition)(this.FindName("gridTaskRows")));
     this.gridStatusBar = ((System.Windows.Controls.RowDefinition)(this.FindName("gridStatusBar")));
     this.ucStatusBar = ((BCheck.TaskUI.StatusBar)(this.FindName("ucStatusBar")));
     this.acc = ((System.Windows.Controls.Accordion)(this.FindName("acc")));
     this.AccordionSummary = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionSummary")));
     this.AccordionSearch = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionSearch")));
     this.AccordionAlerts = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionAlerts")));
     this.TasksControl = ((BCheck.TaskUI.TasksViewC1)(this.FindName("TasksControl")));
     this.borderGrabber = ((System.Windows.Controls.Border)(this.FindName("borderGrabber")));
     this.txtGrabberExpandor = ((System.Windows.Controls.TextBlock)(this.FindName("txtGrabberExpandor")));
     this.grabberRotate = ((System.Windows.Media.RotateTransform)(this.FindName("grabberRotate")));
     this.grabberTranslate = ((System.Windows.Media.TranslateTransform)(this.FindName("grabberTranslate")));
     this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator")));
 }
        /// <summary>
        /// Méthode qui permet de créer le bouton d'ajout d'un aliment au plateau d'un plat.
        /// </summary>
        /// <param name="plus"></param>
        /// <param name="unAliment"></param>
        /// <returns></returns>
        Button Creer_Bouton_Aliment(bool plus, Aliment unAliment, Accordion unAccordeon)
        {
            Button btnControl = new Button();

            // Création du bouton pour supprimer ou ajouter un Plat/Aliment
            btnControl.HorizontalContentAlignment = HorizontalAlignment.Left;
            Thickness margin = btnControl.Margin;
            margin.Left = 0;
            btnControl.Margin = margin;
            btnControl.Height = 32;
            btnControl.Name = "btn" + ((int)unAliment.IdAliment).ToString();
            btnControl.ToolTip = Produire_Aide_Contextuelle(unAliment);

            if (plus)
            {

                if (unAccordeon.Name == "accordeon_aliments")
                {
                    btnControl.Click += Ajout_Aliment_Plateau;
                }

                if (unAccordeon.Name == "accordeon_aliments_modif")
                {
                    btnControl.Click += Ajout_Aliment_Plateau_Modif;
                }

            }

            StackPanel stackLigne = new StackPanel();
            stackLigne.Orientation = Orientation.Horizontal;
            stackLigne.HorizontalAlignment = HorizontalAlignment.Left;
            stackLigne.Width = 275;

            Image imgBouton = new Image();
            imgBouton.Source = new BitmapImage(new Uri("pack://application:,,,/UI/Images/" + (plus ? "plusIcon" : "minusIcon") + ".png"));
            imgBouton.Width = 15;
            imgBouton.Height = 15;
            stackLigne.Children.Add(imgBouton);

            Label lblNom = new Label();
            lblNom.Content = unAliment.Nom;
            lblNom.Style = (Style)(this.Resources["fontNutitia"]);
            lblNom.FontSize = 12;
            lblNom.Width = 230;
            stackLigne.Children.Add(lblNom);

            btnControl.Content = stackLigne;

            return btnControl;
        }
        /// <summary>
        /// Méthode d'ajout d'une catégorie d'aliments à l'accordéon et qui peuple cell-ci avec les bons aliments.
        /// </summary>
        /// <param name="categorie"></param>
        private void Construire_Categorie_Accordeon(string categorie, Accordion unAccordeon)
        {
            AccordionItem categorieAccordeon = new AccordionItem();
            categorieAccordeon.Header = categorie;
            StackPanel stackCategorie = new StackPanel();
            stackCategorie.Background = Brushes.White;
            stackCategorie.Width = 284;

            foreach (Aliment unAliment in listeAliments)
            {
                if (unAliment.Categorie == categorie)
                {
                    Button btnAliment = Creer_Bouton_Aliment(true, unAliment, unAccordeon);
                    stackCategorie.Children.Add(btnAliment);
                }
            }

            categorieAccordeon.Content = stackCategorie;
            unAccordeon.Items.Add(categorieAccordeon);
        }
 /// <summary>
 /// Méthode de construction automatisé de l'accordéon des aliments pour la création et modification de plats.
 /// </summary>
 private void Construire_Accordeon(Accordion unAccordeon)
 {
     Construire_Categorie_Accordeon("Arachides et noix", unAccordeon);
     Construire_Categorie_Accordeon("Autres", unAccordeon);
     Construire_Categorie_Accordeon("Boissons", unAccordeon);
     Construire_Categorie_Accordeon("Céréales", unAccordeon);
     Construire_Categorie_Accordeon("Épices", unAccordeon);
     Construire_Categorie_Accordeon("Fruits et légumes", unAccordeon);
     Construire_Categorie_Accordeon("Matières grasses", unAccordeon);
     Construire_Categorie_Accordeon("Pâtes", unAccordeon);
     Construire_Categorie_Accordeon("Poissons et fruits de mers", unAccordeon);
     Construire_Categorie_Accordeon("Produits laitiers", unAccordeon);
     Construire_Categorie_Accordeon("Produits sucrés", unAccordeon);
     Construire_Categorie_Accordeon("Viandes et substituts", unAccordeon);
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iServerJava6R_SampleCode;component/MainPage.xaml", System.UriKind.Relative));
     this.accordionStyle = ((System.Windows.Style)(this.FindName("accordionStyle")));
     this.tabContentBorderBrush = ((System.Windows.Media.LinearGradientBrush)(this.FindName("tabContentBorderBrush")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.sideBar = ((System.Windows.Controls.Border)(this.FindName("sideBar")));
     this.ListScroller = ((System.Windows.Controls.ScrollViewer)(this.FindName("ListScroller")));
     this.ListOfSamples = ((System.Windows.Controls.StackPanel)(this.FindName("ListOfSamples")));
     this.expand = ((System.Windows.Controls.Accordion)(this.FindName("expand")));
     this.gridSplitter = ((System.Windows.Controls.GridSplitter)(this.FindName("gridSplitter")));
     this.tabPanel = ((System.Windows.Controls.TabControl)(this.FindName("tabPanel")));
     this.tabSample = ((System.Windows.Controls.TabItem)(this.FindName("tabSample")));
     this.mapFrameBorder = ((System.Windows.Controls.Border)(this.FindName("mapFrameBorder")));
     this.ContentFrame = ((System.Windows.Controls.Frame)(this.FindName("ContentFrame")));
     this.tabXaml = ((System.Windows.Controls.TabItem)(this.FindName("tabXaml")));
     this.tabXamlScrollView = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabXamlScrollView")));
     this.txtXaml = ((JeffWilcox.SyntaxHighlighting.SyntaxHighlightingTextBlock)(this.FindName("txtXaml")));
     this.tabSrc = ((System.Windows.Controls.TabItem)(this.FindName("tabSrc")));
     this.tabSrcScrollView = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabSrcScrollView")));
     this.txtSrc = ((JeffWilcox.SyntaxHighlighting.SyntaxHighlightingTextBlock)(this.FindName("txtSrc")));
     this.tabSrcVB = ((System.Windows.Controls.TabItem)(this.FindName("tabSrcVB")));
     this.tabSrcScrollViewVB = ((System.Windows.Controls.ScrollViewer)(this.FindName("tabSrcScrollViewVB")));
     this.txtSrcExplain = ((System.Windows.Controls.TextBox)(this.FindName("txtSrcExplain")));
     this.SampleCaption = ((System.Windows.Controls.TextBlock)(this.FindName("SampleCaption")));
     this.copyToClipboard = ((System.Windows.Controls.Button)(this.FindName("copyToClipboard")));
 }
 public override void OnApplyTemplate()
 {
     LayerConfigurationAccordion = GetTemplateChild("LayerConfigurationAccordion") as Accordion;
 }
示例#15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ColsToSelectAcc = ((System.Windows.Controls.Accordion)(target));

            #line 44 "..\..\..\..\Control\SelectTabControl.xaml"
                this.ColsToSelectAcc.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.ColsToSelectAcc_SelectedItemsChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.ColListAcc = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 3:
                this.lstToSelecteColFrom = ((System.Windows.Controls.ListView)(target));

            #line 57 "..\..\..\..\Control\SelectTabControl.xaml"
                this.lstToSelecteColFrom.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lstToSelecteColFrom_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.SelectionColsStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.computedGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.ComputedColName2 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.ComputedColName3 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.ComputedColName4 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.ComputedColNameTxtBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.ComputedColFormatComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.ComputedColExpTxtBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ComputedColFunctionComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 176 "..\..\..\..\Control\SelectTabControl.xaml"
                this.ComputedColFunctionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComputedColFunctionComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.ComputedColComboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.ComputedColComboBox2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.ComputedColComboBox3 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.ComputedColComboBox4 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.ComputedColifnullTxtBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 189 "..\..\..\..\Control\SelectTabControl.xaml"
                this.AddCaseCondition.Click += new System.Windows.RoutedEventHandler(this.AddCase_Click);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\..\..\Control\SelectTabControl.xaml"
                this.RemoveCaseCondition.Click += new System.Windows.RoutedEventHandler(this.RemoveCase_Click);

            #line default
            #line hidden
                return;

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

            #line 199 "..\..\..\..\Control\SelectTabControl.xaml"
                this.AddCompCol.Click += new System.Windows.RoutedEventHandler(this.AddCompCol_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.lblErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 226 "..\..\..\..\Control\SelectTabControl.xaml"
                this.BtnAddAll.Click += new System.Windows.RoutedEventHandler(this.AddAllBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 229 "..\..\..\..\Control\SelectTabControl.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\..\..\Control\SelectTabControl.xaml"
                this.btnRemove.Click += new System.Windows.RoutedEventHandler(this.btnRemove_Click);

            #line default
            #line hidden
                return;

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

            #line 233 "..\..\..\..\Control\SelectTabControl.xaml"
                this.BtnRemoveAll.Click += new System.Windows.RoutedEventHandler(this.RemoveAllBtn_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.SelectedColsStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 28:
                this.Label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.SelectedColsStackPanel11 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.lstSelectedCol = ((System.Windows.Controls.ListView)(target));

            #line 252 "..\..\..\..\Control\SelectTabControl.xaml"
                this.lstSelectedCol.MouseMove += new System.Windows.Input.MouseEventHandler(this.lstSelectedCol_MouseMove);

            #line default
            #line hidden

            #line 252 "..\..\..\..\Control\SelectTabControl.xaml"
                this.lstSelectedCol.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lstSelectedCol_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 304 "..\..\..\..\Control\SelectTabControl.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.btnUp_Click);

            #line default
            #line hidden
                return;

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

            #line 307 "..\..\..\..\Control\SelectTabControl.xaml"
                this.btnDown.Click += new System.Windows.RoutedEventHandler(this.btnDown_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccordionAutomationPeer"/> class.
 /// </summary>
 /// <param name="owner">The Accordion that is associated with this
 /// AccordionAutomationPeer.</param>
 public AccordionAutomationPeer(Accordion owner)
     : base(owner)
 {
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ShortCutsToolBar = ((System.Windows.Controls.ToolBar)(target));

            #line 99 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ShortCutsToolBar.Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExecuteQueryBtn.Click += new System.Windows.RoutedEventHandler(this.RunQueryBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\..\..\Control\ResultViewControl.xaml"
                this.StopExecutionBtn.Click += new System.Windows.RoutedEventHandler(this.StopExecutionBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\..\Control\ResultViewControl.xaml"
                this.SaveQueryBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\..\..\Control\ResultViewControl.xaml"
                this.SaveQueryAsBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryAsBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExportToFolder.Click += new System.Windows.RoutedEventHandler(this.SaveXML_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.RVCTAbControl = ((System.Windows.Controls.TabControl)(target));

            #line 122 "..\..\..\..\Control\ResultViewControl.xaml"
                this.RVCTAbControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RVCTAbControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.QueryTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 10:
                this.CustomQueryAccordion = ((System.Windows.Controls.Accordion)(target));

            #line 133 "..\..\..\..\Control\ResultViewControl.xaml"
                this.CustomQueryAccordion.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.CustomQueryAccordion_SelectedItemsChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.FromAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 12:
                this.FromAccItemDummyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.FromTabCntrl = ((FastDB.Control.FromTabControl)(target));
                return;

            case 14:
                this.SelectAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 15:
                this.SelectGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.SelectTabCntrl = ((FastDB.Control.SelectTabControl)(target));
                return;

            case 17:
                this.WhereAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 18:
                this.WhereGrid = ((System.Windows.Controls.Grid)(target));

            #line 168 "..\..\..\..\Control\ResultViewControl.xaml"
                this.WhereGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WhereGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.WhereTabCntrl = ((FastDB.Control.WhereTabControl)(target));
                return;

            case 20:
                this.TabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 21:
                this.TabulationTabCntrl = ((FastDB.Control.TabulationTabControl)(target));
                return;

            case 22:
                this.CrossTabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 23:
                this.CrossTabulationTabCntrl = ((FastDB.Control.CrossTabulationTabControl)(target));
                return;

            case 24:
                this.ResultTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 25:
                this.StackPanelResultViewControl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 26:
                this.XmlQueryTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 27:
                this.lblXmlQueryTabErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.XmlQueryTabTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.XmlSQLTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 30:
                this.lblXmlSQLTabErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.chkSQL = ((System.Windows.Controls.CheckBox)(target));

            #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
                this.chkSQL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked_chkSSQL);

            #line default
            #line hidden

            #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
                this.chkSQL.Unchecked += new System.Windows.RoutedEventHandler(this.OnUnChecked_chkSSQL);

            #line default
            #line hidden
                return;

            case 32:
                this.XmlSQLTabTxt = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ShortCutsToolBar = ((System.Windows.Controls.ToolBar)(target));
     
     #line 99 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ShortCutsToolBar.Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ExecuteQueryBtn = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExecuteQueryBtn.Click += new System.Windows.RoutedEventHandler(this.RunQueryBtn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.StopExecutionBtn = ((System.Windows.Controls.Button)(target));
     
     #line 104 "..\..\..\..\Control\ResultViewControl.xaml"
     this.StopExecutionBtn.Click += new System.Windows.RoutedEventHandler(this.StopExecutionBtn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SaveQueryBtn = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\..\..\Control\ResultViewControl.xaml"
     this.SaveQueryBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryBtn_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.SaveQueryAsBtn = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\..\..\Control\ResultViewControl.xaml"
     this.SaveQueryAsBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryAsBtn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ExportToExcel = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ExportToFolder = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExportToFolder.Click += new System.Windows.RoutedEventHandler(this.SaveXML_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.RVCTAbControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 122 "..\..\..\..\Control\ResultViewControl.xaml"
     this.RVCTAbControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RVCTAbControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.QueryTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 10:
     this.CustomQueryAccordion = ((System.Windows.Controls.Accordion)(target));
     
     #line 133 "..\..\..\..\Control\ResultViewControl.xaml"
     this.CustomQueryAccordion.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.CustomQueryAccordion_SelectedItemsChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.FromAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 12:
     this.FromAccItemDummyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.FromTabCntrl = ((FastDB.Control.FromTabControl)(target));
     return;
     case 14:
     this.SelectAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 15:
     this.SelectGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.SelectTabCntrl = ((FastDB.Control.SelectTabControl)(target));
     return;
     case 17:
     this.WhereAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 18:
     this.WhereGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 168 "..\..\..\..\Control\ResultViewControl.xaml"
     this.WhereGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WhereGrid_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.WhereTabCntrl = ((FastDB.Control.WhereTabControl)(target));
     return;
     case 20:
     this.TabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 21:
     this.TabulationTabCntrl = ((FastDB.Control.TabulationTabControl)(target));
     return;
     case 22:
     this.CrossTabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 23:
     this.CrossTabulationTabCntrl = ((FastDB.Control.CrossTabulationTabControl)(target));
     return;
     case 24:
     this.ResultTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 25:
     this.StackPanelResultViewControl = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 26:
     this.XmlQueryTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 27:
     this.lblXmlQueryTabErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.XmlQueryTabTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.XmlSQLTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 30:
     this.lblXmlSQLTabErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.chkSQL = ((System.Windows.Controls.CheckBox)(target));
     
     #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
     this.chkSQL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked_chkSSQL);
     
     #line default
     #line hidden
     
     #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
     this.chkSQL.Unchecked += new System.Windows.RoutedEventHandler(this.OnUnChecked_chkSSQL);
     
     #line default
     #line hidden
     return;
     case 32:
     this.XmlSQLTabTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#19
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ISEstimate;component/MasterPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.hbHome = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbHome")));
     this.hbSetting = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbSetting")));
     this.hbRefresh = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbRefresh")));
     this.hbLogout = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbLogout")));
     this.AcdnRoot = ((System.Windows.Controls.Grid)(this.FindName("AcdnRoot")));
     this.Menu = ((System.Windows.Controls.Grid)(this.FindName("Menu")));
     this.acdnMenu = ((System.Windows.Controls.Accordion)(this.FindName("acdnMenu")));
     this.lbmasters = ((System.Windows.Controls.ListBox)(this.FindName("lbmasters")));
     this.lbtransaction = ((System.Windows.Controls.ListBox)(this.FindName("lbtransaction")));
     this.lbReports = ((System.Windows.Controls.ListBox)(this.FindName("lbReports")));
     this.lbTool = ((System.Windows.Controls.ListBox)(this.FindName("lbTool")));
     this.lbFavourite = ((System.Windows.Controls.ListBox)(this.FindName("lbFavourite")));
     this.gSplitter = ((System.Windows.Controls.GridSplitter)(this.FindName("gSplitter")));
     this.MContent = ((System.Windows.Controls.Grid)(this.FindName("MContent")));
     this.FContent = ((System.Windows.Controls.Frame)(this.FindName("FContent")));
     this.Footer = ((System.Windows.Controls.Grid)(this.FindName("Footer")));
     this.StatusGrid = ((System.Windows.Controls.Grid)(this.FindName("StatusGrid")));
     this.Statuslbls = ((System.Windows.Controls.StackPanel)(this.FindName("Statuslbls")));
     this.lblAdd = ((System.Windows.Controls.Label)(this.FindName("lblAdd")));
     this.lblEdit = ((System.Windows.Controls.Label)(this.FindName("lblEdit")));
     this.lblSave = ((System.Windows.Controls.Label)(this.FindName("lblSave")));
     this.lblDelete = ((System.Windows.Controls.Label)(this.FindName("lblDelete")));
     this.lblClear = ((System.Windows.Controls.Label)(this.FindName("lblClear")));
     this.lblClose = ((System.Windows.Controls.Label)(this.FindName("lblClose")));
     this.lblRefresh = ((System.Windows.Controls.Label)(this.FindName("lblRefresh")));
     this.lblPrint = ((System.Windows.Controls.Label)(this.FindName("lblPrint")));
     this.lblSearch = ((System.Windows.Controls.Label)(this.FindName("lblSearch")));
     this.lblShow = ((System.Windows.Controls.Label)(this.FindName("lblShow")));
     this.lblSendMail = ((System.Windows.Controls.Label)(this.FindName("lblSendMail")));
     this.lblStatus = ((System.Windows.Controls.Label)(this.FindName("lblStatus")));
     this.status = ((System.Windows.Shapes.Ellipse)(this.FindName("status")));
 }