コード例 #1
0
        //Editor Ed = new Editor(Edit);

        public Manager(TabControl tabs, StackPanel Background, StackPanel Edit)
        {
            // TODO: Complete member initialization
            this.tabs = tabs;
            this.Background = Background;
            this.Edit = Edit;
            trSkw = new SkewTransform(0, 0);
            trRot = new RotateTransform(0);
            trTns = new TranslateTransform(0, 0);
            trScl = new ScaleTransform(1, 1);
            trSkw2 = new SkewTransform(0, 0);
            trRot2 = new RotateTransform(0);
            trTns2 = new TranslateTransform(0, 0);
            trScl2 = new ScaleTransform(1, 1);
            trGrp2 = new TransformGroup();
            trGrp2.Children.Add(trSkw2);
            trGrp2.Children.Add(trRot2);
            trGrp2.Children.Add(trTns2);
            trGrp2.Children.Add(trScl2);
            trGrp = new TransformGroup();
            trGrp.Children.Add(trSkw);
            trGrp.Children.Add(trRot);
            trGrp.Children.Add(trTns);
            trGrp.Children.Add(trScl);
        }
コード例 #2
0
ファイル: InfoAdorner.cs プロジェクト: psVenture/usalizer
 public InfoAdorner(TabControl target, DelphiAnalysis analysis)
     : base(target)
 {
     if (analysis == null)
         throw new ArgumentNullException("analysis");
     this.analysis = analysis;
 }
コード例 #3
0
ファイル: SideBar.cs プロジェクト: straboulsi/fauvel
        // This constructor defines the look of the "new tab", which displays all apps for a user to choose from.
        public SideBar(SurfaceWindow1 surfaceWindow, TabControl tabBar)
        {
            savedPages = new List<SavedPage>();

            this.surfaceWindow = surfaceWindow;
            this.tabBar = tabBar;
            tabItems = new List<SideBarTab>();

            tabAdd = new SideBarTab(this);
            tabAdd.Header = "+";
            tabAdd.Width = 50;
            tabAdd.FontSize = 25;
            tabAdd.FontFamily = new FontFamily("Cambria");

            Canvas newTabCanvas = new Canvas();
            newTabCanvas.Height = 900;
            newTabCanvas.Width = 550;
            tabAdd.Content = newTabCanvas;

            newTabCanvas.Children.Add(addApplication("Search", "search.png", SearchButton_Selected, 100, 290, true));
            newTabCanvas.Children.Add(addApplication("Annotate", "pencil.png", AnnotateButton_Selected, 100, 480, false));
            newTabCanvas.Children.Add(addApplication("Saved Pages", "save.png", SavedPagesButton_Selected, 320, 480, false));
            newTabCanvas.Children.Add(addApplication("Music", "music.png", StudyButton_Selected, 320, 290, true));

            tabItems.Add(tabAdd);
            tabBar.DataContext = tabItems;
            tabBar.SelectedIndex = 0;
        }
コード例 #4
0
ファイル: TabControlWorkSpace.cs プロジェクト: 569550384/Rafy
        public TabControlWorkSpace(TabControl tc)
        {
            if (tc == null) throw new ArgumentNullException("tc");

            this._tabControl = tc;
            this._tabControl.SelectionChanged += new SelectionChangedEventHandler(On_tabControl_SelectionChanged);
        }
コード例 #5
0
        public void AddCustomTab(TabControl parentTabControl, string name, UserControl userControl, bool useViewBox = true)
        {
            if (useViewBox)
            {
                Viewbox viewBox = new Viewbox();
                viewBox.Child = userControl;
                viewBox.Width = double.NaN;
                viewBox.Height = double.NaN;

                TabItem tabItem = new TabItem();
                tabItem.Header = name;
                tabItem.Content = viewBox;
                CopyFontData(tabItem1, tabItem);
                parentTabControl.Items.Add(tabItem);
            }
            else
            {
                userControl.Width = double.NaN;
                userControl.Height = double.NaN;
                userControl.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
                userControl.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;

                Grid grid = new Grid();
                grid.Width = double.NaN;
                grid.Height = double.NaN;
                grid.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
                grid.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;

                grid.Children.Add(userControl);
                Grid.SetColumn(userControl, 0);
                Grid.SetRow(userControl, 0);

                AddCustomTab(parentTabControl, name, grid);
            }
        }
コード例 #6
0
ファイル: MainWindow.xaml.cs プロジェクト: nearcoding/GAP
        public MainWindow()
        {
            InitializeComponent();

            ShowCurrentCulture();

            AllowsTransparency = true;

            _ucTabCharts = new ucTabCharts();
            _solutionExplorer = new ucSolutionExplorer();

            TabControl = _ucTabCharts.TabCharts;
            GlobalData.MainWindow = this;

            SetReceiveMessages();

            var obj = Assembly.GetExecutingAssembly().GetName().Version;

            _dataContext = IoC.Kernel.Get<IMainScreenViewModel>(new ConstructorArgument("token", Token));
            DataContext = _dataContext;
            _dataContext.ApplicationVersion = string.Format("{0}.{1}.{2}", obj.Minor, obj.Build, obj.Revision);

            WindowsManagerCode();
            Loaded += MainWindow_Loaded;
        }
コード例 #7
0
        public void CloseDoesNotExist()
        {
            CreateContainerWithRealMessageBus();

            var title = Guid.NewGuid().ToString();

            var viewModel = Substitute.For<ITitledViewModel>();
            viewModel.Title.Returns(title);

            var view = new FrameworkElement();
            view.DataContext = viewModel;
            var viewTarget = ViewTargets.DefaultView;

            var viewResult = new ViewResult(view, viewTarget);
            var viewBuilder = Substitute.For<IViewFactory>();
            viewBuilder.Build(Arg.Any<ViewTargets>(), Arg.Any<Object>())
                .Returns(viewResult);
            ComponentContainer.Container.Register(Component.For<IViewFactory>().Instance(viewBuilder));

            var window = new Window();
            var tabControl = new TabControl();
            var viewController = new ViewPlacer(window, tabControl);
            var newTabItem = new TabItem() { Header = Guid.NewGuid().ToString() };
            tabControl.Items.Add(newTabItem);

            var message = new CloseViewMessage(title);
            _MessageBus.Publish<CloseViewMessage>(message);

            Assert.AreEqual(1, tabControl.Items.Count);
        }
コード例 #8
0
ファイル: MainWindow.xaml.cs プロジェクト: dsplaisted/MEFBook
        private void SetupArea(DockPosition position, ContentControl contentArea)
        {
            var extensionForThisArea = Extensions.Where(e => e.Metadata.Position == position).ToList();
            if (extensionForThisArea.Count == 0)
            {
                contentArea.Visibility = System.Windows.Visibility.Collapsed;
            }
            else if (extensionForThisArea.Count == 1)
            {
                contentArea.Content = extensionForThisArea[0].Value;
            }
            else
            {
                TabControl tabControl = new TabControl();
                foreach (var extension in extensionForThisArea)
                {
                    var tabItem = new TabItem();
                    tabItem.Header = extension.Metadata.Name;
                    tabItem.Content = extension.Value;

                    tabControl.Items.Add(tabItem);
                }
                contentArea.Content = tabControl;
            }
        }
コード例 #9
0
        public void list_users_and_highlight(string username, bool highlight, TabControl tb)
        {
            this.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
               new System.Action(() =>
               {
                   if (highlight)
                   {
                       tb.SelectedIndex = 0;
                       this.users_list.populator.item_width = this.Width - 3;
                       this.users_list.populator.list_all_users_sync();
                       //configurations.SortItemGenericList(this.users_list._list.Items, false, false, true, configurations.users_num_desc.Length, configurations.users_date_desc.Length, true, true);
                       //this.header.atoz.IsChecked = false;
                       //this.header.recent.IsChecked = true;
                       //this.header.top.IsChecked = false;
                       //this.users_list._list.Items.Refresh();
                       //this.users_list._list.UpdateLayout();
                   }

                   item_generic_v2 i = find_item(username);
                   if (i == null) return;
                   ListBoxItem lbi = (ListBoxItem)(this.users_list._list.ItemContainerGenerator.ContainerFromItem(i));
                   if (highlight)
                   {
                       this.users_list._list.ScrollToCenterOfView(i);
                       i.Background = Brushes.Gray;
                       //double y = lbi.TransformToAncestor(Application.Current.MainWindow).Transform(new Point(0, 0)).Y;
                       double x = 0;
                       if (this.users_list._list.Tag != null)
                           x = (double)this.users_list._list.Tag;
                       window_manager.open_collection_window((string)i.title.Text, (int)i.Tag, 65, x + 30);//lbi.PointToScreen(new Point(0,0)).Y);
                   }
                   else
                       i.Background = Brushes.White;
               }));
        }
コード例 #10
0
ファイル: TabControlTests.cs プロジェクト: dfr0/moon
		public void SelectedIndex ()
		{
			TabItem item;
			TabControl tabcontrol = new TabControl ();

			Assert.AreEqual (null, tabcontrol.SelectedItem, "#1");
			Assert.AreEqual (null, tabcontrol.SelectedContent, "#2");
			Assert.AreEqual (-1, tabcontrol.SelectedIndex, "#3");

			item = new TabItem ();
			item.Header = new Rectangle { Width = 100, Height = 33, Fill = new SolidColorBrush (Colors.Red) };
			item.Content = new Rectangle { Width = 100, Height = 100, Fill = new SolidColorBrush (Colors.Black) };
			Assert.IsNull (item.Parent, "#4");
			tabcontrol.Items.Add (item);

			Assert.AreEqual (tabcontrol.Items [0], tabcontrol.SelectedItem, "#5");
			Assert.AreEqual (((TabItem) tabcontrol.Items [0]).Content, tabcontrol.SelectedContent, "#6");
			Assert.AreEqual (0, tabcontrol.SelectedIndex, "#7");
			Assert.AreSame (item.Parent, tabcontrol, "#8");

			item = new TabItem ();
			item.Header = new Rectangle { Width = 100, Height = 33, Fill = new SolidColorBrush (Colors.Green) };
			item.Content = new Rectangle { Width = 100, Height = 100, Fill = new SolidColorBrush (Colors.Brown) };
			tabcontrol.Items.Add (item);

			Assert.AreEqual (tabcontrol.Items [0], tabcontrol.SelectedItem, "#5b");
			Assert.AreEqual (((TabItem) tabcontrol.Items [0]).Content, tabcontrol.SelectedContent, "#6b");
			Assert.AreEqual (0, tabcontrol.SelectedIndex, "#7b");
			Assert.AreSame (item.Parent, tabcontrol, "#8b");

			item = new TabItem ();
			item.Header = new Rectangle { Width = 100, Height = 33, Fill = new SolidColorBrush (Colors.Blue) };
			item.Content = new Rectangle { Width = 100, Height = 100, Fill = new SolidColorBrush (Colors.Orange) };
			tabcontrol.Items.Add (item);
		}
コード例 #11
0
ファイル: SubNavigationButton.cs プロジェクト: ramteid/KoeTaf
 /// <summary>
 /// Konstruktor für eine Seite mit TabControl
 /// </summary>
 /// <param name="label">Titel der Seite</param>
 /// <param name="tabControl">anzuzeigender TabControl</param>
 public SubnavigationButton(string label, TabControl tabControl)
 {
     this.isTabControl = true;
     this.tabControl = tabControl;
     this.label = label;
     defineButton();
 }
コード例 #12
0
ファイル: DocUITabbed.cs プロジェクト: 00Green27/DocUI
 public DocUITabbed(XmlNode xmlNode, XmlSchemaAnnotated xsdNode, Panel contentpanel, Panel overlaypanel, DynamicForm parentForm)
     : base(xmlNode, xsdNode, contentpanel, overlaypanel, parentForm)
 {
     this.Sideways = true;
     _tabControl = new TabControl();
     this.Control = _tabControl;
     _optlist = new List<AbstractDocUIComponent>();
     XmlSchemaElement schemaEl = xsdNode as XmlSchemaElement;
     if (schemaEl != null)
     {
         XmlSchemaSequence seq = XmlSchemaUtilities.tryGetSequence(schemaEl.ElementSchemaType);
         if (seq != null)
         {
             foreach (XmlSchemaElement el in seq.Items)
             {
                 TabItem ti = new TabItem();
                 ti.Header = XmlSchemaUtilities.tryGetDocumentation(el); ;
                 Grid newpanel = new Grid();
                 ColumnDefinition cdnew1 = new ColumnDefinition();
                 cdnew1.Width = new GridLength(1, GridUnitType.Auto);
                 ColumnDefinition cdnew2 = new ColumnDefinition();
                 newpanel.ColumnDefinitions.Add(cdnew1);
                 newpanel.ColumnDefinitions.Add(cdnew2);
                 Utilities.recursive(el, xmlNode.SelectSingleNode(el.Name), newpanel, overlaypanel, (comp) =>
                 {
                     _optlist.Add(comp);
                     comp.placeOption();
                 }, parentForm);
                 ti.Content = newpanel;
                 this._tabControl.Items.Add(ti);
             }
         }
     }
 }
コード例 #13
0
ファイル: HtmlEditor.cs プロジェクト: liny4cn/ComBoost
        public HtmlEditor(WorkFrame frame)
            : base(frame)
        {
            Panel = new TabControl();
            Panel.Height = 640;

            TabItem editTab = new TabItem();
            editTab.Header = "编辑";
            TextBox textBox = new TextBox();
            textBox.DataContext = this;
            var binding = new Binding("Value");
            binding.Mode = BindingMode.TwoWay;
            textBox.SetBinding(TextBox.TextProperty, binding);
            editTab.Content = textBox;

            TabItem viewTab = new TabItem();
            viewTab.Header = "预览";
            Browser = new WebBrowser();
            viewTab.Content = Browser;

            Panel.Items.Add(editTab);
            Panel.Items.Add(viewTab);

            Panel.SelectionChanged += panel_SelectionChanged;

            Content = Panel;
        }
コード例 #14
0
ファイル: WebPartHost.xaml.cs プロジェクト: fuhongliang/oa
        //modify by 安凯航.2011年9月5日
        //如果radtileview有值则表示不进行初始化
        private void LoadWebPartData()
        {
            if (radtileview == null)
            {
                radtileview = new  TabControl();

                //radtileview.MinimizedColumnWidth = new GridLength(310);

                //RadTileViewItem item1 = new RadTileViewItem();
                //item1.TileState = TileViewItemState.Minimized;
                //item1.Header = "系统日志";
                //item1.Content = new SystemLogger();
                //radtileview.Items.Add(item1);

                TabItem item2 = new TabItem();
                //item2.TileState = TileViewItemState.Maximized;
                item2.Header = "待办任务";
                item2.Content = new SMT.SAAS.Platform.WebParts.Views.PendingTask();
                radtileview.Items.Add(item2);

                TabItem item5 = new TabItem();
                //item5.TileState = Panel.Minimized;
                item5.Header = "我的单据";
                item5.Content = new SMT.SAAS.Platform.WebParts.Views.MyRecord();
                radtileview.Items.Add(item5);

                //RadTileViewItem item3 = new RadTileViewItem();
                //item3.TileState = TileViewItemState.Minimized;
                //item3.Header = "消息提醒";
                //item3.Content = new SMT.SAAS.Platform.WebParts.Views.NoteRemind();
                //radtileview.Items.Add(item3);

                TabItem item4 = new TabItem();
                //item4.TileState = TileViewItemState.Minimized;
                item4.Header = "新闻动态";
                item4.Content = new SMT.SAAS.Platform.WebParts.Views.News();
                radtileview.Items.Add(item4);

                //CheckeDepends("SMT.SaaS.OA.UI");
                TabItem item6 = new TabItem();
                //item6.TileState = TileViewItemState.Minimized;
                item6.Header = "公司发文";
                item6.Content = new SMT.SAAS.Platform.WebParts.Views.OAWebPart();
                radtileview.Items.Add(item6);

                Root.Children.Add(radtileview);
            }
            else
            {
                foreach (TabItem item in radtileview.Items)
                {
                    IWebpart webPart = item.Content as IWebpart;
                    if (webPart != null)
                    {
                        webPart.Initialize();
                    }
                }
            }
        }
コード例 #15
0
 public static TabControl CreateTabControl()
 {
     TabControl tabControl = new TabControl();
     tabControl.HorizontalAlignment = HorizontalAlignment.Stretch;
     tabControl.VerticalAlignment = VerticalAlignment.Stretch;
     tabControl.Padding = new Thickness(2);
     return tabControl;
 }
コード例 #16
0
        public ScreenCollection(TabControl tabs, IEventAggregator events)
        {
            _tabs = tabs;
            _tabItems.OnMissing = screen => new StoryTellerTabItem(screen, events);

            // Sends a message when the user select a different tab on the screen
            _tabs.SelectionChanged += (s, c) => events.SendMessage<UserScreenActivation>();
        }
コード例 #17
0
        public void AdapterAssociatesSelectorWithRegion()
        {
            var control = new TabControl();
            IRegionAdapter adapter = new TestableTabControlRegionAdapter();

            IRegion region = adapter.Initialize(control, "region");
            Assert.IsNotNull(region);
        }
コード例 #18
0
 /// <summary>
 /// Adds the content for the container.
 /// </summary>
 private void CreateControls()
 {
     TreeTabIGroupGrid g = new TreeTabIGroupGrid();            
     this.container = new TabControl();
     this.container.Name = "TabContainer";
     g.Children.Add(this.container);
     this.Content = g;
 }
コード例 #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabcontrolMasteryPages = ((System.Windows.Controls.TabControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #20
0
        public Settings(App application,MainWindow Owner)
            : base(Owner,application.Language.Settings)
        {
            BrdrBrush=new SolidColorBrush
            (
            Color.FromRgb(172,172,172)
            );
            app=application;
            WindowOwner=Owner;
            MinHeight=344;
            MaxHeight=MinHeight;
            MinWidth=376;
            MaxWidth=MinWidth;
            Icon=ImageConverter.IconToBitmapFrame(CW.Properties.Resources.Parameters);
            ShowInTaskbar=false;
            Grid1=new Grid()
            {
            Margin=new Thickness(0,0,0,ButtonBarHeight)
            };
            TabControl1=new TabControl()
            {
            HorizontalAlignment=HorizontalAlignment.Stretch,
            VerticalAlignment=VerticalAlignment.Stretch,
            Margin=new Thickness(7,6,7,0)
            };
            CreateTabCommon();
            CreateTabBehavior();
            Grid1.Children.Add(TabControl1);
            Content=Grid1;

            // Bar initialization

            // Hidding separator which locates on the top of the bar
            ButtonBarSeparatorVisibility=Visibility.Hidden;

            // Creating button OK on the bar
            CreateBarButton
            (
            "ButtonOK",
            new Thickness(0,0,110,0),
            "OK",
            true
            );

            // Creating button Default on the bar
            CreateBarButton
            (
            "ButtonDefault",
            new Thickness(0,0,10,0),
            app.Language.Default,
            false
            );

            //

            SourceInitialized+=SettingsWindowSourceInitialized;
        }
コード例 #21
0
ファイル: ViewPlacer.cs プロジェクト: brentedwards/MvvmFabric
        public ViewPlacer(Window appWindow, TabControl mainTabControl)
        {
            MainTabControl = mainTabControl;

            MessageBus = ComponentContainer.Container.Resolve<IMessageBus>();
            MessageBus.Subscribe<CloseViewMessage>(HandleCloseView);

            ModalViewPlacer = new ModalViewPlacer(appWindow, MessageBus);
        }
コード例 #22
0
 public ReplToolWindow(TabControl replManager)
     : base(null)
 {
     _replManager = replManager;
     Caption = "Repl Manager";
     BitmapResourceID = 301;
     BitmapIndex = 1;
     base.Content = _replManager;
 }
コード例 #23
0
 private void AddCustomTab(TabControl parentTabControl, string name, Grid grid)
 {
     TabItem tabItem = new TabItem();
     tabItem.Header = name;
     tabItem.Height = 50;
     tabItem.Content = grid;
     CopyFontData(tabItem1, tabItem);
     parentTabControl.Items.Add(tabItem);
 }
コード例 #24
0
		internal void Init(Frame navigationFrame, TabControl mainTabControl)
		{
			m_Frame = navigationFrame;
			m_Frame.Navigated += OnNavigated;
			m_Frame.NavigationFailed += OnNavigationFailed;
			m_MainTabControl = mainTabControl;
			m_IgnoreNavigate = false;
			m_QueryStringProcessed = false;
		}
コード例 #25
0
 public UserControl1(TabControl _tabcontrol1, Playlist _playlist)
 {
     InitializeComponent();
     _sunccontext = SynchronizationContext.Current;
     tabcontrol1 = _tabcontrol1;
     tp = new ThreadParams() { player = this, command = PlayingCommand.Stop, playlist = _playlist, isTerminate = false, doStep = 0 };
     th.IsBackground = true;
     th.Start(tp);
 }
コード例 #26
0
ファイル: MainTabs.g.cs プロジェクト: CarlosVV/mediavf
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MediaVF.Web.BandedTogether.UI;component/MainTabs.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainTabsControl = ((System.Windows.Controls.TabControl)(this.FindName("MainTabsControl")));
 }
コード例 #27
0
        public void AdapterAssociatesSelectorWithRegion()
        {
            var control = new TabControl();
            IRegionAdapter adapter = new TestableSelectorRegionAdapter();

            IRegion region = adapter.Initialize(control);
            Assert.IsNotNull(region);

            Assert.AreSame(control.ItemsSource, region.Views);
        }
コード例 #28
0
ファイル: SupplierView.g.cs プロジェクト: felixthehat/Limo
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Supplier.Silverlight;component/Silverlight/SupplierView.xam" +
                 "l", System.UriKind.Relative));
     this.btnClose = ((System.Windows.Controls.Button)(this.FindName("btnClose")));
     this.tabControl = ((System.Windows.Controls.TabControl)(this.FindName("tabControl")));
 }
コード例 #29
0
        // Constructor.

        public MainWindow()
        {
            InitializeComponent();
            StorageViewsTabControl = StorageViews;
            Accounts = new List<AzureAccount>();
            CenterWindowOnScreen();
            LoadAccountList();
            LoadContentTypes();
            DisplayAccountList();
        }
コード例 #30
0
        public static void init()
        {
            TabControl Tb = new TabControl();
            Tb.Name = "TabManager";

            Globals.UIElements.Add(Tb.Name, Tb);
            Blur.init();
            ContentAwareResize.init();
            ImageProcOp.init();
        }
コード例 #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 1 "..\..\MainWindow.xaml"
                ((WAS_English_Sindhi.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\MainWindow.xaml"
                this.searchBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.searchBox_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\MainWindow.xaml"
                this.searchButton.Click += new System.Windows.RoutedEventHandler(this.searchButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.indexBox = ((System.Windows.Controls.ListBox)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.indexBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.indexBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.soundIcon = ((System.Windows.Controls.Image)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.soundIcon.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

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

            case 9:
                this.en_sin_tab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.en_sin_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:
                this.cbank_tab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.cbank_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.geog_sin_tab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 14:
                this.geog_sin_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:
                this.off_term_tab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this.off_term_list = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #32
0
ファイル: VentanaMenu.g.i.cs プロジェクト: RodrigoYH/Gemaf
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Ventanas\VentanaMenu.xaml"
                ((GEMAF.VentanaMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\Ventanas\VentanaMenu.xaml"
                ((GEMAF.VentanaMenu)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnCatalogo.Click += new System.Windows.RoutedEventHandler(this.BtnCatalogo_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnPrestamos.Click += new System.Windows.RoutedEventHandler(this.BtnPrestamos_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnTabletas.Click += new System.Windows.RoutedEventHandler(this.BtnTabletas_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnUsuarios.Click += new System.Windows.RoutedEventHandler(this.BtnUsuarios_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnCerrarSesion.Click += new System.Windows.RoutedEventHandler(this.BtnCerrarSesion_Click);

            #line default
            #line hidden
                return;

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

            case 9:
                this.dgvCatalogo = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.cmbLibrosPeliculas = ((System.Windows.Controls.ComboBox)(target));

            #line 36 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.cmbLibrosPeliculas.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbLibrosPeliculas_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txtBusquedaCatalogo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 50 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnNuevoArt.Click += new System.Windows.RoutedEventHandler(this.BtnNuevoArt_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnModificarArtículo = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnModificarArtículo.Click += new System.Windows.RoutedEventHandler(this.BtnModificarArtículo_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnElliminarArt.Click += new System.Windows.RoutedEventHandler(this.BtnElliminarArt_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.cmbOpcionesBusqueda = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 61 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnBusquedaRapidaCatalogo.Click += new System.Windows.RoutedEventHandler(this.BtnBusquedaRapidaCatalogo_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.dgvPrestamos = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 21:
                this.cmbEstatusPrestamos = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 23:
                this.dtpFecha1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 24:
                this.dtpFecha2 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 25:
                this.label2_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 94 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnNuevoPrestamo.Click += new System.Windows.RoutedEventHandler(this.BtnNuevoPrestamo_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnDevolucionArticulo.Click += new System.Windows.RoutedEventHandler(this.BtnDevolucionArticulo_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnPrestamoSala.Click += new System.Windows.RoutedEventHandler(this.BtnPrestamoSala_Click);

            #line default
            #line hidden
                return;

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

            case 31:
                this.dgvTabletas = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 103 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnAsignarTableta.Click += new System.Windows.RoutedEventHandler(this.BtnAsignarTableta_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnFinalizarPrestamoTableta.Click += new System.Windows.RoutedEventHandler(this.BtnFinalizarPrestamo_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.lbMatricula = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.txtMatricula = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.lbNombre = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.txtNombre = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.lbApellidos = ((System.Windows.Controls.Label)(target));
                return;

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

            case 40:
                this.lbNivelCurso = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.txtNivelCurso = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.lbPenalizacion = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.txtNoSancion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.btnAutorizarTableta = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnAutorizarTableta.Click += new System.Windows.RoutedEventHandler(this.BtnAutorizarTableta_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnBuscarUsuarioTableta.Click += new System.Windows.RoutedEventHandler(this.BtnBuscarUsuarioTableta_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.btnHistorialTableta = ((System.Windows.Controls.Button)(target));

            #line 117 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnHistorialTableta.Click += new System.Windows.RoutedEventHandler(this.BtnHistorialTableta_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btnCancelarOperacionTableta = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnCancelarOperacionTableta.Click += new System.Windows.RoutedEventHandler(this.BtnCancelarOperacionTableta_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.lbPenalizacion_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.txtInhabilitado = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.btnNuevaTableta = ((System.Windows.Controls.Button)(target));

            #line 121 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnNuevaTableta.Click += new System.Windows.RoutedEventHandler(this.BtnNuevaTableta_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnModificarTableta = ((System.Windows.Controls.Button)(target));

            #line 122 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnModificarTableta.Click += new System.Windows.RoutedEventHandler(this.BtnModificarTableta_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.dataGrid2 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 53:
                this.cmbTiposUsuarios = ((System.Windows.Controls.ComboBox)(target));

            #line 128 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.cmbTiposUsuarios.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTiposUsuarios_SelectionChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.txtBusquedaUsuarios = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.label1_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.btnAgregarUsuario = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnAgregarUsuario.Click += new System.Windows.RoutedEventHandler(this.BtnAgregarUsuario_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btnModificarUsuario = ((System.Windows.Controls.Button)(target));

            #line 136 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnModificarUsuario.Click += new System.Windows.RoutedEventHandler(this.BtnModificarUsuario_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.btnEliminarUsuario = ((System.Windows.Controls.Button)(target));

            #line 137 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnEliminarUsuario.Click += new System.Windows.RoutedEventHandler(this.BtnEliminarUsuario_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.btnBusquedaRapidaUsuarios = ((System.Windows.Controls.Button)(target));
                return;

            case 61:
                this.label1_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.cmbOpcionesBusquedaUsuarios = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 63:
                this.btnLimpiarSancion = ((System.Windows.Controls.Button)(target));

            #line 148 "..\..\..\Ventanas\VentanaMenu.xaml"
                this.btnLimpiarSancion.Click += new System.Windows.RoutedEventHandler(this.BtnLimpiarSancion_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 65:
                this.txtUsuarioLogueado = ((System.Windows.Controls.TextBox)(target));
                return;

            case 66:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((Wireframe_GUI.MainWindow)(target)).Activated += new System.EventHandler(this.window_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\MainWindow.xaml"
                this.prefixCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.prefixCombo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\MainWindow.xaml"
                this.playVideoBtn.Click += new System.Windows.RoutedEventHandler(this.playfullBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 111 "..\..\MainWindow.xaml"
                this.showGraphBtn.Click += new System.Windows.RoutedEventHandler(this.showGraphBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.showCompGraphBtn.Click += new System.Windows.RoutedEventHandler(this.showCompGraphBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\MainWindow.xaml"
                this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.saveBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\MainWindow.xaml"
                this.exportBtn.Click += new System.Windows.RoutedEventHandler(this.exportBtn_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tabCtrl = ((System.Windows.Controls.TabControl)(target));

            #line 120 "..\..\MainWindow.xaml"
                this.tabCtrl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tab_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.dataTable = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 13:
                this.timeCol = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.audioLblCol = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.attnLblCol = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.screenCol = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 17:
                this.commentCol = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.notesCol = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WelcomeWindow = ((sungrow_demo.SysConfig)(target));

            #line 4 "..\..\..\SysConfig.xaml"
                this.WelcomeWindow.Loaded += new System.Windows.RoutedEventHandler(this.WelcomeWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 6 "..\..\..\SysConfig.xaml"
                this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tabPlants = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 14 "..\..\..\SysConfig.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.plantsList1 = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 10:
                this.label36 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label47 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 24 "..\..\..\SysConfig.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\SysConfig.xaml"
                this.btnReStart.Click += new System.Windows.RoutedEventHandler(this.btnReStart_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.plantsList = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:
                this.grolbaConfig = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 20:
                this.tbxmainpageinterval = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.tbxheight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.tbxtipsinterval = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.tbxdetailinterval = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 29:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.pboxpwd = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 43 "..\..\..\SysConfig.xaml"
                this.btnloadplants.Click += new System.Windows.RoutedEventHandler(this.btnloadplants_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

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

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.submit.Click += new System.Windows.RoutedEventHandler(this.BtnSubmit);

            #line default
            #line hidden
                return;

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

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

            #line 20 "..\..\MainWindow.xaml"
                this.TxtEmail.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.EmailValidationTextBox);

            #line default
            #line hidden
                return;

            case 9:
                this.DataSupplier = ((System.Windows.Controls.DataGrid)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.DataSupplier.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataSupplier_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.update.Click += new System.Windows.RoutedEventHandler(this.update_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.remove.Click += new System.Windows.RoutedEventHandler(this.remove_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.btnRefSupplier.Click += new System.Windows.RoutedEventHandler(this.btnRefSupplier_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.IdItem = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.TxtIdItem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.NameItem = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.TxtNameItem = ((System.Windows.Controls.TextBox)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.TxtNameItem.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NameValidationTextBox);

            #line default
            #line hidden
                return;

            case 17:
                this.PriceItem = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 42 "..\..\MainWindow.xaml"
                this.TxtPriceItem.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 19:
                this.StockItem = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.TxtStockItem = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.TxtStockItem.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.SubmitItem.Click += new System.Windows.RoutedEventHandler(this.SubmitItem_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.DataItem = ((System.Windows.Controls.DataGrid)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.DataItem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataItem_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\MainWindow.xaml"
                this.updateItem.Click += new System.Windows.RoutedEventHandler(this.updateItem_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.removeItem.Click += new System.Windows.RoutedEventHandler(this.removeItem_Click);

            #line default
            #line hidden
                return;

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

            case 26:
                this.SupplierList = ((System.Windows.Controls.ComboBox)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.SupplierList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SupplierList_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\MainWindow.xaml"
                this.btnRefItem.Click += new System.Windows.RoutedEventHandler(this.btnRefItem_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.listItem = ((System.Windows.Controls.ListBox)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.listItem.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listItem_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.dataCart = ((System.Windows.Controls.DataGrid)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.dataCart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataCart_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 32:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.txtStockShop = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.txtPriceShop = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.btnAddCart = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.btnAddCart.Click += new System.Windows.RoutedEventHandler(this.btnAddCart_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.txtQuantityShop = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.txtQuantityShop.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 39:
                this.btnRemoveShop = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 40:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.txtTotalPrice = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 85 "..\..\MainWindow.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.BtnSubmit_Click);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\MainWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.BtnClear_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.txtPay = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.TxtChangeOld = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 46:
                this.TxtChangeNew = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 47:
                this.TxtChangeConfirm = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 48:
                this.BtnChangePassword = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.BtnChangePassword.Click += new System.Windows.RoutedEventHandler(this.BtnChangePassword_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.TabUser = ((System.Windows.Controls.TabItem)(target));
                return;

            case 50:
                this.TxtUserNameUser = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.TxtEmailUser = ((System.Windows.Controls.TextBox)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.TxtEmailUser.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.EmailValidationTextBox);

            #line default
            #line hidden
                return;

            case 52:
                this.BtnRegister = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.BtnRegister.Click += new System.Windows.RoutedEventHandler(this.BtnRegister_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.DataGridUsers = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 54:
                this.RoleList = ((System.Windows.Controls.ComboBox)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.RoleList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoleList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.BtnLogout = ((System.Windows.Controls.Button)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.BtnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.buttonClose = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.buttonMinimize.Click += new System.Windows.RoutedEventHandler(this.buttonMinimize_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.textBoxWidth_Mulch = ((System.Windows.Controls.TextBox)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.textBoxWidth_Mulch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxWidth_Mulch_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.textBoxLength_Mulch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxLength_Mulch_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.textBoxArea_Mulch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.comboBoxDepth_Mulch = ((System.Windows.Controls.ComboBox)(target));

            #line 85 "..\..\MainWindow.xaml"
                this.comboBoxDepth_Mulch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxDepth_Mulch_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\MainWindow.xaml"
                this.buttonCalculate_Mulch.Click += new System.Windows.RoutedEventHandler(this.buttonCalculate_Mulch_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.textBoxResult_Mulch = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 11:
                this.label2Bags = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.label3Bags = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.textBoxWidth_GC = ((System.Windows.Controls.TextBox)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.textBoxWidth_GC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxWidth_GC_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.textBoxLength_GC = ((System.Windows.Controls.TextBox)(target));

            #line 140 "..\..\MainWindow.xaml"
                this.textBoxLength_GC.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxLength_GC_TextChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.textBoxArea_GC = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.IntUpDown_GC = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 146 "..\..\MainWindow.xaml"
                this.buttonCalculate_GC.Click += new System.Windows.RoutedEventHandler(this.buttonCalculate_GC_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.textBoxPlants_S = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.textBoxPlants_T = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.textBoxGPCP_S = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.textBoxGPCP_T = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.textBoxFlats_S = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.textBoxFlats_T = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\TaskOptions.xaml"
                ((GDS_SERVER_WPF.TaskOptions)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\TaskOptions.xaml"
                ((GDS_SERVER_WPF.TaskOptions)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            case 6:
                this.groupBoxTaskSteps = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.checkBoxCloning = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.checkBoxSOFA = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.checkBoxSOFAWinpe = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.groupBoxTargetMachines = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.listBoxTargetComputers = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 78 "..\..\TaskOptions.xaml"
                this.buttonBrowse.Click += new System.Windows.RoutedEventHandler(this.buttonBrowseComputers_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\TaskOptions.xaml"
                this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.buttonClear_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.labelMachineGroup = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.labelNumberOfMachines = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.labelMachineGroupContent = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.groupBoxTaskOptions = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.checkBoxWakeOnLan = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.checkBoxShutdown = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.checkBoxConfiguration = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.checkBoxForceInstall = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.slider = ((System.Windows.Controls.Slider)(target));
                return;

            case 23:
                this.labelWaitingTime = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.labelWaitingTimeCount = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.labelError = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 27:
                this.checkBoxWithoutVHD = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 136 "..\..\TaskOptions.xaml"
                this.buttonBaseBrowseImage.Click += new System.Windows.RoutedEventHandler(this.buttonBaseBrowseImage_Click);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\TaskOptions.xaml"
                this.buttonBaseClear.Click += new System.Windows.RoutedEventHandler(this.buttonBaseClear_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.groupBox_Copy = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 32:
                this.textBoxDriveEImage = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 151 "..\..\TaskOptions.xaml"
                this.buttonDriveEBrowseImage.Click += new System.Windows.RoutedEventHandler(this.buttonDriveEBrowseImage_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.buttonDriveEClear = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\TaskOptions.xaml"
                this.buttonDriveEClear.Click += new System.Windows.RoutedEventHandler(this.buttonDriveEClear_Click);

            #line default
            #line hidden
                return;

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

            case 36:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 37:
                this.listBoxCopyFilesInOS = ((System.Windows.Controls.ListBox)(target));

            #line 178 "..\..\TaskOptions.xaml"
                this.listBoxCopyFilesInOS.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listBoxCopyFilesInOS_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 38:
                this.textBoxDestinationFolderInOS = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.buttonFilesInOS = ((System.Windows.Controls.Button)(target));

            #line 181 "..\..\TaskOptions.xaml"
                this.buttonFilesInOS.Click += new System.Windows.RoutedEventHandler(this.buttonFilesInOS_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.buttonFolderInOS = ((System.Windows.Controls.Button)(target));
                return;

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

            case 42:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 43:
                this.richTextBoxCommandsInOS = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            case 45:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 46:
                this.listBoxCopyFilesInWINPE = ((System.Windows.Controls.ListBox)(target));

            #line 212 "..\..\TaskOptions.xaml"
                this.listBoxCopyFilesInWINPE.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listBoxCopyFilesInWINPE_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 47:
                this.textBoxDestinationFolderInWINPE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.buttonFilesInWINPE = ((System.Windows.Controls.Button)(target));

            #line 215 "..\..\TaskOptions.xaml"
                this.buttonFilesInWINPE.Click += new System.Windows.RoutedEventHandler(this.buttonFilesInWINPE_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.buttonFolderInWINPE = ((System.Windows.Controls.Button)(target));
                return;

            case 50:
                this.buttonClearInWINPE = ((System.Windows.Controls.Button)(target));
                return;

            case 51:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 52:
                this.richTextBoxCommandsInWINPE = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 53:
                this.buttonExecute = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\TaskOptions.xaml"
                this.buttonExecute.Click += new System.Windows.RoutedEventHandler(this.buttonExecute_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.buttonSave = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\TaskOptions.xaml"
                this.buttonSave.Click += new System.Windows.RoutedEventHandler(this.buttonSave_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.buttonClose = ((System.Windows.Controls.Button)(target));

            #line 228 "..\..\TaskOptions.xaml"
                this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.generalGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.generalTabControl = ((System.Windows.Controls.TabControl)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.generalTabControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.GeneralTabControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.myTasks = ((System.Windows.Controls.TabItem)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.myTasks.AddHandler(System.Windows.Controls.Primitives.Selector.SelectedEvent, new System.Windows.RoutedEventHandler(this.MyTasks_Selected));

            #line default
            #line hidden
                return;

            case 4:
                this.callCenter = ((System.Windows.Controls.TabItem)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.callCenter.AddHandler(System.Windows.Controls.Primitives.Selector.SelectedEvent, new System.Windows.RoutedEventHandler(this.CallCenter_Selected));

            #line default
            #line hidden
                return;

            case 5:
                this.hotLine = ((System.Windows.Controls.TabItem)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.hotLine.AddHandler(System.Windows.Controls.Primitives.Selector.SelectedEvent, new System.Windows.RoutedEventHandler(this.HotLine_Selected));

            #line default
            #line hidden
                return;

            case 6:
                this.voiceMail = ((System.Windows.Controls.TabItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.voiceMail.AddHandler(System.Windows.Controls.Primitives.Selector.SelectedEvent, new System.Windows.RoutedEventHandler(this.VoiceMail_Selected));

            #line default
            #line hidden
                return;

            case 7:
                this.debugText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.loginGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.LoginInput = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 53 "..\..\MainWindow.xaml"
                this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\src\ui\GuideWindow.xaml"
                ((RemotePLC.src.ui.GuideWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 11 "..\..\..\..\src\ui\GuideWindow.xaml"
                ((RemotePLC.src.ui.GuideWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 70 "..\..\..\..\src\ui\GuideWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 71 "..\..\..\..\src\ui\GuideWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 72 "..\..\..\..\src\ui\GuideWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));

            #line 79 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.deviceTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 104 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnDeviceNextStep.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.deviceList = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 132 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnDeviceRefresh.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.comTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 154 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnVComLastStep.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.connectionTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 13:
                this.dtuiptext = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.plciptext = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.plcporttext = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.vcomlist = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 196 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnVComAdd.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 197 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnVComDel.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 198 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnVComDelAll.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 205 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnVComNextStep.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.runTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 225 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnConnectionLastStep.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.textDtuSn = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.textConnectionStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 249 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnConnectionTest.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.netInfoGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.textLocalIp = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 29:
                this.vcomInfoGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.textVComName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 279 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnStartService.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 285 "..\..\..\..\src\ui\GuideWindow.xaml"
                this.btnStopService.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBar = ((System.Windows.Controls.DockPanel)(target));

            #line 26 "..\..\Vaccin.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\Vaccin.xaml"
                this.close.Click += new System.Windows.RoutedEventHandler(this.close_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\Vaccin.xaml"
                this.maximize.Click += new System.Windows.RoutedEventHandler(this.maximize_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.maximize_img = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 37 "..\..\Vaccin.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.minimize_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 7:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 48 "..\..\Vaccin.xaml"
                this.update.Click += new System.Windows.RoutedEventHandler(this.update_Click);

            #line default
            #line hidden
                return;

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

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

            #line 52 "..\..\Vaccin.xaml"
                this.cauta.Click += new System.Windows.RoutedEventHandler(this.cauta_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cautareBox = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\Vaccin.xaml"
                this.cautareBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.cautareBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\Vaccin.xaml"
                this.btn_meniu.Click += new System.Windows.RoutedEventHandler(this.btn_meniu_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lbTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.spRentRoomInfo = ((System.Windows.Controls.StackPanel)(target));

            #line 12 "..\..\CheckOutWindow.xaml"
                this.spRentRoomInfo.Loaded += new System.Windows.RoutedEventHandler(this.spRentRoomInfo_Loaded);

            #line default
            #line hidden
                return;

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

            case 4:
                this.tbRoomID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.tbRenterName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.tbTel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.tbPrice = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.tbDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.tcUSDDetails = ((System.Windows.Controls.TabControl)(target));
                return;

            case 10:
                this.dgUSDDetails = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:
                this.tbTotalPrice = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 55 "..\..\CheckOutWindow.xaml"
                this.btnCheckOutRentRoom.Click += new System.Windows.RoutedEventHandler(this.btnCheckOutRentRoom_Click);

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

            #line 12 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewExecuted);

            #line default
            #line hidden

            #line 12 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NewCanExecute);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenExecuted);

            #line default
            #line hidden

            #line 13 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanExecute);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden

            #line 14 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 15 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveExecuted);

            #line default
            #line hidden

            #line 15 "..\..\..\..\MainWindow\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SaveCanExecute);

            #line default
            #line hidden
                return;

            case 5:
                this.MainToolBar = ((TraceWizard.TwApp.MainToolBar)(target));
                return;

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

            case 7:
                this.TabControl = ((System.Windows.Controls.TabControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.setCurrentUserGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.inputUserTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.inputUserTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.listBox = ((System.Windows.Controls.ListBox)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.listBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.friendsDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 9:
                this.nameTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.nameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.nameTextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 11:
                this.starsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 14:
                this.yelpSinceTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.funnyTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.usefulTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.tipCountTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 23:
                this.totalTipLikesTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label5_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.latTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.longLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.longTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 42 "..\..\MainWindow.xaml"
                this.editLocationButton.Click += new System.Windows.RoutedEventHandler(this.editLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\MainWindow.xaml"
                this.updateLocationButton.Click += new System.Windows.RoutedEventHandler(this.updateLocationButton_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 32:
                this.friendsTipsDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.friendRecommendationsButton.Click += new System.Windows.RoutedEventHandler(this.friendRecommendationsButton_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 35:
                this.StateList = ((System.Windows.Controls.ComboBox)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.StateList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StateList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.State = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.CityList = ((System.Windows.Controls.ComboBox)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.CityList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CityList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.City = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.ZipList = ((System.Windows.Controls.ComboBox)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.ZipList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ZipList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.Zip = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 42:
                this.categorylistBox = ((System.Windows.Controls.ListBox)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.categorylistBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.categorylistBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.addCatButton.Click += new System.Windows.RoutedEventHandler(this.addCatButton_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.removeCatButton = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.removeCatButton.Click += new System.Windows.RoutedEventHandler(this.removeCatButton_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.categorySelectedListBox = ((System.Windows.Controls.ListBox)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.categorySelectedListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.categorylistBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.searchBusinessesButton = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.searchBusinessesButton.Click += new System.Windows.RoutedEventHandler(this.searchBusinessesButton_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.groupBox5 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 48:
                this.businessGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.businessGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.businessGrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.numOfBusinesses = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.groupBox6 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 51:
                this.BusNameTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.addresseBusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.hoursBusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.showReviewsButton = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.showReviewsButton.Click += new System.Windows.RoutedEventHandler(this.showReviewsButton_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.showTipsButton = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.showTipsButton.Click += new System.Windows.RoutedEventHandler(this.showTipsButton_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.groupBox7 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 57:
                this.twoMoneyBox = ((System.Windows.Controls.CheckBox)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.twoMoneyBox.Click += new System.Windows.RoutedEventHandler(this.twoMoneyBox_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.oneMoneyBox = ((System.Windows.Controls.CheckBox)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.oneMoneyBox.Click += new System.Windows.RoutedEventHandler(this.oneMoneyBox_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.label7_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 61:
                this.threeMoneyBox = ((System.Windows.Controls.CheckBox)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.threeMoneyBox.Click += new System.Windows.RoutedEventHandler(this.threeMoneyBox_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.label7_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.fourMoneyBox = ((System.Windows.Controls.CheckBox)(target));

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

            #line default
            #line hidden
                return;

            case 64:
                this.label7_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.groupBox8 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 66:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 67:
                this.label8_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 68:
                this.label8_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 69:
                this.acceptsCardBox = ((System.Windows.Controls.CheckBox)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.acceptsCardBox.Click += new System.Windows.RoutedEventHandler(this.acceptsCardBox_Click);

            #line default
            #line hidden
                return;

            case 70:
                this.takesReservBox = ((System.Windows.Controls.CheckBox)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.takesReservBox.Click += new System.Windows.RoutedEventHandler(this.takesReservBox_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.wheelchairBox = ((System.Windows.Controls.CheckBox)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.wheelchairBox.Click += new System.Windows.RoutedEventHandler(this.wheelchairBox_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.label8_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 73:
                this.outdoorSeatingBox = ((System.Windows.Controls.CheckBox)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.outdoorSeatingBox.Click += new System.Windows.RoutedEventHandler(this.outdoorSeatingBox_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.label8_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 75:
                this.kidsBox = ((System.Windows.Controls.CheckBox)(target));

            #line 94 "..\..\MainWindow.xaml"
                this.kidsBox.Click += new System.Windows.RoutedEventHandler(this.kidsBox_Click);

            #line default
            #line hidden
                return;

            case 76:
                this.label8_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.groupsBox = ((System.Windows.Controls.CheckBox)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.groupsBox.Click += new System.Windows.RoutedEventHandler(this.groupsBox_Click);

            #line default
            #line hidden
                return;

            case 78:
                this.label8_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 79:
                this.deliveryBox = ((System.Windows.Controls.CheckBox)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.deliveryBox.Click += new System.Windows.RoutedEventHandler(this.deliveryBox_Click);

            #line default
            #line hidden
                return;

            case 80:
                this.label8_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 81:
                this.takeOutBox = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.takeOutBox.Click += new System.Windows.RoutedEventHandler(this.takeOutBox_Click);

            #line default
            #line hidden
                return;

            case 82:
                this.label8_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 83:
                this.wifiBox = ((System.Windows.Controls.CheckBox)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.wifiBox.Click += new System.Windows.RoutedEventHandler(this.wifiBox_Click);

            #line default
            #line hidden
                return;

            case 84:
                this.label8_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 85:
                this.bikeParkingBox = ((System.Windows.Controls.CheckBox)(target));

            #line 104 "..\..\MainWindow.xaml"
                this.bikeParkingBox.Click += new System.Windows.RoutedEventHandler(this.bikeParkingBox_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.selectedBusinessDetailsListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 87:
                this.groupBox10 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 88:
                this.sortResultsList = ((System.Windows.Controls.ComboBox)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.sortResultsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.sortResultsList_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

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

            case 3:
                this.label_CategoryName = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 88 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseDoubleClick);

            #line default
            #line hidden

            #line 89 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseDown);

            #line default
            #line hidden

            #line 90 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.dataGrid_MouseEnter);

            #line default
            #line hidden

            #line 91 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.dataGrid_MouseLeave);

            #line default
            #line hidden

            #line 92 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 93 "..\..\..\Browser\DockPanel.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.dataGridHistory = ((System.Windows.Controls.DataGrid)(target));

            #line 154 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGridHistory_MouseDoubleClick);

            #line default
            #line hidden

            #line 155 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGridHistory_MouseDown);

            #line default
            #line hidden

            #line 156 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.MouseEnter += new System.Windows.Input.MouseEventHandler(this.dataGridHistory_MouseEnter);

            #line default
            #line hidden

            #line 157 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.MouseLeave += new System.Windows.Input.MouseEventHandler(this.dataGridHistory_MouseLeave);

            #line default
            #line hidden

            #line 158 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dataGridHistory_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 159 "..\..\..\Browser\DockPanel.xaml"
                this.dataGridHistory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridHistory_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\..\MainWindow.xaml"
                ((SolarSolution.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Loaded_Windows);

            #line default
            #line hidden
                return;

            case 2:

            #line 29 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ContactBtn);

            #line default
            #line hidden
                return;

            case 3:

            #line 30 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.marshousebtn);

            #line default
            #line hidden
                return;

            case 4:

            #line 31 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.databtn);

            #line default
            #line hidden
                return;

            case 5:

            #line 32 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExistBtn);

            #line default
            #line hidden
                return;

            case 6:
                this.TabControlGeneral = ((System.Windows.Controls.TabControl)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.TabControlGeneral.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabSelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.tab1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:

            #line 111 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 9:

            #line 112 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 10:

            #line 113 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.RankTable = ((System.Windows.Documents.Table)(target));
                return;

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

            case 13:
                this.DiaChiTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.tab2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.VNDtxt1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.thapdiemtxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.VNDtxt2 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 19:
                this.VNDtxt3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.caodiemtxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.thapdiemlb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.trungbinhlb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.Caodiemlb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.tab3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.SoKWpLapDatTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.kinhphitxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.khuvucComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 200 "..\..\..\MainWindow.xaml"
                this.khuvucComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.khuvuctxtbox_Changed);

            #line default
            #line hidden
                return;

            case 28:
                this.SogioNangTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.tab4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 30:
                this.giabantxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.tanggiatxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.suygiamcongsuat1txt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.suygiamcongsuattxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.tuoithotxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.tab5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 36:
                this.XemBaoCaoBtn = ((System.Windows.Controls.Button)(target));

            #line 501 "..\..\..\MainWindow.xaml"
                this.XemBaoCaoBtn.Click += new System.Windows.RoutedEventHandler(this.XemBaoCaoBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 524 "..\..\..\MainWindow.xaml"
                this.PreviousBtn.Click += new System.Windows.RoutedEventHandler(this.PreviousBtn_clicked);

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\..\MainWindow.xaml"
                this.NextBtn.Click += new System.Windows.RoutedEventHandler(this.NextBtn_clicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #46
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcDevisComplementaire.xaml", System.UriKind.Relative));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CancelButton            = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.tabControl_Consultation = ((System.Windows.Controls.TabControl)(this.FindName("tabControl_Consultation")));
     this.tabItemDevis            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDevis")));
     this.Gbo_PieceJointe         = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     this.Gbo_InformationDevis    = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     this.lbl_Site                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Site")));
     this.Txt_NumeroDevis             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumeroDevis")));
     this.lbl_Devis                   = ((System.Windows.Controls.Label)(this.FindName("lbl_Devis")));
     this.Txt_Ordre                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
     this.Txt_LibelleSite             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleSite")));
     this.lbl_Centre                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre")));
     this.Txt_LibelleCentre           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCentre")));
     this.Txt_LibelleProduit          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleProduit")));
     this.lbl_Produit                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit")));
     this.Txt_LibelleTypeDevis        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTypeDevis")));
     this.Txt_EtapeCourante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeCourante")));
     this.Txt_EtapeSuivante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeSuivante")));
     this.lbl_TypeDevis               = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeDevis")));
     this.lbl_EtapeEnCours            = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeEnCours")));
     this.lbl_EtapeSuivante           = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeSuivante")));
     this.lbl_Motif                   = ((System.Windows.Controls.Label)(this.FindName("lbl_Motif")));
     this.Txt_Motif                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Motif")));
     this.cbo_typedoc_Copy            = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc_Copy")));
     this.dgListePiece                = ((System.Windows.Controls.DataGrid)(this.FindName("dgListePiece")));
     this.cbo_typedoc                 = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc")));
     this.Txt_Client                  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Client")));
     this.lbl_Produit_Copy            = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit_Copy")));
     this.tabItemDemandeur            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDemandeur")));
     this.Gbo_InformationDemandeDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDemandeDevis")));
     this.lbl_Nom                      = ((System.Windows.Controls.Label)(this.FindName("lbl_Nom")));
     this.Txt_NomClient                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lab_Tournee                  = ((System.Windows.Controls.Label)(this.FindName("lab_Tournee")));
     this.lbl_CategorieClient          = ((System.Windows.Controls.Label)(this.FindName("lbl_CategorieClient")));
     this.lbl_Telephone                = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone")));
     this.txt_Telephone                = ((System.Windows.Controls.TextBox)(this.FindName("txt_Telephone")));
     this.lbl_NumLot                   = ((System.Windows.Controls.Label)(this.FindName("lbl_NumLot")));
     this.txt_NumLot                   = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumLot")));
     this.lbl_Piece                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Piece")));
     this.lbl_Commune                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Commune")));
     this.lbl_Quartier                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Quartier")));
     this.txt_Quartier                 = ((System.Windows.Controls.TextBox)(this.FindName("txt_Quartier")));
     this.lbl_Rue                      = ((System.Windows.Controls.Label)(this.FindName("lbl_Rue")));
     this.txt_NumRue                   = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumRue")));
     this.lbl_NumPiece                 = ((System.Windows.Controls.Label)(this.FindName("lbl_NumPiece")));
     this.txtPropriete                 = ((System.Windows.Controls.TextBox)(this.FindName("txtPropriete")));
     this.lbl_Adresse                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Adresse")));
     this.txtAdresse                   = ((System.Windows.Controls.TextBox)(this.FindName("txtAdresse")));
     this.lbl_Proprio                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Proprio")));
     this.txtNumeroPiece               = ((System.Windows.Controls.TextBox)(this.FindName("txtNumeroPiece")));
     this.Txt_LibelleCommune           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCommune")));
     this.Txt_LibelleQuartier          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleQuartier")));
     this.Txt_LibelleRue               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleRue")));
     this.Txt_LibelleCategorie         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCategorie")));
     this.Txt_TypePiece                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TypePiece")));
     this.Txt_LibelleTournee           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTournee")));
     this.tabItemAbonnement            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAbonnement")));
     this.Gbo_InformationAbonnement    = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationAbonnement")));
     this.lbl_Tarif                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Tarif")));
     this.Txt_CodePussanceSoucrite     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePussanceSoucrite")));
     this.lbl_PuissanceSouscrite       = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceSouscrite")));
     this.lbl_PuissanceUtilise         = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceUtilise")));
     this.Txt_CodeRistoune             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeRistoune")));
     this.lbl_Ristourne                = ((System.Windows.Controls.Label)(this.FindName("lbl_Ristourne")));
     this.Txt_CodeForfait              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeForfait")));
     this.lbl_Forfait                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Forfait")));
     this.textBox23                    = ((System.Windows.Controls.TextBox)(this.FindName("textBox23")));
     this.lbl_ForfaitPersonaliseAnnuel = ((System.Windows.Controls.Label)(this.FindName("lbl_ForfaitPersonaliseAnnuel")));
     this.Txt_CodeFrequence            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeFrequence")));
     this.lbl_Periodicite              = ((System.Windows.Controls.Label)(this.FindName("lbl_Periodicite")));
     this.Txt_CodeMoisFacturation      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisFacturation")));
     this.lbl_MoisFact                 = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact")));
     this.lbl_MoisReleve               = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisReleve")));
     this.Txt_LibelleForfait           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleForfait")));
     this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.Txt_LibelleFrequence     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleFrequence")));
     this.Txt_LibMoisFact          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibMoisFact")));
     this.Txt_CodeMoisIndex        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisIndex")));
     this.Txt_LibelleMoisIndex     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleMoisIndex")));
     this.textBox7                 = ((System.Windows.Controls.TextBox)(this.FindName("textBox7")));
     this.Txt_CodeTarif            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeTarif")));
     this.Txt_LibelleTarif         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTarif")));
     this.lbl_DateAbonnement       = ((System.Windows.Controls.Label)(this.FindName("lbl_DateAbonnement")));
     this.Txt_DateAbonnement       = ((System.Windows.Controls.TextBox)(this.FindName("Txt_DateAbonnement")));
     this.Txt_CodePuissanceUtilise = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePuissanceUtilise")));
     this.Chk_IsExonneration       = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_IsExonneration")));
     this.textBox7_Copy            = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy")));
     this.textBox7_Copy1           = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy1")));
     this.lbl_MoisFact_Copy        = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact_Copy")));
     this.tabItemAppareils         = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAppareils")));
     this.dtgAppareils             = ((System.Windows.Controls.DataGrid)(this.FindName("dtgAppareils")));
     this.tabItemFournitures       = ((System.Windows.Controls.TabItem)(this.FindName("tabItemFournitures")));
     this.dataGridForniture        = ((System.Windows.Controls.DataGrid)(this.FindName("dataGridForniture")));
     this.lbl_TotalHT              = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalHT")));
     this.Txt_TotalHt              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalHt")));
     this.lbl_TotalTTC             = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTTC")));
     this.Txt_TotalTtc             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTtc")));
     this.lbl_TotalTVA             = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTVA")));
     this.Txt_TotalTva             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTva")));
     this.tabItemAnnotation        = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAnnotation")));
     this.dtg_Annotation           = ((System.Windows.Controls.DataGrid)(this.FindName("dtg_Annotation")));
     this.tabItemMetre             = ((System.Windows.Controls.TabItem)(this.FindName("tabItemMetre")));
     this.lDistance                = ((System.Windows.Controls.Label)(this.FindName("lDistance")));
     this.label3 = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.label5 = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.label7 = ((System.Windows.Controls.Label)(this.FindName("label7")));
     this.Txt_BranchementProche = ((System.Windows.Controls.TextBox)(this.FindName("Txt_BranchementProche")));
     this.Txt_Distance          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Distance")));
     this.label8                         = ((System.Windows.Controls.Label)(this.FindName("label8")));
     this.TxtOrdreTournee                = ((System.Windows.Controls.TextBox)(this.FindName("TxtOrdreTournee")));
     this.Txt_Typedecompteur             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Typedecompteur")));
     this.label3_Copy                    = ((System.Windows.Controls.Label)(this.FindName("label3_Copy")));
     this.Txt_Tournee                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Tournee")));
     this.label8_Puissance               = ((System.Windows.Controls.Label)(this.FindName("label8_Puissance")));
     this.TxtPuissance                   = ((System.Windows.Controls.TextBox)(this.FindName("TxtPuissance")));
     this.lbl_diametre                   = ((System.Windows.Controls.Label)(this.FindName("lbl_diametre")));
     this.Txt_LibelleTypeBrt             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTypeBrt")));
     this.lbl_QuartierDuPoste            = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste")));
     this.Txt_LibelleQuartierPoste       = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleQuartierPoste")));
     this.lbl_Depart                     = ((System.Windows.Controls.Label)(this.FindName("lbl_Depart")));
     this.Txt_LibelleDepartHTA           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDepartHTA")));
     this.Txt_AdresseElectrique          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_AdresseElectrique")));
     this.lbl_Codification               = ((System.Windows.Controls.Label)(this.FindName("lbl_Codification")));
     this.TxtLongitude                   = ((System.Windows.Controls.TextBox)(this.FindName("TxtLongitude")));
     this.lbl_longitude                  = ((System.Windows.Controls.Label)(this.FindName("lbl_longitude")));
     this.TxtLatitude                    = ((System.Windows.Controls.TextBox)(this.FindName("TxtLatitude")));
     this.lbl_latitude                   = ((System.Windows.Controls.Label)(this.FindName("lbl_latitude")));
     this.lbl_Depart_Copy                = ((System.Windows.Controls.Label)(this.FindName("lbl_Depart_Copy")));
     this.Txt_LibellePosteSource         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibellePosteSource")));
     this.lbl_QuartierDuPoste_Copy       = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste_Copy")));
     this.Txt_LibellePosteTransformateur = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibellePosteTransformateur")));
     this.lbl_QuartierDuPoste_Copy1      = ((System.Windows.Controls.Label)(this.FindName("lbl_QuartierDuPoste_Copy1")));
     this.Txt_LibelleDepartBt            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDepartBt")));
     this.Txt_NeoudFinal                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NeoudFinal")));
     this.lbl_NoeudFinal                 = ((System.Windows.Controls.Label)(this.FindName("lbl_NoeudFinal")));
     this.groupBox1                      = ((SilverlightContrib.Controls.GroupBox)(this.FindName("groupBox1")));
     this.dgListeFraixParicipation       = ((System.Windows.Controls.DataGrid)(this.FindName("dgListeFraixParicipation")));
     this.btn_transmetre                 = ((System.Windows.Controls.Button)(this.FindName("btn_transmetre")));
     this.RejeterButton                  = ((System.Windows.Controls.Button)(this.FindName("RejeterButton")));
 }
コード例 #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Projects = ((System.Windows.Controls.ListBox)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.Projects.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Projects_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 4:
                this.SettingsMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.ConfigSettings = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.ConfigSettings.Click += new System.Windows.RoutedEventHandler(this.SettingsMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AccountSettings = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.AccountSettings.Click += new System.Windows.RoutedEventHandler(this.AccountMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.QuitMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.QuitMenu.Click += new System.Windows.RoutedEventHandler(this.QuitMenu_Click);

            #line default
            #line hidden
                return;

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

            case 9:
                this.GeneralInfoTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.GiGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.ProjectDescription = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.ProjectInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.EventsGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.EventsGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Row_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.EventsTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 16:
                this.ThemeLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.Theme = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 19:
                this.EventDescription = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.EventInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 23:
                this.OpenChat = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

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

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

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

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

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

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

            case 8:
                this.Titles = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.Angles = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.PointToPointMode = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 12:
                this.EndPoint = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.Destination = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 16:
                this.LargeFileMp4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.WebOptimized = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.iPod5G = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 20:
                this.pictureTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 21:
                this.PictureSettingsViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 22:
                this.filtersTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.FiltersViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 24:
                this.videoTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.VideoViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 26:
                this.audioTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 27:
                this.AudioViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 28:
                this.subtitlesTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.SubtitleViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 30:
                this.chaptersTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 31:
                this.ChaptersViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 32:
                this.advancedTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.AdvancedViewModel = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 34:

            #line 218 "..\..\..\..\Views\MainView.xaml"
                ((System.Windows.Controls.TreeView)(target)).SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TreeView_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.presetsToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #49
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/FrmVerificationRemboursementAvance.xaml", System.UriKind.Relative));
     this.LayoutRoot                      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CancelButton                    = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton                        = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
     this.RejeterButton                   = ((System.Windows.Controls.Button)(this.FindName("RejeterButton")));
     this.tabControle                     = ((System.Windows.Controls.TabControl)(this.FindName("tabControle")));
     this.tabItemClient                   = ((System.Windows.Controls.TabItem)(this.FindName("tabItemClient")));
     this.label17                         = ((System.Windows.Controls.Label)(this.FindName("label17")));
     this.Txt_NomClient                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lbl_CodeConsomateur             = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConsomateur")));
     this.lbl_CodeRelance                 = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRelance")));
     this.lbl_categoie                    = ((System.Windows.Controls.Label)(this.FindName("lbl_categoie")));
     this.label22                         = ((System.Windows.Controls.Label)(this.FindName("label22")));
     this.tab12_Txt_LibelleCodeConso      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCodeConso")));
     this.tab12_Txt_LibelleEtatClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleEtatClient")));
     this.tab12_Txt_LibelleCategorie      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCategorie")));
     this.tab12_Txt_LibelleTypeClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleTypeClient")));
     this.lbl_CodeRegroupement            = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRegroupement")));
     this.lbl_Nationnalite                = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationnalite")));
     this.tab12_Txt_LibelleGroupeCode     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleGroupeCode")));
     this.tab12_Txt_Nationnalite          = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Nationnalite")));
     this.lbl_RegroupementCompteur_Copy12 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy12")));
     this.tab12_Txt_Datecreate            = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Datecreate")));
     this.label17_Copy                    = ((System.Windows.Controls.Label)(this.FindName("label17_Copy")));
     this.Txt_Telephone                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Telephone")));
     this.tabItemAbon                     = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAbon")));
     this.lbl_Tarif                       = ((System.Windows.Controls.Label)(this.FindName("lbl_Tarif")));
     this.Txt_CodePussanceSoucrite        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePussanceSoucrite")));
     this.lbl_PuissanceSouscrite          = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceSouscrite")));
     this.lbl_PuissanceUtilise            = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceUtilise")));
     this.Txt_CodeForfait                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeForfait")));
     this.lbl_Forfait                     = ((System.Windows.Controls.Label)(this.FindName("lbl_Forfait")));
     this.textBox23                       = ((System.Windows.Controls.TextBox)(this.FindName("textBox23")));
     this.lbl_ForfaitPersonaliseAnnuel    = ((System.Windows.Controls.Label)(this.FindName("lbl_ForfaitPersonaliseAnnuel")));
     this.Txt_CodeFrequence               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeFrequence")));
     this.lbl_Periodicite                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Periodicite")));
     this.Txt_CodeMoisFacturation         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisFacturation")));
     this.lbl_MoisFact                    = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact")));
     this.Txt_LibelleForfait              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleForfait")));
     this.Txt_LibelleFrequence            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleFrequence")));
     this.Txt_LibMoisFact                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibMoisFact")));
     this.Txt_CodeMoisIndex               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisIndex")));
     this.Txt_LibelleMoisIndex            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleMoisIndex")));
     this.Txt_CodeTarif                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeTarif")));
     this.Txt_LibelleTarif                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTarif")));
     this.lbl_DateAbonnement              = ((System.Windows.Controls.Label)(this.FindName("lbl_DateAbonnement")));
     this.Txt_DateAbonnement              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_DateAbonnement")));
     this.Txt_CodePuissanceUtilise        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePuissanceUtilise")));
     this.Chk_IsExonneration              = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_IsExonneration")));
     this.textBox7_Copy                   = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy")));
     this.textBox7_Copy1                  = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy1")));
     this.lbl_MoisFact_Copy               = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact_Copy")));
     this.tabItemCompte                   = ((System.Windows.Controls.TabItem)(this.FindName("tabItemCompte")));
     this.dtg_CompteClient                = ((System.Windows.Controls.DataGrid)(this.FindName("dtg_CompteClient")));
     this.Txt_TotalSoldeResil             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalSoldeResil")));
     this.tabPieceJointe                  = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe")));
     this.Gbo_PieceJointe                 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     this.cbo_typedoc                     = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc")));
     this.dgListePiece                    = ((System.Windows.Controls.DataGrid)(this.FindName("dgListePiece")));
     this.btn_ajoutpiece                  = ((System.Windows.Controls.Button)(this.FindName("btn_ajoutpiece")));
     this.btn_supprimerpiece              = ((System.Windows.Controls.Button)(this.FindName("btn_supprimerpiece")));
     this.txt_Motif                       = ((System.Windows.Controls.TextBox)(this.FindName("txt_Motif")));
     this.label2                   = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.txtSite                  = ((System.Windows.Controls.TextBox)(this.FindName("txtSite")));
     this.label3                   = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.txtCentre                = ((System.Windows.Controls.TextBox)(this.FindName("txtCentre")));
     this.label5                   = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.txt_tdem                 = ((System.Windows.Controls.TextBox)(this.FindName("txt_tdem")));
     this.label4                   = ((System.Windows.Controls.Label)(this.FindName("label4")));
     this.txt_Produit              = ((System.Windows.Controls.TextBox)(this.FindName("txt_Produit")));
     this.lbl_NumerodeDemande      = ((System.Windows.Controls.Label)(this.FindName("lbl_NumerodeDemande")));
     this.Txt_NumeroDemande        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumeroDemande")));
     this.prgBar                   = ((System.Windows.Controls.ProgressBar)(this.FindName("prgBar")));
     this.lbl_NumerodeDemande_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_NumerodeDemande_Copy")));
     this.Txt_ReferenceClient      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_ReferenceClient")));
 }
コード例 #50
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/Demande/UcInitialisation.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Gbo_InformationDevis_Copy = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis_Copy")));
     this.Gbo_InformationDevis      = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     this.label2                               = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.txtSite                              = ((System.Windows.Controls.TextBox)(this.FindName("txtSite")));
     this.Cbo_Site                             = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Site")));
     this.label3                               = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.txtCentre                            = ((System.Windows.Controls.TextBox)(this.FindName("txtCentre")));
     this.Cbo_Centre                           = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Centre")));
     this.label1                               = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.Txt_NumDevis                         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumDevis")));
     this.tabC_Onglet                          = ((System.Windows.Controls.TabControl)(this.FindName("tabC_Onglet")));
     this.tabItemClientInfo                    = ((System.Windows.Controls.TabItem)(this.FindName("tabItemClientInfo")));
     this.Cbo_Type_Client                      = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Type_Client")));
     this.lbl_TypeClient                       = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeClient")));
     this.lbl_DateRDV                          = ((System.Windows.Controls.Label)(this.FindName("lbl_DateRDV")));
     this.dtp_RendezVousPrev                   = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_RendezVousPrev")));
     this.tbControleClient                     = ((System.Windows.Controls.TabControl)(this.FindName("tbControleClient")));
     this.tabItemPersonnePhysique              = ((System.Windows.Controls.TabItem)(this.FindName("tabItemPersonnePhysique")));
     this.lbl_NomClient                        = ((System.Windows.Controls.Label)(this.FindName("lbl_NomClient")));
     this.Txt_NomClient_PersonePhysiq          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient_PersonePhysiq")));
     this.lbl_DateNaissance                    = ((System.Windows.Controls.Label)(this.FindName("lbl_DateNaissance")));
     this.lbl_NaturePieceIdentite              = ((System.Windows.Controls.Label)(this.FindName("lbl_NaturePieceIdentite")));
     this.Cbo_TypePiecePersonnePhysique        = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_TypePiecePersonnePhysique")));
     this.lbl_NumPiece                         = ((System.Windows.Controls.Label)(this.FindName("lbl_NumPiece")));
     this.txtNumeroPiece                       = ((System.Windows.Controls.TextBox)(this.FindName("txtNumeroPiece")));
     this.lbl_DateFinValidite                  = ((System.Windows.Controls.Label)(this.FindName("lbl_DateFinValidite")));
     this.dtp_DateNaissance                    = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_DateNaissance")));
     this.dtp_DateValidite                     = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_DateValidite")));
     this.lbl_Tarif                            = ((System.Windows.Controls.Label)(this.FindName("lbl_Tarif")));
     this.Txt_Civilite                         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Civilite")));
     this.btn_civilite                         = ((System.Windows.Controls.Button)(this.FindName("btn_civilite")));
     this.Txt_libelleCivilite                  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_libelleCivilite")));
     this.tabItemPersoneMoral                  = ((System.Windows.Controls.TabItem)(this.FindName("tabItemPersoneMoral")));
     this.lbl_RegistreCommerce                 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegistreCommerce")));
     this.Txt_RegistreCommerce                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_RegistreCommerce")));
     this.lbl_Capital                          = ((System.Windows.Controls.Label)(this.FindName("lbl_Capital")));
     this.Txt_Capital                          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Capital")));
     this.lbl_IdentificationFiscale            = ((System.Windows.Controls.Label)(this.FindName("lbl_IdentificationFiscale")));
     this.Txt_IdentiteFiscale                  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_IdentiteFiscale")));
     this.lbl_Siege                            = ((System.Windows.Controls.Label)(this.FindName("lbl_Siege")));
     this.Txt_Siege                            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Siege")));
     this.lbl_StatutJuridique                  = ((System.Windows.Controls.Label)(this.FindName("lbl_StatutJuridique")));
     this.Cbo_StatutJuridique                  = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_StatutJuridique")));
     this.lbl_DateCreation                     = ((System.Windows.Controls.Label)(this.FindName("lbl_DateCreation")));
     this.dtp_DateCreation                     = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_DateCreation")));
     this.lbl_RangSignataire                   = ((System.Windows.Controls.Label)(this.FindName("lbl_RangSignataire")));
     this.lbl_PrenomSignataire                 = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomSignataire")));
     this.lbl_NomMandataireAd                  = ((System.Windows.Controls.Label)(this.FindName("lbl_NomMandataireAd")));
     this.Txt_PrenomMandataire                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_PrenomMandataire")));
     this.lbl_PrenomMandataireAd               = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomMandataireAd")));
     this.Txt_NomMandataire                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomMandataire")));
     this.lbl_RangMAndataireAd                 = ((System.Windows.Controls.Label)(this.FindName("lbl_RangMAndataireAd")));
     this.Txt_RangSignataire                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_RangSignataire")));
     this.lbl_NomSignataireAd                  = ((System.Windows.Controls.Label)(this.FindName("lbl_NomSignataireAd")));
     this.Txt_NomSignataire                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomSignataire")));
     this.Txt_PrenomSignataire                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_PrenomSignataire")));
     this.lbl_PrenomSignataireAd               = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomSignataireAd")));
     this.lbl_RangSignataireAd                 = ((System.Windows.Controls.Label)(this.FindName("lbl_RangSignataireAd")));
     this.Txt_RangMandataire                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_RangMandataire")));
     this.lbl_NomSignataireAd_Copy             = ((System.Windows.Controls.Label)(this.FindName("lbl_NomSignataireAd_Copy")));
     this.Txt_NomClientSociete                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClientSociete")));
     this.tabItemPersoneAdministration         = ((System.Windows.Controls.TabItem)(this.FindName("tabItemPersoneAdministration")));
     this.lbl_RangSignataireAdministration     = ((System.Windows.Controls.Label)(this.FindName("lbl_RangSignataireAdministration")));
     this.lbl_PrenomSignataireAdministration   = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomSignataireAdministration")));
     this.lbl_NomMandataireAdministration1     = ((System.Windows.Controls.Label)(this.FindName("lbl_NomMandataireAdministration1")));
     this.Txt_PrenomMandataireAdministration   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_PrenomMandataireAdministration")));
     this.lbl_PrenomMandataireAdministration   = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomMandataireAdministration")));
     this.Txt_NomMandataireAdministration      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomMandataireAdministration")));
     this.lbl_RangMAndataireAdministration     = ((System.Windows.Controls.Label)(this.FindName("lbl_RangMAndataireAdministration")));
     this.Txt_RangSignataireAdministration     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_RangSignataireAdministration")));
     this.lbl_NomSignataireAdministration      = ((System.Windows.Controls.Label)(this.FindName("lbl_NomSignataireAdministration")));
     this.Txt_PrenomSignataireAdministration   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_PrenomSignataireAdministration")));
     this.lbl_PrenomSignataireAdministration1  = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomSignataireAdministration1")));
     this.Txt_NomSignataireAdministration      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomSignataireAdministration")));
     this.lbl_RangSignataireAdministration1    = ((System.Windows.Controls.Label)(this.FindName("lbl_RangSignataireAdministration1")));
     this.Txt_RangMandataireAdministration     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_RangMandataireAdministration")));
     this.lbl_NomSignataireAd_Copy1            = ((System.Windows.Controls.Label)(this.FindName("lbl_NomSignataireAd_Copy1")));
     this.Txt_NomClientAdministration          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClientAdministration")));
     this.tab_AutreInfo                        = ((System.Windows.Controls.TabItem)(this.FindName("tab_AutreInfo")));
     this.tab_AutreInfClient                   = ((System.Windows.Controls.TabItem)(this.FindName("tab_AutreInfClient")));
     this.Txt_Numeronina                       = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Numeronina")));
     this.txt_Telephone                        = ((Galatee.Silverlight.Library.NumericTextBox)(this.FindName("txt_Telephone")));
     this.label7_Copy2                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy2")));
     this.label1_Copy                          = ((System.Windows.Controls.Label)(this.FindName("label1_Copy")));
     this.Txt_Email                            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Email")));
     this.label7                               = ((System.Windows.Controls.Label)(this.FindName("label7")));
     this.Txt_NumFax                           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumFax")));
     this.label7_Copy                          = ((System.Windows.Controls.Label)(this.FindName("label7_Copy")));
     this.Txt_BoitePostale                     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_BoitePostale")));
     this.lbl_Nationalite                      = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationalite")));
     this.Cbo_Nationnalite                     = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Nationnalite")));
     this.label7_Copy1                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy1")));
     this.txt_Telephone_Fixe                   = ((Galatee.Silverlight.Library.NumericTextBox)(this.FindName("txt_Telephone_Fixe")));
     this.label7_Copy3                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy3")));
     this.lbl_Nationalite_Copy2                = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationalite_Copy2")));
     this.Cbo_Type_Proprietaire                = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Type_Proprietaire")));
     this.chk_Email                            = ((System.Windows.Controls.CheckBox)(this.FindName("chk_Email")));
     this.chk_SMS                              = ((System.Windows.Controls.CheckBox)(this.FindName("chk_SMS")));
     this.tab_proprio                          = ((System.Windows.Controls.TabItem)(this.FindName("tab_proprio")));
     this.lbl_NomProprio                       = ((System.Windows.Controls.Label)(this.FindName("lbl_NomProprio")));
     this.Txt_NomProprio_PersonePhysiq         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomProprio_PersonePhysiq")));
     this.lbl_PrenomProprio                    = ((System.Windows.Controls.Label)(this.FindName("lbl_PrenomProprio")));
     this.Txt_PrenomProprio_PersonePhysiq      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_PrenomProprio_PersonePhysiq")));
     this.lbl_DateNaissanceProprio             = ((System.Windows.Controls.Label)(this.FindName("lbl_DateNaissanceProprio")));
     this.dtp_DateNaissanceProprio             = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_DateNaissanceProprio")));
     this.lbl_NaturePieceIdentiteProprio       = ((System.Windows.Controls.Label)(this.FindName("lbl_NaturePieceIdentiteProprio")));
     this.Cbo_TypePiecePersonnePhysiqueProprio = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_TypePiecePersonnePhysiqueProprio")));
     this.lbl_NumPieceProprio                  = ((System.Windows.Controls.Label)(this.FindName("lbl_NumPieceProprio")));
     this.txtNumeroPieceProprio                = ((System.Windows.Controls.TextBox)(this.FindName("txtNumeroPieceProprio")));
     this.lbl_DateFinValiditeProprio           = ((System.Windows.Controls.Label)(this.FindName("lbl_DateFinValiditeProprio")));
     this.dtp_finvalidationProprio             = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_finvalidationProprio")));
     this.txt_Telephone_Proprio                = ((System.Windows.Controls.TextBox)(this.FindName("txt_Telephone_Proprio")));
     this.Txt_Email_Proprio                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Email_Proprio")));
     this.label7_Copy4                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy4")));
     this.Txt_Faxe_Proprio                     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Faxe_Proprio")));
     this.label7_Copy5                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy5")));
     this.Txt_BoitePosta_Proprio               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_BoitePosta_Proprio")));
     this.lbl_Nationalite_Copy1                = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationalite_Copy1")));
     this.Cbo_Nationalite_Proprio              = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Nationalite_Proprio")));
     this.label7_Copy6                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy6")));
     this.label7_Copy7                         = ((System.Windows.Controls.Label)(this.FindName("label7_Copy7")));
     this.tabItemContrat                       = ((System.Windows.Controls.TabItem)(this.FindName("tabItemContrat")));
     this.Gbo_InformationClient                = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationClient")));
     this.label9                               = ((System.Windows.Controls.Label)(this.FindName("label9")));
     this.Cbo_Categorie                        = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Categorie")));
     this.TxtCategorieClient                   = ((System.Windows.Controls.TextBox)(this.FindName("TxtCategorieClient")));
     this.label12_Copy                         = ((System.Windows.Controls.Label)(this.FindName("label12_Copy")));
     this.Cbo_Usage                            = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Usage")));
     this.Txt_CodeRegroupement                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeRegroupement")));
     this.lbl_CodeRegroupement                 = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRegroupement")));
     this.Cbo_Regroupement                     = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Regroupement")));
     this.Txt_CodeConso                        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeConso")));
     this.Txt_usage                            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_usage")));
     this.lbl_CodeConso                        = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConso")));
     this.Cbo_CodeConso                        = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_CodeConso")));
     this.label21                              = ((System.Windows.Controls.Label)(this.FindName("label21")));
     this.lab_ListeAppareils                   = ((System.Windows.Controls.Label)(this.FindName("lab_ListeAppareils")));
     this.Cbo_ListeAppareils                   = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_ListeAppareils")));
     this.Btn_ListeAppareils                   = ((System.Windows.Controls.Button)(this.FindName("Btn_ListeAppareils")));
     this.txt_MaticuleAgent                    = ((Galatee.Silverlight.Library.NumericTextBox)(this.FindName("txt_MaticuleAgent")));
     this.lbl_MatriculeAgent                   = ((System.Windows.Controls.Label)(this.FindName("lbl_MatriculeAgent")));
     this.btn_tarif                            = ((System.Windows.Controls.Button)(this.FindName("btn_tarif")));
     this.Btn_Reglage                          = ((System.Windows.Controls.Button)(this.FindName("Btn_Reglage")));
     this.txt_Reglage                          = ((System.Windows.Controls.TextBox)(this.FindName("txt_Reglage")));
     this.dtg_TarifClient                      = ((System.Windows.Controls.DataGrid)(this.FindName("dtg_TarifClient")));
     this.tabAdressGeographique                = ((System.Windows.Controls.TabItem)(this.FindName("tabAdressGeographique")));
     this.Gbo_InformationAdresse               = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationAdresse")));
     this.label13                              = ((System.Windows.Controls.Label)(this.FindName("label13")));
     this.txt_Commune                          = ((System.Windows.Controls.TextBox)(this.FindName("txt_Commune")));
     this.Cbo_Commune                          = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Commune")));
     this.label14                              = ((System.Windows.Controls.Label)(this.FindName("label14")));
     this.txt_Quartier                         = ((System.Windows.Controls.TextBox)(this.FindName("txt_Quartier")));
     this.Cbo_Quartier                         = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Quartier")));
     this.label15                              = ((System.Windows.Controls.Label)(this.FindName("label15")));
     this.txt_NumRue                           = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumRue")));
     this.Cbo_Rue                              = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Rue")));
     this.label15_Copy                         = ((System.Windows.Controls.Label)(this.FindName("label15_Copy")));
     this.txt_NumSecteur                       = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumSecteur")));
     this.Cbo_Secteur                          = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Secteur")));
     this.Txt_Etage                            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Etage")));
     this.lbl_Etage                            = ((System.Windows.Controls.Label)(this.FindName("lbl_Etage")));
     this.Txt_Porte                            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Porte")));
     this.label17_Copy                         = ((System.Windows.Controls.Label)(this.FindName("label17_Copy")));
     this.txtPropriete                         = ((System.Windows.Controls.TextBox)(this.FindName("txtPropriete")));
     this.label20                              = ((System.Windows.Controls.Label)(this.FindName("label20")));
     this.label18                              = ((System.Windows.Controls.Label)(this.FindName("label18")));
     this.txtAdresse                           = ((System.Windows.Controls.TextBox)(this.FindName("txtAdresse")));
     this.tabPieceJointe_Copy                  = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe_Copy")));
     this.Vwb             = ((System.Windows.Controls.Viewbox)(this.FindName("Vwb")));
     this.label5          = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.txt_tdem        = ((System.Windows.Controls.TextBox)(this.FindName("txt_tdem")));
     this.label4          = ((System.Windows.Controls.Label)(this.FindName("label4")));
     this.txtProduit      = ((System.Windows.Controls.TextBox)(this.FindName("txtProduit")));
     this.Cbo_Produit     = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Produit")));
     this.progressBar1    = ((System.Windows.Controls.ProgressBar)(this.FindName("progressBar1")));
     this.Btn_Annuler     = ((System.Windows.Controls.Button)(this.FindName("Btn_Annuler")));
     this.Btn_Enregistrer = ((System.Windows.Controls.Button)(this.FindName("Btn_Enregistrer")));
     this.Btn_Transmettre = ((System.Windows.Controls.Button)(this.FindName("Btn_Transmettre")));
     this.txt_ordre       = ((System.Windows.Controls.TextBox)(this.FindName("txt_ordre")));
     this.lbl_RefecenceBranchement_Copy = ((System.Windows.Controls.Label)(this.FindName("lbl_RefecenceBranchement_Copy")));
     this.label5_Copy = ((System.Windows.Controls.Label)(this.FindName("label5_Copy")));
     this.txt_motif   = ((System.Windows.Controls.TextBox)(this.FindName("txt_motif")));
 }
コード例 #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.nabcontrol = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.tabAdd = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 34 "..\..\..\MainWindow.xaml"
                this.btnAddNaselenPunkt.Click += new System.Windows.RoutedEventHandler(this.BtnAddNaselenPunkt_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\MainWindow.xaml"
                this.btnAddLocomotive.Click += new System.Windows.RoutedEventHandler(this.BtnAddLocomotive_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\MainWindow.xaml"
                this.btnAddLocomotiveType.Click += new System.Windows.RoutedEventHandler(this.BtnAddLocomotiveType_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 39 "..\..\..\MainWindow.xaml"
                this.btn_contragent.Click += new System.Windows.RoutedEventHandler(this.Btn_contragent_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\MainWindow.xaml"
                this.btn_prodaction.Click += new System.Windows.RoutedEventHandler(this.Btn_prodaction_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\MainWindow.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.listcontragent = ((System.Windows.Controls.ListBox)(target));
                return;

            case 12:
                this.listprodaction = ((System.Windows.Controls.ListBox)(target));
                return;

            case 13:
                this.MarshruteInfo = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 66 "..\..\..\MainWindow.xaml"
                this.MarsruteLoad.Click += new System.Windows.RoutedEventHandler(this.MarsruteLoad_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\MainWindow.xaml"
                this.Print.Click += new System.Windows.RoutedEventHandler(this.Print_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\..\MainWindow.xaml"
                this.btn_Mail.Click += new System.Windows.RoutedEventHandler(this.Btn_Mail_Click);

            #line default
            #line hidden
                return;

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

            case 18:
                this.pointstart = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.pointend = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.typetrain = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.listbox = ((System.Windows.Controls.ListBox)(target));

            #line 73 "..\..\..\MainWindow.xaml"
                this.listbox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Listbox_MouseWheel);

            #line default
            #line hidden

            #line 73 "..\..\..\MainWindow.xaml"
                this.listbox.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Listbox_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\..\MainWindow.xaml"
                this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.BtnLoad_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\MainWindow.xaml"
                this.btnCreateTicket.Click += new System.Windows.RoutedEventHandler(this.BtnCreateTicket_Click);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\..\MainWindow.xaml"
                this.btnCreateOrder.Click += new System.Windows.RoutedEventHandler(this.BtnCreateOrder_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\MainWindow.xaml"
                this.btnLoadingInfo.Click += new System.Windows.RoutedEventHandler(this.BtnLoadingInfo_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.orderlistbox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 27:
                this.Number = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.PointStart = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.PointEnd = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.TypeTrain = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 101 "..\..\..\MainWindow.xaml"
                this.btnPrintOrder.Click += new System.Windows.RoutedEventHandler(this.BtnPrintOrder_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ListUsers = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 110 "..\..\..\MainWindow.xaml"
                this.AddUser.Click += new System.Windows.RoutedEventHandler(this.AddUser_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.DeleteUser = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\..\MainWindow.xaml"
                this.DeleteUser.Click += new System.Windows.RoutedEventHandler(this.DeleteUser_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\MainWindow.xaml"
                this.update.Click += new System.Windows.RoutedEventHandler(this.Update_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\UserProfile.xaml"
                ((_Hell_WPF_Multipack_Launcher.UserProfile)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\UserProfile.xaml"
                this.bClose.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.tcInfo = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.PlayerName = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.PlayerClan = ((System.Windows.Documents.Run)(target));
                return;

            case 6:
                this.ClanEmblem = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.PlayerClan2 = ((System.Windows.Documents.Run)(target));
                return;

            case 8:
                this.PlayerZvanie = ((System.Windows.Documents.Run)(target));
                return;

            case 9:
                this.PlayerGold = ((System.Windows.Documents.Run)(target));
                return;

            case 10:
                this.PlayerCredit = ((System.Windows.Documents.Run)(target));
                return;

            case 11:
                this.PlayerXP = ((System.Windows.Documents.Run)(target));
                return;

            case 12:
                this.iAccountType = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.PercWins = ((System.Windows.Documents.Run)(target));
                return;

            case 14:
                this.PercWinsPerc = ((System.Windows.Documents.Run)(target));
                return;

            case 15:
                this.MyRating = ((System.Windows.Documents.Run)(target));
                return;

            case 16:
                this.MyRatingPerc = ((System.Windows.Documents.Run)(target));
                return;

            case 17:
                this.AvgXP = ((System.Windows.Documents.Run)(target));
                return;

            case 18:
                this.AvgXPPerc = ((System.Windows.Documents.Run)(target));
                return;

            case 19:
                this.BattleCount = ((System.Windows.Documents.Run)(target));
                return;

            case 20:
                this.BattleCountPerc = ((System.Windows.Documents.Run)(target));
                return;

            case 21:
                this.AvgDamage = ((System.Windows.Documents.Run)(target));
                return;

            case 22:
                this.AvgDamagePerc = ((System.Windows.Documents.Run)(target));
                return;

            case 23:
                this.tiClanInfo = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.ClanEmblem2 = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.ClanFullname = ((System.Windows.Documents.Run)(target));
                return;

            case 26:
                this.ClanDesc = ((System.Windows.Documents.Run)(target));
                return;

            case 27:
                this.gbSostav = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 28:
                this.ClanCount = ((System.Windows.Documents.Run)(target));
                return;

            case 29:
                this.dataonTitle = ((System.Windows.Documents.Run)(target));
                return;

            case 30:
                this.dataon = ((System.Windows.Documents.Run)(target));
                return;

            case 31:
                this.ClanMembers = ((System.Windows.Controls.ListBox)(target));
                return;

            case 32:
                this.tiClanBattles = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.ClanBattles = ((System.Windows.Controls.ListBox)(target));
                return;

            case 34:
                this.ClanBattlesNoRecords = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.tbBattles = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.tiClanProvinces = ((System.Windows.Controls.TabItem)(target));
                return;

            case 37:
                this.ClanProvinces = ((System.Windows.Controls.ListBox)(target));
                return;

            case 38:
                this.ClanProvincesNoRecords = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.tbProvinces = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DataEntryGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TreeviewTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.LYTunnelTreeview = ((System.Windows.Controls.TreeView)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.LYTunnelTreeview.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.DataTemplateTreeview_SelectedItemChanged));

            #line default
            #line hidden
                return;

            case 4:
                this.DataDG = ((System.Windows.Controls.DataGrid)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.DataDG.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.DataDG_CellEditEnding);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\MainWindow.xaml"
                this.SaveChangeBT.Click += new System.Windows.RoutedEventHandler(this.SaveChangeBT_Click);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\MainWindow.xaml"
                this.Watchnewdata.Click += new System.Windows.RoutedEventHandler(this.Watchnewdata_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\MainWindow.xaml"
                this.EditInExcel.Click += new System.Windows.RoutedEventHandler(this.EditInExcel_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Statelabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.AuCaRingType1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.AuCaRingType2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.AuCaRingType3 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 6:
                this.PopCountDown1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.PopCountDown2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.PopCountDown3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.AuCaRingType4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.AllCaCountDown = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.AllCaCountDown1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.AllCaCountDown2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.AllCaCountDown3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.AllCaCountDown4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.AllCaCountDown5 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.AllCaCountDown6 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.GetURLImage1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.GetURLImage2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.GetURLImage3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.MouseRangeRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 21:
                this.RecoWidthTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.RecoHeightTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.BtnAutoSavelbl = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 26:
                this.BtnAllCapturelbl = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 29:
                this.BtnSelCapturelbl = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 32:
                this.BtnOpenSettinglbl = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 34:
                this.BtnOpenSetting2 = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.BtnChangeEditorlbl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.BtnChangeEditor1 = ((System.Windows.Controls.Button)(target));
                return;

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

            case 38:
                this.swStartupProgram = ((AutoShot.UserControls.Switch)(target));
                return;

            case 39:
                this.TBPtnCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.listView = ((System.Windows.Controls.ListView)(target));

            #line 325 "..\..\..\Windows\SettingWindow.xaml"
                this.listView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.patternItem = ((AutoShot.UserControls.PatternItem)(target));
                return;

            case 42:
                this.patternItem_Copy = ((AutoShot.UserControls.PatternItem)(target));
                return;

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

            #line 339 "..\..\..\Windows\SettingWindow.xaml"
                this.PtnAddBtn.Click += new System.Windows.RoutedEventHandler(this.PtnAddBtn_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.PtnRemBtn = ((System.Windows.Controls.Button)(target));

            #line 340 "..\..\..\Windows\SettingWindow.xaml"
                this.PtnRemBtn.Click += new System.Windows.RoutedEventHandler(this.PtnRemBtn_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.SettingGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 46:
                this.SWOpenEditor = ((AutoShot.UserControls.Switch)(target));
                return;

            case 47:
                this.BtnSetToDefaultPtn = ((System.Windows.Controls.Button)(target));

            #line 360 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnSetToDefaultPtn.Click += new System.Windows.RoutedEventHandler(this.BtnSetToDefaultPtn_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.SWOverwrite = ((AutoShot.UserControls.Switch)(target));
                return;

            case 49:
                this.SWSaveImm = ((AutoShot.UserControls.Switch)(target));
                return;

            case 50:
                this.TBPtnName = ((System.Windows.Controls.TextBox)(target));

            #line 378 "..\..\..\Windows\SettingWindow.xaml"
                this.TBPtnName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TBPtnName_TextChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.TBSaveLoc = ((System.Windows.Controls.TextBox)(target));

            #line 385 "..\..\..\Windows\SettingWindow.xaml"
                this.TBSaveLoc.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TBSaveLoc_TextChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.NonSelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 53:

            #line 471 "..\..\..\Windows\SettingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.BtnShowLog = ((System.Windows.Controls.Button)(target));

            #line 476 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnShowLog.Click += new System.Windows.RoutedEventHandler(this.BtnShowLog_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.BtnImport = ((System.Windows.Controls.Button)(target));

            #line 490 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnImport.Click += new System.Windows.RoutedEventHandler(this.BtnImport_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.BtnReset = ((System.Windows.Controls.Button)(target));

            #line 494 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnReset.Click += new System.Windows.RoutedEventHandler(this.BtnReset_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.tbSettingLocation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 58:
                this.btnSettingLocation = ((System.Windows.Controls.Button)(target));

            #line 504 "..\..\..\Windows\SettingWindow.xaml"
                this.btnSettingLocation.Click += new System.Windows.RoutedEventHandler(this.btnSettingLocation_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.BtnCancel = ((System.Windows.Controls.Button)(target));

            #line 518 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.BtnApply = ((System.Windows.Controls.Button)(target));

            #line 523 "..\..\..\Windows\SettingWindow.xaml"
                this.BtnApply.Click += new System.Windows.RoutedEventHandler(this.BtnApply_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\..\Main\MainWindow.xaml"
                ((Poli.Makro.Main.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden

            #line 16 "..\..\..\Main\MainWindow.xaml"
                ((Poli.Makro.Main.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_OnClosing);

            #line default
            #line hidden

            #line 16 "..\..\..\Main\MainWindow.xaml"
                ((Poli.Makro.Main.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.AnaPencere1_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.SideBarTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:

            #line 84 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 4:

            #line 88 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 5:

            #line 92 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 6:

            #line 96 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 7:

            #line 104 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 8:

            #line 108 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 9:

            #line 139 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 10:

            #line 143 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 11:

            #line 151 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 12:

            #line 155 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 13:

            #line 163 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 14:

            #line 167 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 15:

            #line 175 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 16:

            #line 179 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 17:

            #line 187 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 18:

            #line 191 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuButtonIsChecked);

            #line default
            #line hidden
                return;

            case 19:
                this.ColorsSideBarTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:

            #line 231 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 21:
                this.ColorLibrary = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 235 "..\..\..\Main\MainWindow.xaml"
                this.ColorLibrary.Checked += new System.Windows.RoutedEventHandler(this.ColorLibrary_Checked);

            #line default
            #line hidden
                return;

            case 22:

            #line 244 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 23:
                this.DominantColorExtractor = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 248 "..\..\..\Main\MainWindow.xaml"
                this.DominantColorExtractor.Checked += new System.Windows.RoutedEventHandler(this.DominantColorExtractor_Checked);

            #line default
            #line hidden
                return;

            case 24:
                this.CodesSideBarTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:

            #line 288 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 26:
                this.CodeLibrary = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 292 "..\..\..\Main\MainWindow.xaml"
                this.CodeLibrary.Checked += new System.Windows.RoutedEventHandler(this.CodeLibrary_Checked);

            #line default
            #line hidden
                return;

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

            case 28:
                this.ColorsTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 29:
                this.CodesTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 30:

            #line 348 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.side);

            #line default
            #line hidden
                return;

            case 31:

            #line 361 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_FareSolTıkBasıldığında);

            #line default
            #line hidden

            #line 362 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkKalktığında);

            #line default
            #line hidden

            #line 363 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkBastığında);

            #line default
            #line hidden

            #line 364 "..\..\..\Main\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_ÖnizlemeFareyleTaşıma);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.tab1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 21 "..\..\Boss.xaml"
                this.codeText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CodeTex_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.passText = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\Boss.xaml"
                this.passText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.PassText_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\Boss.xaml"
                this.btn1.Click += new System.Windows.RoutedEventHandler(this.Btn1_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\Boss.xaml"
                this.edit_button.Click += new System.Windows.RoutedEventHandler(this.Btn5_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\Boss.xaml"
                this.btn8.Click += new System.Windows.RoutedEventHandler(this.Btn8_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tab2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 9:
                this.imgPhoto = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 41 "..\..\Boss.xaml"
                this.name_change.Click += new System.Windows.RoutedEventHandler(this.Name_change_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\Boss.xaml"
                this.family_change.Click += new System.Windows.RoutedEventHandler(this.Family_change_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\Boss.xaml"
                this.phone_change.Click += new System.Windows.RoutedEventHandler(this.Phone_change_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\Boss.xaml"
                this.type_change.Click += new System.Windows.RoutedEventHandler(this.type_change_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\Boss.xaml"
                this.upload_image.Click += new System.Windows.RoutedEventHandler(this.upload_image_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\Boss.xaml"
                this.btn6.Click += new System.Windows.RoutedEventHandler(this.Btn6_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\Boss.xaml"
                this.btn8_Copy.Click += new System.Windows.RoutedEventHandler(this.Btn8_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\Boss.xaml"
                this.editPass.Click += new System.Windows.RoutedEventHandler(this.EditPass_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\Boss.xaml"
                this.editUsername.Click += new System.Windows.RoutedEventHandler(this.EditUsername_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.tab3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.foodname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.foodPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.FoodPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.foodInfo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.privateInfo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.foodNum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.foodDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.foodCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.pizaa = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 118 "..\..\Boss.xaml"
                this.upBtn.Click += new System.Windows.RoutedEventHandler(this.Upload_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.foodPhoto = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 125 "..\..\Boss.xaml"
                this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.SaveBtn_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.tab5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.FoodName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.newNum = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 153 "..\..\Boss.xaml"
                this.SaveBtn.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.tab6 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 37:
                this.FoodNameEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.editDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.SearchBtn = ((System.Windows.Controls.Button)(target));

            #line 181 "..\..\Boss.xaml"
                this.SearchBtn.Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

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

            case 41:
                this.FoodPriceEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.foodInfoEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.privateInfoEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.foodNumEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.foodDateEdit = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.foodComboEdit = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.pizaaEdit = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 48:
                this.Save = ((System.Windows.Controls.Button)(target));

            #line 229 "..\..\Boss.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.SaveEdit_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.tab4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 50:
                this.soodBtn = ((System.Windows.Controls.Button)(target));

            #line 243 "..\..\Boss.xaml"
                this.soodBtn.Click += new System.Windows.RoutedEventHandler(this.SoodBtn_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.tab7 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 52:
                this.showFactor = ((System.Windows.Controls.Button)(target));

            #line 255 "..\..\Boss.xaml"
                this.showFactor.Click += new System.Windows.RoutedEventHandler(this.ShowFactor_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.showCustomers = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 54:
                this.ShowFactor = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 55:
                this.deleteSefaresh = ((System.Windows.Controls.Button)(target));

            #line 266 "..\..\Boss.xaml"
                this.deleteSefaresh.Click += new System.Windows.RoutedEventHandler(this.DeleteFactor_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #57
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcSuiveTravaux.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.tabControl_Consultation = ((System.Windows.Controls.TabControl)(this.FindName("tabControl_Consultation")));
     this.tabItemDevis            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDevis")));
     this.Gbo_InformationDevis    = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     this.Txt_NumeroDevis         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NumeroDevis")));
     this.lbl_Devis                   = ((System.Windows.Controls.Label)(this.FindName("lbl_Devis")));
     this.Txt_Ordre                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
     this.Txt_CodeSite                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeSite")));
     this.lbl_Site                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Site")));
     this.Txt_LibelleSite             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleSite")));
     this.Txt_CodeCentre              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeCentre")));
     this.lbl_Centre                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre")));
     this.Txt_LibelleCentre           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCentre")));
     this.Txt_LibelleProduit          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleProduit")));
     this.lbl_Produit                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit")));
     this.Txt_CodeProduit             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeProduit")));
     this.Txt_LibelleTypeDevis        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTypeDevis")));
     this.Txt_EtapeCourante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeCourante")));
     this.Txt_EtapeSuivante           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_EtapeSuivante")));
     this.lbl_TypeDevis               = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeDevis")));
     this.lbl_EtapeEnCours            = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeEnCours")));
     this.lbl_EtapeSuivante           = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeSuivante")));
     this.tabItemDemandeur            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDemandeur")));
     this.Gbo_InformationDemandeDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDemandeDevis")));
     this.lbl_Nom              = ((System.Windows.Controls.Label)(this.FindName("lbl_Nom")));
     this.Txt_NomClient        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lab_Tournee          = ((System.Windows.Controls.Label)(this.FindName("lab_Tournee")));
     this.lbl_CategorieClient  = ((System.Windows.Controls.Label)(this.FindName("lbl_CategorieClient")));
     this.lbl_Telephone        = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone")));
     this.txt_Telephone        = ((System.Windows.Controls.TextBox)(this.FindName("txt_Telephone")));
     this.lbl_NumLot           = ((System.Windows.Controls.Label)(this.FindName("lbl_NumLot")));
     this.txt_NumLot           = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumLot")));
     this.lbl_Piece            = ((System.Windows.Controls.Label)(this.FindName("lbl_Piece")));
     this.lbl_Commune          = ((System.Windows.Controls.Label)(this.FindName("lbl_Commune")));
     this.txt_Commune          = ((System.Windows.Controls.TextBox)(this.FindName("txt_Commune")));
     this.lbl_Quartier         = ((System.Windows.Controls.Label)(this.FindName("lbl_Quartier")));
     this.txt_Quartier         = ((System.Windows.Controls.TextBox)(this.FindName("txt_Quartier")));
     this.lbl_Rue              = ((System.Windows.Controls.Label)(this.FindName("lbl_Rue")));
     this.txt_NumRue           = ((System.Windows.Controls.TextBox)(this.FindName("txt_NumRue")));
     this.lbl_Poteau           = ((System.Windows.Controls.Label)(this.FindName("lbl_Poteau")));
     this.txtPoteau            = ((System.Windows.Controls.TextBox)(this.FindName("txtPoteau")));
     this.lbl_NumPiece         = ((System.Windows.Controls.Label)(this.FindName("lbl_NumPiece")));
     this.txtPropriete         = ((System.Windows.Controls.TextBox)(this.FindName("txtPropriete")));
     this.lbl_Adresse          = ((System.Windows.Controls.Label)(this.FindName("lbl_Adresse")));
     this.txtAdresse           = ((System.Windows.Controls.TextBox)(this.FindName("txtAdresse")));
     this.lbl_Proprio          = ((System.Windows.Controls.Label)(this.FindName("lbl_Proprio")));
     this.lbl_Calibre          = ((System.Windows.Controls.Label)(this.FindName("lbl_Calibre")));
     this.txtNumeroPiece       = ((System.Windows.Controls.TextBox)(this.FindName("txtNumeroPiece")));
     this.Txt_LibelleCommune   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCommune")));
     this.Txt_LibelleQuartier  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleQuartier")));
     this.Txt_LibelleRue       = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleRue")));
     this.Txt_LibelleDiametre  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleDiametre")));
     this.Txt_LibelleCategorie = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCategorie")));
     this.Txt_TypePiece        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TypePiece")));
     this.Txt_LibelleTournee   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTournee")));
     this.lbl_Longitude        = ((System.Windows.Controls.Label)(this.FindName("lbl_Longitude")));
     this.TxtLongitude         = ((System.Windows.Controls.TextBox)(this.FindName("TxtLongitude")));
     this.lbl_latitude         = ((System.Windows.Controls.Label)(this.FindName("lbl_latitude")));
     this.TxtLatitude          = ((System.Windows.Controls.TextBox)(this.FindName("TxtLatitude")));
     this.tabItemAppareils     = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAppareils")));
     this.dtgAppareils         = ((System.Windows.Controls.DataGrid)(this.FindName("dtgAppareils")));
     this.tabItemFournitures   = ((System.Windows.Controls.TabItem)(this.FindName("tabItemFournitures")));
     this.dataGridForniture    = ((System.Windows.Controls.DataGrid)(this.FindName("dataGridForniture")));
     this.lbl_TotalHT          = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalHT")));
     this.Txt_TotalHt          = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalHt")));
     this.lbl_TotalTTC         = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTTC")));
     this.Txt_TotalTtc         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTtc")));
     this.lbl_TotalTVA         = ((System.Windows.Controls.Label)(this.FindName("lbl_TotalTVA")));
     this.Txt_TotalTva         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTva")));
     this.tabItemOT            = ((System.Windows.Controls.TabItem)(this.FindName("tabItemOT")));
     this.label1              = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.TxtNumeroDevis      = ((System.Windows.Controls.TextBox)(this.FindName("TxtNumeroDevis")));
     this.DtpDebutTravaux     = ((System.Windows.Controls.DatePicker)(this.FindName("DtpDebutTravaux")));
     this.labDateDebutTravaux = ((System.Windows.Controls.Label)(this.FindName("labDateDebutTravaux")));
     this.DtpFinTravaux       = ((System.Windows.Controls.DatePicker)(this.FindName("DtpFinTravaux")));
     this.labFintravaux       = ((System.Windows.Controls.Label)(this.FindName("labFintravaux")));
     this.labPoteau           = ((System.Windows.Controls.Label)(this.FindName("labPoteau")));
     this.Txt_Prestataire     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Prestataire")));
     this.TxtMatricule        = ((System.Windows.Controls.TextBox)(this.FindName("TxtMatricule")));
     this.TxtNomAgent         = ((System.Windows.Controls.TextBox)(this.FindName("TxtNomAgent")));
     this.labPoteau_Copy      = ((System.Windows.Controls.Label)(this.FindName("labPoteau_Copy")));
     this.Txt_Commentaire     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Commentaire")));
     this.tabItemSuivie       = ((System.Windows.Controls.TabItem)(this.FindName("tabItemSuivie")));
     this.label2              = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.TxtNumeroDevisTrx   = ((System.Windows.Controls.TextBox)(this.FindName("TxtNumeroDevisTrx")));
     this.labPoteau_Copy1     = ((System.Windows.Controls.Label)(this.FindName("labPoteau_Copy1")));
     this.Txt_CommentaireTrx  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CommentaireTrx")));
     this.tabPieceJointe_Copy = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe_Copy")));
     this.Vwb            = ((System.Windows.Controls.Viewbox)(this.FindName("Vwb")));
     this.CancelButton   = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton       = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
     this.btn_transmetre = ((System.Windows.Controls.Button)(this.FindName("btn_transmetre")));
     this.RejeterButton  = ((System.Windows.Controls.Button)(this.FindName("RejeterButton")));
     this.btn_editer     = ((System.Windows.Controls.Button)(this.FindName("btn_editer")));
 }
コード例 #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.cb_ComPort = ((System.Windows.Controls.ComboBox)(target));

            #line 8 "..\..\..\MainWindow.xaml"
                this.cb_ComPort.DropDownClosed += new System.EventHandler(this.SelectComPortChanged);

            #line default
            #line hidden

            #line 8 "..\..\..\MainWindow.xaml"
                this.cb_ComPort.DropDownOpened += new System.EventHandler(this.SelectComPortStarted);

            #line default
            #line hidden
                return;

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

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

            #line 10 "..\..\..\MainWindow.xaml"
                this.cb_Baudrate.DropDownClosed += new System.EventHandler(this.SelectBaudrateChanged);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.cb_ReaderId = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.cb_IsRs485 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 11:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 29 "..\..\..\MainWindow.xaml"
                this.cb_ReaderParameter.DropDownClosed += new System.EventHandler(this.SelectReaderParameterChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 32 "..\..\..\MainWindow.xaml"
                this.bt_ReadReaderParameter.Click += new System.Windows.RoutedEventHandler(this.bt_ReadReaderParameter_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\MainWindow.xaml"
                this.bt_WriteReaderParameter.Click += new System.Windows.RoutedEventHandler(this.bt_WriteReaderParameter_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.tb_RW_R_Parameter = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 21:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.cb_TagParameter = ((System.Windows.Controls.ComboBox)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.cb_TagParameter.DropDownClosed += new System.EventHandler(this.SelectTagParameterChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.cb_TagParameterValue = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 45 "..\..\..\MainWindow.xaml"
                this.bt_ReadTagParameter.Click += new System.Windows.RoutedEventHandler(this.bt_ReadTagParameter_Click);

            #line default
            #line hidden
                return;

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

            case 27:
                this.bt_SetTagLedBlinking = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabTelaInicial = ((System.Windows.Controls.TabControl)(target));
                return;

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

            case 3:
                this.lblRG = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.lblPai = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            case 10:
                this.lblSexo = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lblDataNascimento = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblCutis = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblEstadoCivil = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblProfissao = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lblEndereco = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblBairro = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lblMunicipio = ((System.Windows.Controls.Label)(target));
                return;

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

            case 19:
                this.lblComplemento = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblCEP = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblTelefone = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.tabConsultarBoletim = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.gridConsultarBoletim = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.tabGerarRelatorio = ((System.Windows.Controls.TabItem)(target));
                return;

            case 26:
                this.gridGerarRelatorio = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.tabCadastrarUsuario = ((System.Windows.Controls.TabItem)(target));
                return;

            case 28:
                this.gridCadastrarUsuario = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.lblRE = ((System.Windows.Controls.Label)(target));
                return;

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

            case 31:
                this.lblPermissao = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.txtRE = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 33:
                this.pswSenha = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 34:
                this.cmbPermissao = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.Administrador = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 82 "..\..\TelaInicial.xaml"
                this.Administrador.Selected += new System.Windows.RoutedEventHandler(this.Administrador_Selected);

            #line default
            #line hidden
                return;

            case 36:
                this.Usuario = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 83 "..\..\TelaInicial.xaml"
                this.Usuario.Selected += new System.Windows.RoutedEventHandler(this.Usuario_Selected);

            #line default
            #line hidden
                return;

            case 37:
                this.Chefe = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 84 "..\..\TelaInicial.xaml"
                this.Chefe.Selected += new System.Windows.RoutedEventHandler(this.Chefe_Selected);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\TelaInicial.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.lbl = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #60
0
ファイル: MainWindow.g.i.cs プロジェクト: boazgeorge/Report
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 29 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.argo_png = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.textBox = ((System.Windows.Controls.TextBox)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 15:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.argo_png1 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }