Esempio n. 1
1
 public MainTab(int page, TabItem newTab, Image newVerso, Image newRecto, Grid canvas, Grid vGrid, Grid rGrid, Button delBtn, ScatterView SV, ScatterViewItem si, Grid vSwipeGrid, Grid rSwipeGrid, Grid vTranslationGrid, Grid rTranslationGrid, Grid vBoxesGrid, Grid rBoxesGrid, TextBlock headerText, SurfaceWindow1.language language)
 {
     _page = page;
     _tab = newTab;
     _verso = newVerso;
     _recto = newRecto;
     _canvas = canvas;
     _vGrid = vGrid;
     _rGrid = rGrid;
     _SVI = si;
     _delButton = delBtn;
     numFingersRecto = 0;
     numFingersVerso = 0;
     fingerPos = new List<Point>();
     avgTouchPoint = new Point(-1, 0);
     _vSwipeGrid = vSwipeGrid;
     _rSwipeGrid = rSwipeGrid;
     _vTranslationGrid = vTranslationGrid;
     _rTranslationGrid = rTranslationGrid;
     _vBoxesGrid = vBoxesGrid;
     _rBoxesGrid = rBoxesGrid;
     _twoPage = true;
     _SV = SV;
     _headerTB = headerText;
     _currentLanguage = language;
     _previousLanguage = _currentLanguage;
     _worker = new Workers(this);
 }
 public static TabItem CreateTabItem(WrapPanel headerPanel, Grid textBoxGrid)
 {
     TabItem tabItem = new TabItem();
     tabItem.Header = headerPanel;
     tabItem.Content = textBoxGrid;
     return tabItem;
 }
Esempio n. 3
0
        public JournalDetails(User user, int journalID)
            : base(user, "Journal:" + journalID)
        {
            InitializeComponent();
            Journal model = null;

            if (journalID >= 0) {
                var service = new SupportService(user);
                model = service.GetJournal(journalID);
            } else {
                model = new Journal();
                model.JournalID = -1;
                model.FullName = "<New Journal>";
            }

            _viewModel = new JournalViewModel(model);

            _traits = tabJournal.AddTabItem("Traits", new TraitControl(user, TraitCategoryType.Journal, _viewModel));
            _notes = tabJournal.AddTabItem("Notes", new NotesControl(user, TraitCategoryType.Journal, _viewModel));
            tabJournal.AddTabItem("Ownership", new OwnershipDetails(model));

            if (_viewModel.JournalID >= 0) {
                _viewModel.DataChanged += new DataChangedHandler(viewModel_DataChanged);
            } else {
                Loaded += new RoutedEventHandler(JournalDetails_Loaded);
                _traits.IsEnabled = false;
                _notes.IsEnabled = false;
            }

            ChangesCommitted += new PendingChangesCommittedHandler(JournalDetails_ChangesCommitted);

            this.DataContext = _viewModel;
        }
Esempio n. 4
0
        public HaloScreenshot(string tempImageLocation, TabItem tabItem)
        {
            InitializeComponent();

            // Convert DDS to BitmapImage
            _bitmapImage = DDSConversion.Deswizzle(tempImageLocation);

            // DateTime Creation
            var date = DateTime.Now;
            _datetime_long = date.ToString("yyyy-MM-dd,hh-mm-ss");
            _datetime_shrt = date.ToString("hh:mm.ss");

            // Set Tab Header

            tabItem.Header = new ContentControl
                                 {
                                     Content = "Screenshot {" + _datetime_shrt + "}",
                                     ContextMenu = Settings.homeWindow.BaseContextMenu
                                 };

            // Set Image Name
            lblImageName.Text = _datetime_long + ".png";

            // Set Image
            imageScreenshot.Source = _bitmapImage;

            // Should I save the image?
            if (!Settings.XDKAutoSave) return;

            if (!Directory.Exists(Settings.XDKScreenshotPath))
                Directory.CreateDirectory(Settings.XDKScreenshotPath);

            var filePath = Settings.XDKScreenshotPath + "\\" + _datetime_long + ".png";
            SaveImage(filePath);
        }
        public DynamicTabsControl()
        {
            // newTab = typeof(ImageWorkspaceControl);

            try
            {
                InitializeComponent();

                // initialize tabItem array
                _tabItems = new List<TabItem>();

                // add a tabItem with + in header
                TabItem tabAdd = new TabItem();
                tabAdd.Header = "+";

                _tabItems.Add(tabAdd);

                //// bind tab control
                tabDynamic.DataContext = _tabItems;

                tabDynamic.SelectedIndex = 0;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Esempio n. 6
0
		public void AddTab(string name, string text)
		{
			var tc = new TabItem();
			tc.Name = name;
			tc.Header = text;
			this._tabCtrl.Items.Add(tc);
		}
Esempio n. 7
0
		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);
		}
        public ConsoleControl()
        {
            try
            {
                InitializeComponent();

                // initialize tabItem array
                _tabItems = new List<TabItem>();

                // add a tabItem with + in header 
                _tabAdd = new TabItem();
                _tabAdd.Header = "+";
                // tabAdd.MouseLeftButtonUp += new MouseButtonEventHandler(tabAdd_MouseLeftButtonUp);

                _tabItems.Add(_tabAdd);

                // add first tab
                this.AddTabItem();

                // bind tab control
                tabDynamic.DataContext = _tabItems;

                tabDynamic.SelectedIndex = 0;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        private static FrameworkElement CreateTabHeader(TabItem tabItem, bool closeViewModelOnUnload)
        {
            Argument.IsNotNull("tabItem", tabItem);

            var stackPanel = new StackPanel();
            stackPanel.Orientation = Orientation.Horizontal;

            var titleLabel = new Label();
            titleLabel.Content = string.Format("Close on unload: {0}", closeViewModelOnUnload);
            stackPanel.Children.Add(titleLabel);

            var closeButton = new Button();
            closeButton.Content = "X";
            closeButton.ToolTip = "Close";
            closeButton.Click += (sender, e) =>
                                     {
                                         var tabControl = tabItem.FindLogicalAncestorByType<System.Windows.Controls.TabControl>();
                                         if (tabControl != null)
                                         {
                                             var tabItemAsIUserControl = tabItem.Content as IUserControl;
                                             if ((tabItemAsIUserControl != null) && (tabItemAsIUserControl.ViewModel != null))
                                             {
                                                 tabItemAsIUserControl.ViewModel.CloseViewModel(false);
                                             }

                                             tabControl.Items.Remove(tabItem);
                                         }
                                     };
            stackPanel.Children.Add(closeButton);

            return stackPanel;
        }
Esempio n. 10
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);
        }
        public VisualisationDataControl()
        {
            InitializeComponent();

            VisualisationPlotControl ecgVPControl = new VisualisationPlotControl();
            VisualisationTableControl ecgVTControl = new VisualisationTableControl();
            VisualisationHistogramControl ecgVHControl = new VisualisationHistogramControl();

            visulisationDataTabsList = new List<TabItem>();

            TabItem ecgBaselineTab = new TabItem();
            ecgBaselineTab.Header = "Plot";
            ecgBaselineTab.Content = ecgVPControl;
            visulisationDataTabsList.Add(ecgBaselineTab);

            TabItem tableControl = new TabItem();
            tableControl.Header = "Table";
            tableControl.Content = ecgVTControl;
            visulisationDataTabsList.Add(tableControl);

            TabItem histogramControl = new TabItem();
            histogramControl.Header = "Histogram";
            histogramControl.Content = ecgVHControl;
            visulisationDataTabsList.Add(histogramControl);

            this.EcgDataDynamicTab.DataContext = visulisationDataTabsList;
        }
 public void AddEnvironment(IEnvironmentSummaryPresenter environmentSummaryPresenter, string title)
 {
     var tabItem = new TabItem();
     tabItem.Header = title;
     tabItem.Content = environmentSummaryPresenter.View;
     this.tab_control.Items.Add(tabItem);
 }
Esempio n. 13
0
 protected TabState()
 {
     var tabItem = new TabItem();
     TabItem = tabItem;
     TabItem.Header = this;
     tabItem.DataContext = this;
 }
Esempio n. 14
0
        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;
            }
        }
Esempio n. 15
0
        private TabItem AddTabItem()
        {
            int count = _tabcount;
            Debug.WriteLine(count);
            // create new tab item
            var tab = new TabItem
            {
                Header = "C:\\",
                Name = $"tab{count}",
                HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate
            };



            var view = new ExploreView {Name = "Explore"};
            view.FillView(@"C:\");
            view.VerticalAlignment = VerticalAlignment.Stretch;
            view.HorizontalAlignment = HorizontalAlignment.Stretch;

            tab.Content = view;

            // insert tab item right before the last (+) tab item
            _tabItems.Insert(_tabItems.Count-1, tab);
            _tabcount += 1;
            return tab;
        }
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            try
            {
                var source = (IEnumerable)value;
                if (source != null)
                {
                    var tabItems = new List<TabItem>();

                    foreach (object item in source)
                    {
                        var tabItem = new TabItem
                                          {
                                              DataContext = item,
                                              Content = new ContentControl { Template = (ControlTemplate)parameter }
                                          };

                        var binding = new Binding("DisplayName");
                        tabItem.SetBinding(TabItem.HeaderProperty, binding);

                        tabItems.Add(tabItem);
                    }

                    return tabItems;
                }
                return null;
            }
            catch (Exception)
            {
                return null;
            }
        }
Esempio n. 17
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);
            }
        }
        private void updateTable(ProblemResult result)
        {
            ResultTabs.Clear();
            for (int i = 0; i < result.TableResult.Values.Count; ++i)
            {
                ResultDataTable resultDataTable = new ResultDataTable(result.TableResult.Values[i]);
                DataGrid dataGrid = new DataGrid();
                dataGrid.IsReadOnly = true;
                dataGrid.CanUserSortColumns = false;
                dataGrid.CanUserAddRows = false;
                dataGrid.CanUserDeleteRows = false;
                dataGrid.CanUserResizeRows = false;
                dataGrid.CanUserResizeColumns = false;
                dataGrid.SelectionUnit = DataGridSelectionUnit.Cell;
                dataGrid.ItemsSource = resultDataTable.AsDataView;

                TabItem tabItem = new TabItem();
                tabItem.Header = 
                    string.IsNullOrEmpty(result.TableResult.Values[i].Title) 
                    ? (i + 1).ToString() : result.TableResult.Values[i].Title;
                tabItem.Content = dataGrid;
                ResultTabs.Add(tabItem);
            }

            if (ResultTabs.Count > 0)
            {
                tcResultsTabs.SelectedIndex = 0;
                tcResultsTabs.SelectedItem = ResultTabs.First();
                ResultTabs.First().IsSelected = true;
            }
        }
Esempio n. 19
0
        public AWindow(IWindow owner)
            : base(owner, Core.settings)
        {
            TabItem from_me = new TabItem();
            from_me.BeginInit();
            from_me.EndInit();
            this.Background = from_me.Background;
            ProgressBar from_color = new ProgressBar();
            default_progress_color = from_color.Foreground;

            // Taskbar progress setup
            TaskbarItemInfo = new TaskbarItemInfo();
            //            var uriSource = new Uri(System.IO.Path.Combine(Core.ExecutablePath, "masgau.ico"), UriKind.Relative);

            System.Drawing.Icon ico = Properties.Resources.MASGAUIcon;

            this.Icon = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(
                    ico.ToBitmap().GetHbitmap(),
                    IntPtr.Zero,
                    Int32Rect.Empty,
                    BitmapSizeOptions.FromEmptyOptions());

            if (owner != null) {
                this.Owner = owner as System.Windows.Window;
                this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;
            } else {
                this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            }
        }
Esempio n. 20
0
        private void btnAeroSpaceMuseum_Click(object sender, RoutedEventArgs e)
        {
            _main.resetTab(_main.tabControl.SelectedIndex);

            UCInfoScreen _ucInfo = new UCInfoScreen(_main);
            TabItem _tabPage = new TabItem();

            //Code for color
            _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage);
            _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); };

            _tabPage.Header = "Aero Space Museum";
            _ucInfo.txtBlockTitle.Text = "Aero Space Museum";
            _ucInfo.txtBlockAddress.Text = "4629 McCall Way NE, Calgary, AB T2E 8A5";

            Image original = new Image();
            original.Source = new BitmapImage(new Uri("Images/aero-space-museum.jpg", UriKind.Relative));
            _ucInfo.imgPicture.Source = original.Source;
            _ucInfo.listBox.Items.Add(original);

            _ucInfo.txtDescription.Text = @"Who doesn’t wish they could fly? Discover Canada’s aviation adventure and enjoy seeing aircraft up close while hearing the roar of a modern jet overhead. Everything from Canada’s first powered aircraft to the majestic “Queen of the Sky” Lancaster are on display in a historic Second World War drill hall and outdoor hangar.";

            _ucInfo.txtBlockHours.Text = @"Mon - 9:00am to 4:00pm
            Tues - 10:00am to 4:00pm
            Wed - 10:00am to 4:00pm
            Thurs - 10:00am to 4:00pm
            Fri - 10:00am to 4:00pm
            Sat - 10:00am to 4:00pm
            Sun - 10:00am to 4:00pm";

            _tabPage.Content = _ucInfo;
            _main.tabControl.Items.Add(_tabPage);
            _main.tabControl.SelectedItem = _tabPage;
        }
        void InvokeAddTab(ChatUser friend, string message)
        {
            if (FindMatchingChatControl(friend.Summary.SteamId) != null) return;

            if (!chatTabs.Dispatcher.CheckAccess())
                chatTabs.Dispatcher.Invoke(() =>
                {
                    var tabItem = new TabItem { Header = friend.Summary.PersonaName };
                    var chatControl = new ChatControl(this, tabItem, ChatHandler, friend);
                    tabItem.Content = chatControl;
                    chatTabs.Items.Add(tabItem);
                    if (!string.IsNullOrEmpty(message))
                        InvokeHandleMessage(chatControl, message);
                    chatTabs.SelectedIndex = chatTabs.Items.Count - 1;
                });
            else
            {
                var tabItem = new TabItem { Header = friend.Summary.PersonaName };
                var chatControl = new ChatControl(this, tabItem, ChatHandler, friend);
                tabItem.Content = chatControl;
                chatTabs.Items.Add(tabItem);
                if (!string.IsNullOrEmpty(message))
                    InvokeHandleMessage(chatControl, message);
                chatTabs.SelectedIndex = chatTabs.Items.Count - 1;
            }
        }
Esempio n. 22
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            TabItem item = new TabItem();
            item.Content="name";

            this.tab.Items.Add(item);
        }
Esempio n. 23
0
 public void AddFriend(Friend f, bool program = false)
 {
     if (!friends.Contains(f, (new FriendsComparer())))
     {
         friends.Add(f);
         TabItem t = new TabItem();
         t.Header = f.NickName;
         MyTabItem m = new MyTabItem(ref f, nickname,program);
         t.Content = m;
         tabControl1.Items.Add(t);
         
         if (!program || tabControl1.Items.Count == 1)
         {
             ((TabItem)tabControl1.Items[tabControl1.Items.Count - 1]).Focus();
             tabControl1.SelectedIndex = tabControl1.Items.Count - 1;
         }
     }
     else
     {
         bool find = false;
         for (int i = 0; i < friends.Count && !find; i++)
         {
             if (friends[i].Thread_Id == f.Thread_Id)
             {
                 find = true;
                 ((TabItem)tabControl1.Items[i]).Focus();                     
             }
         }
     }
     Show();
 }
Esempio n. 24
0
        public MainWindow()
        {
            InitializeComponent();

                // initialize tabItem array
                _tabItems = new List<TabItem>();

                // add a tabItem with + in header
                _tabAdd = new TabItem();
                //get image for header and setup add button
                _tabAdd.Style = new Style();
                _tabAdd.Background = new SolidColorBrush(Color.FromArgb(0xFF, 0x30, 0x30, 0x30));
                _tabAdd.BorderBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x30, 0x30, 0x30));
                BitmapImage bitmap = new BitmapImage();
                bitmap.BeginInit();
                bitmap.UriSource = new Uri(@"pack://application:,,,/Explore10;component/Images/appbar.add.png");
                bitmap.EndInit();
                Image plus = new Image();
                plus.Source = bitmap;
                plus.Width = 25;
                plus.Height = 25;
                _tabAdd.Width = 35;
                _tabAdd.Header = plus;
                _tabAdd.MouseLeftButtonUp += new MouseButtonEventHandler(tabAdd_MouseLeftButtonUp);
                _tabItems.Add(_tabAdd);

                // add first tab
                //this.AddTabItem();

                // bind tab control
                tabDynamic.DataContext = _tabItems;

                tabDynamic.SelectedIndex = 0;
        }
Esempio n. 25
0
        /// <summary>
        /// 把view的行为适配到control上。
        /// 同时也把control的行为适配到view上。
        /// 
        /// LogicalView.IsVisible 和 TabItem.Visibility 的关系:
        /// 在目标上,两者实现双向绑定。
        /// 1. LogicalView.IsVisible 的改变,直接通过 IsVisibleChanged 事件的处理函数来设置对应的 TabItem 的 Visibility 属性。
        /// 2. TabItem.Visibility 先使用 OnWay 的 Binding 来直接绑定在实体类父对象的某个属性上,实现动态可见性。
        ///     然后,在 Binding 的 UpdateTarget 事件处理函数中,再设置 LogicalView.IsVisible 的值。
        ///     代码位于 ListLogicalView.ResetVisibility() 方法中。
        /// </summary>
        /// <param name="childView"></param>
        /// <param name="control"></param>
        public static void AdaptView(LogicalView childView, TabItem control)
        {
            //IsActive
            control.IsSelected = childView.IsActive;
            childView.IsActiveChanged += (o, e) =>
            {
                control.IsSelected = childView.IsActive;
            };

            //IsVisible
            control.Visibility = childView.IsVisible ? Visibility.Visible : Visibility.Collapsed;
            childView.IsVisibleChanged += (o, e) =>
            {
                var tabControl = control.GetLogicalParent<TabControl>();
                Debug.Assert(tabControl != null, "tabControl != null");

                if (childView.IsVisible)
                {
                    control.Visibility = Visibility.Visible;
                    tabControl.Visibility = Visibility.Visible;
                }
                else
                {
                    control.Visibility = Visibility.Collapsed;

                    if (tabControl.Items.OfType<TabItem>().All(i => i.Visibility == Visibility.Collapsed))
                    {
                        tabControl.Visibility = Visibility.Collapsed;
                    }
                }
            };
        }
        private void AddTabItem(string header, PlanListViewModel aPlanListViewModel)
        {
            if (string.IsNullOrEmpty(header) || null == aPlanListViewModel)
            {
                return;
            }

            var list = this.planListTabControl.Items.Where(w => ((TabItem)w).Header.ToString() == header);
            if (list.Count() > 0)
            {
                ((TabItem)list.First()).Visibility = Visibility.Visible;

                this.planListTabControl.SelectedItem = list.First();
            }
            else
            {
                TabItem tabItem = new TabItem();

                tabItem.Header = header;

                PlanListStatisticsDataGrid planListDataGrid = new PlanListStatisticsDataGrid(aPlanListViewModel, null != planExtraEntity);

                var tabContent = planListDataGrid as UserControl;

                tabItem.Content = tabContent;
                this.planListTabControl.Items.Add(tabItem);
                this.planListTabControl.SelectedItem = tabItem;
            }
        }
 private void Add_Tab_Button(object sender, RoutedEventArgs e)
 {
     TabItem item = new TabItem();
     item.Content = new HorizontalSplitterBrowser();
     item.Header = "Tab-" + this.tabControl.Items.Count.ToString("000");
     this.tabControl.Items.Insert(this.tabControl.Items.Count-1, item);
 }
        private void Page1_Click(object sender, RoutedEventArgs e)
        {
            const string tabName = "Transactions";

            if (!TabExists(tabName))
            {
                TabItem tabitem = new TabItem();
                tabitem.Header = tabName ;
                Frame tabFrame = new Frame();
                Transactions page1 = new Transactions();
                tabFrame.Content = page1;
                tabitem.Content = tabFrame;
                tabitem.Name =tabName;
                tabControlView.Items.Add(tabitem);
                tabControlView.SelectedItem = tabitem;
            }
            else
            {
                List<TabItem> tabitem = (from TabItem item in tabControlView.Items
                                   where item.Name.Equals(tabName)
                                   select item).ToList();
                if (tabitem.Any())
                {
                    tabControlView.SelectedItem = tabitem.First();
                }

            }
                //MessageBox.Show("Tab is Already Open or Too Many Tabs", "Error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
        }
        private void AddTabItem(string header, UserControl aUserControl)
        {
            if (string.IsNullOrEmpty(header) || null == aUserControl)
            {
                return;
            }

            var list = this.planListTabControl.Items.Where(w => ((TabItem)w).Header.ToString() == header);
            if (list.Count() > 0)
            {
                ((TabItem)list.First()).Visibility = Visibility.Visible;

                this.planListTabControl.SelectedItem = list.First();
            }
            else
            {
                TabItem tabItem = new TabItem();

                tabItem.Header = header;
                var tabContent = aUserControl;

                tabItem.Content = tabContent;
                this.planListTabControl.Items.Add(tabItem);
                this.planListTabControl.SelectedItem = tabItem;
            }
        }
Esempio n. 30
0
 public void AddPage(IGUIPage page)
 {
     TabItem item = new TabItem();
     item.Header = page.Header;
     item.Content = page;
     tabControl.Items.Add(item);
 }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWindow = ((sistemaCorporativo.FORMS.cadAgente.CadAgente)(target));

            #line 15 "..\..\..\..\FORMS\CadAgente.xaml"
                this.MetroWindow.Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\FORMS\CadAgente.xaml"
                this.MetroWindow.KeyUp += new System.Windows.Input.KeyEventHandler(this.MetroWindow_KeyUp);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 346 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnCancelar1.Click += new System.Windows.RoutedEventHandler(this.btnCancelar1_Click);

            #line default
            #line hidden
                return;

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

            #line 347 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnGerarLogin.Click += new System.Windows.RoutedEventHandler(this.btnGerarLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 348 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnExcluirAgente.Click += new System.Windows.RoutedEventHandler(this.btnExcluirAgente_Click);

            #line default
            #line hidden
                return;

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

            #line 349 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnEditar.Click += new System.Windows.RoutedEventHandler(this.btnEditar_Click);

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.rdbMasc = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.rdbFem = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.txtNascimento = ((AC.AvalonControlsLibrary.Controls.MaskedTextBox)(target));
                return;

            case 15:
                this.txtCpf = ((AC.AvalonControlsLibrary.Controls.MaskedTextBox)(target));
                return;

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

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

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

            case 19:
                this.txtCep = ((AC.AvalonControlsLibrary.Controls.MaskedTextBox)(target));

            #line 428 "..\..\..\..\FORMS\CadAgente.xaml"
                this.txtCep.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCep_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 432 "..\..\..\..\FORMS\CadAgente.xaml"
                this.txtNumero.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtNumero_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

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

            case 25:
                this.cmbTipo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 29:
                this.txtDataExpedicao = ((AC.AvalonControlsLibrary.Controls.MaskedTextBox)(target));
                return;

            case 30:
                this.imgFoto = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 467 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnCarregar.Click += new System.Windows.RoutedEventHandler(this.btnCarregar_Click);

            #line default
            #line hidden
                return;

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

            #line 468 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.imgDigital = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 471 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnCarregarDigital.Click += new System.Windows.RoutedEventHandler(this.btnCarregarDigital_Click);

            #line default
            #line hidden
                return;

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

            #line 472 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnCadastrar.Click += new System.Windows.RoutedEventHandler(this.btnCadastrar_Click);

            #line default
            #line hidden
                return;

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

            #line 473 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

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

            case 38:
                this.rdbArmSim = ((System.Windows.Controls.RadioButton)(target));

            #line 481 "..\..\..\..\FORMS\CadAgente.xaml"
                this.rdbArmSim.Checked += new System.Windows.RoutedEventHandler(this.rdbArmSim_Checked);

            #line default
            #line hidden
                return;

            case 39:
                this.rdbArmNao = ((System.Windows.Controls.RadioButton)(target));

            #line 482 "..\..\..\..\FORMS\CadAgente.xaml"
                this.rdbArmNao.Checked += new System.Windows.RoutedEventHandler(this.rdbArmNao_Checked);

            #line default
            #line hidden
                return;

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

            case 41:
                this.cmbEstadoCivil = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 42:
                this.txtRg = ((System.Windows.Controls.TextBox)(target));

            #line 493 "..\..\..\..\FORMS\CadAgente.xaml"
                this.txtRg.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtRg_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 494 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnLimpar.Click += new System.Windows.RoutedEventHandler(this.btnLimpar_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.cnvPhoto = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 505 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnLoadCam.Click += new System.Windows.RoutedEventHandler(this.btnLoadCam_Click);

            #line default
            #line hidden
                return;

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

            #line 508 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnLoadFolder.Click += new System.Windows.RoutedEventHandler(this.btnLoadFolder_Click);

            #line default
            #line hidden
                return;

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

            #line 519 "..\..\..\..\FORMS\CadAgente.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            case 49:
                this.imgDigitalFront = ((System.Windows.Controls.Image)(target));

            #line 523 "..\..\..\..\FORMS\CadAgente.xaml"
                this.imgDigitalFront.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imgDigitalFront_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 523 "..\..\..\..\FORMS\CadAgente.xaml"
                this.imgDigitalFront.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imgDigitalFront_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 523 "..\..\..\..\FORMS\CadAgente.xaml"
                this.imgDigitalFront.MouseLeave += new System.Windows.Input.MouseEventHandler(this.imgDigitalFront_MouseLeave);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\UControls\UCCheckList.xaml"
                ((Torun.UControls.UCCheckList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\UControls\UCCheckList.xaml"
                ((Torun.UControls.UCCheckList)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.changeDate = ((System.Windows.Controls.DatePicker)(target));

            #line 18 "..\..\..\UControls\UCCheckList.xaml"
                this.changeDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.ChangeDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ChecklistDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 22 "..\..\..\UControls\UCCheckList.xaml"
                this.Grid_CheckList.CurrentCellChanged += new System.EventHandler <System.EventArgs>(this.Grid_CheckList_CurrentCellChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.Grid_Checklist = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.gridDescriptionColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.gridProcessColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 13:
                this.addNewWork = ((System.Windows.Controls.Image)(target));

            #line 63 "..\..\..\UControls\UCCheckList.xaml"
                this.addNewWork.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AddNewWork_MouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.createReport = ((System.Windows.Controls.Image)(target));

            #line 64 "..\..\..\UControls\UCCheckList.xaml"
                this.createReport.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CreateReport_MouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.miniSettings = ((System.Windows.Controls.Image)(target));

            #line 65 "..\..\..\UControls\UCCheckList.xaml"
                this.miniSettings.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MiniSettings_MouseDown);

            #line default
            #line hidden
                return;

            case 16:
                this.relationShip = ((System.Windows.Controls.TabItem)(target));
                return;

            case 17:
                this.relationStack = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            #line 85 "..\..\..\UControls\UCCheckList.xaml"
                this.relationShipSave.Click += new System.Windows.RoutedEventHandler(this.RelationShipSave_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.listBoxUser = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 90 "..\..\..\UControls\UCCheckList.xaml"
                this.delRel.Click += new System.Windows.RoutedEventHandler(this.DelRel_Click);

            #line default
            #line hidden
                return;

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

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

            case 27:
                this.relResult = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public static void SetHeaderFontSize(System.Windows.Controls.TabItem obj, double value) => obj.SetValue(HeaderFontSizeProperty, value);
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.product_logo = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 22 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.MinimizeWindow.Click += new System.Windows.RoutedEventHandler(this.MinimizeWindow_OnClick);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.MaximizeWindow.Click += new System.Windows.RoutedEventHandler(this.MaximizeWindow_OnClick);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.CloseWindow.Click += new System.Windows.RoutedEventHandler(this.CloseWindow_OnClick);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.MenuMain = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.P4Login = ((System.Windows.Controls.MenuItem)(target));

            #line 39 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.P4Login.Click += new System.Windows.RoutedEventHandler(this.P4Login_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.P4Logout = ((System.Windows.Controls.MenuItem)(target));

            #line 41 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.P4Logout.Click += new System.Windows.RoutedEventHandler(this.P4Logout_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Open = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.File = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.Save = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.About = ((System.Windows.Controls.MenuItem)(target));

            #line 49 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.About.Click += new System.Windows.RoutedEventHandler(this.About_OnClick);

            #line default
            #line hidden
                return;

            case 15:
                this.TabViews = ((System.Windows.Controls.TabControl)(target));

            #line 54 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.TabViews.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.PathViewTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 17:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.LogTab1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 21:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 23:
                this.ChangelistGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            #line 115 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.chooseFile1.Click += new System.Windows.RoutedEventHandler(this.ChooseWorkspace_Click);

            #line default
            #line hidden
                return;

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

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

            #line 126 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.chooseFile2.Click += new System.Windows.RoutedEventHandler(this.ChooseWorkspace_Click);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.Run.Click += new System.Windows.RoutedEventHandler(this.Run_Click);

            #line default
            #line hidden
                return;

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

            case 32:
                this.FilterContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.AllFiles = ((System.Windows.Controls.RadioButton)(target));

            #line 137 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.AllFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.OnlyIntegratedFiles = ((System.Windows.Controls.RadioButton)(target));

            #line 138 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.OnlyIntegratedFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.OnlyNotIntegratedFiles = ((System.Windows.Controls.RadioButton)(target));

            #line 139 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.OnlyNotIntegratedFiles.Checked += new System.Windows.RoutedEventHandler(this.FiltersStatusChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.FindMatch = ((System.Windows.Controls.CheckBox)(target));

            #line 140 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.FindMatch.Click += new System.Windows.RoutedEventHandler(this.FindMatch_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.DataGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.DataGridTable = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 40:
                this.Log = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 42:
                this.LogTab = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 44:
                this.Footer = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 247 "..\..\..\View\SubmissionTrackerWindow.xaml"
                this.ProgressBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ProgressBar_ValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 35
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcCalculFactureClient.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.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.Gbo_PieceJointe             = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     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_Devis_Copy              = ((System.Windows.Controls.Label)(this.FindName("lbl_Devis_Copy")));
     this.lbl_Ordre                   = ((System.Windows.Controls.Label)(this.FindName("lbl_Ordre")));
     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.dg_compteur          = ((System.Windows.Controls.DataGrid)(this.FindName("dg_compteur")));
     this.btn_Rejeter          = ((System.Windows.Controls.Button)(this.FindName("btn_Rejeter")));
 }
Esempio n. 36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MenuLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 17 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintButton.Click += new System.Windows.RoutedEventHandler(this.PrintButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 35 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.MainTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 11:
                this.IncidentControlUC = ((Invert911.Incident.IncidentControl)(target));
                return;

            case 12:
                this.PersonTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.IncidentPersons = ((Invert911.InvertCommon.Modules.Person.Persons)(target));
                return;

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

            case 15:
                this.IncidentVehicles = ((Invert911.InvertCommon.Modules.Vehicle.Vehicles)(target));
                return;

            case 16:
                this.IncidentProperties = ((Invert911.InvertCommon.Modules.Property.Properties)(target));
                return;

            case 17:
                this.IncidentAttachments = ((Invert911.InvertCommon.Modules.Attachments)(target));
                return;

            case 18:
                this.IncidentLinks = ((Invert911.InvertCommon.Modules.Links)(target));
                return;

            case 19:
                this.NarrativeTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.SummaryNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
                return;

            case 21:
                this.MainNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
                return;

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

            case 23:
                this.OffenseTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 25:
                this.LawIncidentAssociations = ((Invert911.InvertCommon.Modules.Linkage)(target));
                return;

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

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

            #line 222 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.StandardReportButton.Click += new System.Windows.RoutedEventHandler(this.StandardReportButton_Click);

            #line default
            #line hidden
                return;

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

            #line 224 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.DeltaIncidentButton.Click += new System.Windows.RoutedEventHandler(this.DeltaIncidentButton_Click);

            #line default
            #line hidden
                return;

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

            #line 226 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.ExportDataReport.Click += new System.Windows.RoutedEventHandler(this.ExportDataReport_Click);

            #line default
            #line hidden
                return;

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

            #line 227 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.ExportSchemaReport.Click += new System.Windows.RoutedEventHandler(this.ExportSchemaReport_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.PrintReportBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintReportBrowser.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.PrintReportBrowser_Navigating);

            #line default
            #line hidden

            #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintReportBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.PrintReportBrowser_Navigated);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.clientesTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 3:
                this.clientesDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            case 7:
                this.dataNascimentoTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

            #line 118 "..\..\..\MainWindow.xaml"
                this.incluirClienteButton.Click += new System.Windows.RoutedEventHandler(this.incluirClienteButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line 148 "..\..\..\MainWindow.xaml"
                this.tipoContaComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tipoContaComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.limiteDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

            #line 155 "..\..\..\MainWindow.xaml"
                this.incluirContaButton.Click += new System.Windows.RoutedEventHandler(this.incluirContaButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\..\Windows\OptionWindow.xaml"
                ((MailSendWPF.Windows.OptionWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\..\Windows\OptionWindow.xaml"
                this.optionTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.optionTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.rbSendOriginal = ((System.Windows.Controls.RadioButton)(target));

            #line 24 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSendOriginal.Checked += new System.Windows.RoutedEventHandler(this.rbSendOriginal_Checked);

            #line default
            #line hidden

            #line 24 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSendOriginal.Unchecked += new System.Windows.RoutedEventHandler(this.rbSendOriginal_Unchecked);

            #line default
            #line hidden
                return;

            case 5:
                this.chkFallBack = ((System.Windows.Controls.CheckBox)(target));

            #line 25 "..\..\..\..\Windows\OptionWindow.xaml"
                this.chkFallBack.Unchecked += new System.Windows.RoutedEventHandler(this.chkFallBack_Unchecked);

            #line default
            #line hidden

            #line 25 "..\..\..\..\Windows\OptionWindow.xaml"
                this.chkFallBack.Checked += new System.Windows.RoutedEventHandler(this.chkFallBack_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.rbParseHeader = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbParseHeader.Checked += new System.Windows.RoutedEventHandler(this.rbParseHeader_Checked);

            #line default
            #line hidden

            #line 27 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbParseHeader.Unchecked += new System.Windows.RoutedEventHandler(this.rbParseHeader_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.rbOriginalMessage = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbOriginalMessage.Checked += new System.Windows.RoutedEventHandler(this.rbOriginalMessage_Checked);

            #line default
            #line hidden

            #line 28 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbOriginalMessage.Unchecked += new System.Windows.RoutedEventHandler(this.rbOriginalMessage_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

            case 11:
                this.chkEndlessSending = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 15:
                this.rbAnonymous = ((System.Windows.Controls.RadioButton)(target));

            #line 108 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbAnonymous.Checked += new System.Windows.RoutedEventHandler(this.rbAnonymous_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.rbBasic = ((System.Windows.Controls.RadioButton)(target));

            #line 109 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbBasic.Checked += new System.Windows.RoutedEventHandler(this.rbBasic_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.rbNoneSSL = ((System.Windows.Controls.RadioButton)(target));

            #line 130 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbNoneSSL.Checked += new System.Windows.RoutedEventHandler(this.rbNoneSSL_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.rbSMTPS = ((System.Windows.Controls.RadioButton)(target));

            #line 132 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSMTPS.Checked += new System.Windows.RoutedEventHandler(this.rbSMTPS_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.rbTLS = ((System.Windows.Controls.RadioButton)(target));

            #line 135 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbTLS.Checked += new System.Windows.RoutedEventHandler(this.rbTLS_Checked);

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.chkLogging = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\..\..\Windows\OptionWindow.xaml"
                this.chkLogging.Click += new System.Windows.RoutedEventHandler(this.chkLogging_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 27:
                this.tabHeader = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 248 "..\..\..\..\Windows\OptionWindow.xaml"
                this.headerName.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.headerName_MouseDown);

            #line default
            #line hidden

            #line 248 "..\..\..\..\Windows\OptionWindow.xaml"
                this.headerName.GotFocus += new System.Windows.RoutedEventHandler(this.headerName_GotFocus);

            #line default
            #line hidden

            #line 248 "..\..\..\..\Windows\OptionWindow.xaml"
                this.headerName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.headerName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.headerValue = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

            #line 257 "..\..\..\..\Windows\OptionWindow.xaml"
                this.btnAddHeader.Click += new System.Windows.RoutedEventHandler(this.btnAddHeader_Click);

            #line default
            #line hidden
                return;

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

            #line 258 "..\..\..\..\Windows\OptionWindow.xaml"
                this.btnRemoveHeader.Click += new System.Windows.RoutedEventHandler(this.btnRemoveHeader_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.rbSubjectNone = ((System.Windows.Controls.RadioButton)(target));

            #line 278 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectNone.Click += new System.Windows.RoutedEventHandler(this.rbSubjectNone_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.rbSubjectBegin = ((System.Windows.Controls.RadioButton)(target));

            #line 279 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectBegin.Click += new System.Windows.RoutedEventHandler(this.rbSubjectBegin_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.rbSubjectEnd = ((System.Windows.Controls.RadioButton)(target));

            #line 280 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectEnd.Click += new System.Windows.RoutedEventHandler(this.rbSubjectEnd_Click);

            #line default
            #line hidden
                return;

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

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

            case 39:
                this.subjectAddMailCount = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 40:
                this.addMailName = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 41:
                this.rbSubjectMailNameBegin = ((System.Windows.Controls.RadioButton)(target));

            #line 288 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectMailNameBegin.Click += new System.Windows.RoutedEventHandler(this.rbSubjectMailNameBegin_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.rbSubjectMailNameEnd = ((System.Windows.Controls.RadioButton)(target));

            #line 289 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectMailNameEnd.Click += new System.Windows.RoutedEventHandler(this.rbSubjectMailNameEnd_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.rbSubjectMailNameReplace = ((System.Windows.Controls.RadioButton)(target));

            #line 290 "..\..\..\..\Windows\OptionWindow.xaml"
                this.rbSubjectMailNameReplace.Click += new System.Windows.RoutedEventHandler(this.rbSubjectMailNameReplace_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.chkAddHeader = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 45:
                this.chkAddSender = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 46:
                this.chkAddRecipient = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 48:
                this.chkUseRecipientGroup1 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 321 "..\..\..\..\Windows\OptionWindow.xaml"
                this.txtRecipientGroupStart.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnCommitBindingGroup);

            #line default
            #line hidden
                return;

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

            #line 328 "..\..\..\..\Windows\OptionWindow.xaml"
                this.txtRecipientGroupEnd.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnCommitBindingGroup);

            #line default
            #line hidden
                return;

            case 52:
                this.txtDomain = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.senderGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 54:
                this.chkUseSenderGroup1 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 56:
                this.txtSenderGroupStart = ((System.Windows.Controls.TextBox)(target));

            #line 354 "..\..\..\..\Windows\OptionWindow.xaml"
                this.txtSenderGroupStart.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnCommitBindingGroupSender);

            #line default
            #line hidden
                return;

            case 57:
                this.txtSenderGroupEnd = ((System.Windows.Controls.TextBox)(target));

            #line 361 "..\..\..\..\Windows\OptionWindow.xaml"
                this.txtSenderGroupEnd.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnCommitBindingGroupSender);

            #line default
            #line hidden
                return;

            case 58:
                this.txtSenderDomain = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 60:
                this.chkKeyManagerTest = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 61:
                this.tenantDisplayName = ((System.Windows.Controls.ListBox)(target));

            #line 405 "..\..\..\..\Windows\OptionWindow.xaml"
                this.tenantDisplayName.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.headerName_MouseDown);

            #line default
            #line hidden

            #line 405 "..\..\..\..\Windows\OptionWindow.xaml"
                this.tenantDisplayName.GotFocus += new System.Windows.RoutedEventHandler(this.headerName_GotFocus);

            #line default
            #line hidden

            #line 405 "..\..\..\..\Windows\OptionWindow.xaml"
                this.tenantDisplayName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tenantName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 62:
                this.tenantGuid = ((System.Windows.Controls.ListBox)(target));
                return;

            case 63:
                this.txtTenantDisplayName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 64:
                this.txtTenantValue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.btnAddTenantDisplayName = ((System.Windows.Controls.Button)(target));

            #line 414 "..\..\..\..\Windows\OptionWindow.xaml"
                this.btnAddTenantDisplayName.Click += new System.Windows.RoutedEventHandler(this.btnAddTenant_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.btnRemoveTenantDisplayName = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\..\..\Windows\OptionWindow.xaml"
                this.btnRemoveTenantDisplayName.Click += new System.Windows.RoutedEventHandler(this.btnRemoveTenant_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.GetPrivateKeyRequest = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 68:
                this.GetAllPrivateKeysForEmailRequest = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 72:
                this.Get509CertificateRequest = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 74:
                this.GetX509CertificateForVerificationBySignedDataRequest = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 76:
                this.ImportFromTenant = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.PrivateKeyType = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.PublicKeyType = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 80:
                this.optionDialogClose = ((System.Windows.Controls.Button)(target));

            #line 457 "..\..\..\..\Windows\OptionWindow.xaml"
                this.optionDialogClose.Click += new System.Windows.RoutedEventHandler(this.optionDialogClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

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

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

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

            case 5:
                this.rowsCountStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 7:

            #line 169 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Viewbox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.operDbUse_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.IidkViewBox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 9:
                this.iidkDisconnected = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            case 11:

            #line 255 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.AccessEvents = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.PersonsAEF = ((MolserControls.MsComboBox)(target));
                return;

            case 14:
                this.DepartmentsAEF = ((MolserControls.MsTextBox)(target));

            #line 363 "..\..\..\Views\MainWindow.xaml"
                this.DepartmentsAEF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.StartDateAEF = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 16:
                this.EndDateAEQP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 17:

            #line 500 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.AeEventsButton_Checked);

            #line default
            #line hidden
                return;

            case 18:

            #line 531 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.AeAccessPointsButton_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.PersonIDTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 20:
                this.FacilityCodTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 21:
                this.CardPartParsecTextBox = ((MolserControls.MsTextBox)(target));
                return;

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

            #line 668 "..\..\..\Views\MainWindow.xaml"
                this.accessEvenetsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 674 "..\..\..\Views\MainWindow.xaml"
                this.accessEvenetsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.DataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 23:
                this.Persons = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.PersonPF = ((MolserControls.MsTextBox)(target));

            #line 929 "..\..\..\Views\MainWindow.xaml"
                this.PersonPF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 25:
                this.DepartmentsPF = ((MolserControls.MsTextBox)(target));

            #line 972 "..\..\..\Views\MainWindow.xaml"
                this.DepartmentsPF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 26:
                this.PersonsPersonIDTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 27:
                this.PersonsFacilityCodTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 28:
                this.PersonsCardPartParsecTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 29:
                this.cbDepartmentFilter = ((MolserControls.MsComboBox)(target));

            #line 1117 "..\..\..\Views\MainWindow.xaml"
                this.cbDepartmentFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbDepartmentFilter_SelectionChanged);

            #line default
            #line hidden

            #line 1118 "..\..\..\Views\MainWindow.xaml"
                this.cbDepartmentFilter.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.cbDepartmentFilter_TargetUpdated);

            #line default
            #line hidden
                return;

            case 30:
                this.personsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1133 "..\..\..\Views\MainWindow.xaml"
                this.personsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.personsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1138 "..\..\..\Views\MainWindow.xaml"
                this.personsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.DataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 31:
                this.AccessPoints = ((System.Windows.Controls.TabItem)(target));
                return;

            case 32:
                this.AccessPointName = ((MolserControls.MsTextBox)(target));

            #line 1311 "..\..\..\Views\MainWindow.xaml"
                this.AccessPointName.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 33:
                this.accessPointsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1405 "..\..\..\Views\MainWindow.xaml"
                this.accessPointsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1413 "..\..\..\Views\MainWindow.xaml"
                this.accessPointsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.accessPointsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 34:
                this.Levels = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.LevelName = ((MolserControls.MsTextBox)(target));

            #line 1532 "..\..\..\Views\MainWindow.xaml"
                this.LevelName.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 36:
                this.levelsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1632 "..\..\..\Views\MainWindow.xaml"
                this.levelsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.levelsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1640 "..\..\..\Views\MainWindow.xaml"
                this.levelsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.levelsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 37:
                this.Notifications = ((System.Windows.Controls.TabItem)(target));
                return;

            case 38:
                this.alarmIndicator = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 39:
                this.alarmIndicator2 = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 40:
                this.alarmIndicator3 = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 41:
                this.notificationsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1879 "..\..\..\Views\MainWindow.xaml"
                this.notificationsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1887 "..\..\..\Views\MainWindow.xaml"
                this.notificationsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.notificationsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 43:
                this.taskBarItemInfo = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DodavanjePredmetaWindow = ((HCI_Projekat.DodavanjePredmeta)(target));
                return;

            case 2:

            #line 30 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 31 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 32 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 33 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 34 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 7:

            #line 35 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backStep);

            #line default
            #line hidden
                return;

            case 8:

            #line 36 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 37 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 11:

            #line 39 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 12:

            #line 40 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 13:
                this.FirstMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 14:

            #line 70 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 15:

            #line 76 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 16:

            #line 84 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 17:

            #line 90 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 18:

            #line 98 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 19:

            #line 104 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 110 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 21:
                this.NextStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 118 "..\..\DodavanjePredmeta.xaml"
                this.NextStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 22:
                this.BackStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 119 "..\..\DodavanjePredmeta.xaml"
                this.BackStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.backStep);

            #line default
            #line hidden
                return;

            case 23:
                this.SecondMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 24:
                this.Undo = ((System.Windows.Controls.MenuItem)(target));

            #line 137 "..\..\DodavanjePredmeta.xaml"
                this.Undo.Click += new System.Windows.RoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 25:
                this.Redo = ((System.Windows.Controls.MenuItem)(target));

            #line 143 "..\..\DodavanjePredmeta.xaml"
                this.Redo.Click += new System.Windows.RoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 26:
                this.Cut = ((System.Windows.Controls.MenuItem)(target));

            #line 149 "..\..\DodavanjePredmeta.xaml"
                this.Cut.Click += new System.Windows.RoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 27:
                this.Copy = ((System.Windows.Controls.MenuItem)(target));

            #line 155 "..\..\DodavanjePredmeta.xaml"
                this.Copy.Click += new System.Windows.RoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 28:
                this.Paste = ((System.Windows.Controls.MenuItem)(target));

            #line 161 "..\..\DodavanjePredmeta.xaml"
                this.Paste.Click += new System.Windows.RoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 29:
                this.tabControlPredmet = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

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

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

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

            #line 302 "..\..\DodavanjePredmeta.xaml"
                this.smeroviTabela.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.smeroviTabela_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.VelicinaGrupePredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 36:
                this.DuzinaTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 37:
                this.BrojTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 433 "..\..\DodavanjePredmeta.xaml"
                this.quitButton.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

            #line 455 "..\..\DodavanjePredmeta.xaml"
                this.nextButton.Click += new System.Windows.RoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 40:
                this.Korak2Predmet = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.PrisustvoTablePredmet = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 42:
                this.PrisustvoProjektoraPredmet = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 43:
                this.PrisustvoPametneTable = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 44:
                this.Linux = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 46:
                this.Svejedno = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 47:
                this.softverTabela = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 710 "..\..\DodavanjePredmeta.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

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

            #line 732 "..\..\DodavanjePredmeta.xaml"
                this.quitButtonTab2.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

            #line 754 "..\..\DodavanjePredmeta.xaml"
                this.finishButton.Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window1 = ((TechnoFriend.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.window1.StateChanged += new System.EventHandler(this.Window1_StateChanged);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.window1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window1_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:

            #line 81 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 136 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

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

            case 10:
                this.tabcontrol = ((System.Windows.Controls.TabControl)(target));

            #line 147 "..\..\MainWindow.xaml"
                this.tabcontrol.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.col0 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 13:
                this.lrow1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 14:
                this.status_list = ((System.Windows.Controls.ListBox)(target));

            #line 206 "..\..\MainWindow.xaml"
                this.status_list.Loaded += new System.Windows.RoutedEventHandler(this.Status_list_Loaded);

            #line default
            #line hidden
                return;

            case 19:
                this.definetab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.row1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 31:

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

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\MainWindow.xaml"
                this.speedTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.noofitems = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.settingstab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 564 "..\..\MainWindow.xaml"
                this.path.Loaded += new System.Windows.RoutedEventHandler(this.Path_Loaded);

            #line default
            #line hidden

            #line 569 "..\..\MainWindow.xaml"
                this.path.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Path_TextChanged);

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:
                this.schedtab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 38:
                this.selection = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 601 "..\..\MainWindow.xaml"
                this.schedcombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.fromtb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 42:
                this.totb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 44:
                this.overridecb = ((System.Windows.Controls.CheckBox)(target));

            #line 642 "..\..\MainWindow.xaml"
                this.overridecb.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 643 "..\..\MainWindow.xaml"
                this.overridecb.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.overridespeed = ((System.Windows.Controls.TextBox)(target));

            #line 648 "..\..\MainWindow.xaml"
                this.overridespeed.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Overridespeed_TextChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.checkpic = ((System.Windows.Controls.Image)(target));

            #line 667 "..\..\MainWindow.xaml"
                this.checkpic.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Checkpic_MouseDown);

            #line default
            #line hidden
                return;

            case 47:
                this.datecb = ((System.Windows.Controls.CheckBox)(target));

            #line 672 "..\..\MainWindow.xaml"
                this.datecb.Checked += new System.Windows.RoutedEventHandler(this.Datecb_Checked);

            #line default
            #line hidden

            #line 674 "..\..\MainWindow.xaml"
                this.datecb.Unchecked += new System.Windows.RoutedEventHandler(this.Datecb_Unchecked);

            #line default
            #line hidden
                return;

            case 48:
                this.dateofrun = ((System.Windows.Controls.DatePicker)(target));

            #line 683 "..\..\MainWindow.xaml"
                this.dateofrun.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dateofrun_SelectedDateChanged);

            #line default
            #line hidden

            #line 686 "..\..\MainWindow.xaml"
                this.dateofrun.Loaded += new System.Windows.RoutedEventHandler(this.Dateofrun_Loaded);

            #line default
            #line hidden
                return;

            case 49:
                this.timeofrun = ((Xceed.Wpf.Toolkit.TimePicker)(target));

            #line 700 "..\..\MainWindow.xaml"
                this.timeofrun.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.Timeofrun_ValueChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.selectall = ((System.Windows.Controls.CheckBox)(target));

            #line 724 "..\..\MainWindow.xaml"
                this.selectall.Checked += new System.Windows.RoutedEventHandler(this.Selectall_Checked);

            #line default
            #line hidden

            #line 725 "..\..\MainWindow.xaml"
                this.selectall.Unchecked += new System.Windows.RoutedEventHandler(this.Selectall_Unchecked);

            #line default
            #line hidden
                return;

            case 51:
                this.tasksselector = ((System.Windows.Controls.ListBox)(target));

            #line 731 "..\..\MainWindow.xaml"
                this.tasksselector.Loaded += new System.Windows.RoutedEventHandler(this.Tasksselector_Loaded);

            #line default
            #line hidden
                return;

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

            #line 763 "..\..\MainWindow.xaml"
                this.startButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

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

            #line 768 "..\..\MainWindow.xaml"
                this.stopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 42
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcVerification.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_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.lbl_Site                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Site")));
     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.Gbo_PieceJointe             = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     this.Chk_PasDeFacture            = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_PasDeFacture")));
     this.cbo_typedoc_Copy            = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc_Copy")));
     this.Txt_Annotation              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Annotation")));
     this.dgListePiece                = ((System.Windows.Controls.DataGrid)(this.FindName("dgListePiece")));
     this.cbo_typedoc                 = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc")));
     this.lbl_Produit_Copy            = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit_Copy")));
     this.lbl_Client                  = ((System.Windows.Controls.Label)(this.FindName("lbl_Client")));
     this.Txt_Client                  = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Client")));
     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_Porte                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Porte")));
     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_Rue_Copy                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Rue_Copy")));
     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.txt_DebutExoneration     = ((System.Windows.Controls.TextBox)(this.FindName("txt_DebutExoneration")));
     this.txt_FinExoneration       = ((System.Windows.Controls.TextBox)(this.FindName("txt_FinExoneration")));
     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.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.tabItemRejet                   = ((System.Windows.Controls.TabItem)(this.FindName("tabItemRejet")));
     this.dtg_RejetDemande               = ((System.Windows.Controls.DataGrid)(this.FindName("dtg_RejetDemande")));
     this.tabPieceJointe_Copy            = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe_Copy")));
     this.Vwb            = ((System.Windows.Controls.Viewbox)(this.FindName("Vwb")));
     this.btn_transmetre = ((System.Windows.Controls.Button)(this.FindName("btn_transmetre")));
     this.RejeterButton  = ((System.Windows.Controls.Button)(this.FindName("RejeterButton")));
 }
 public static void SetIconKind(System.Windows.Controls.TabItem obj, PackIconMaterialKind value) => obj.SetValue(IconKindProperty, value);
Esempio n. 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AboutSHTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

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

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

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

            case 7:
                this.TourismSP = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.Travel1 = ((System.Windows.Controls.Image)(target));

            #line 44 "..\..\..\Pages\AboutSHPage.xaml"
                this.Travel1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Travel1_MouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.Travel2 = ((System.Windows.Controls.Image)(target));

            #line 45 "..\..\..\Pages\AboutSHPage.xaml"
                this.Travel2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Travel2_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.Travel3 = ((System.Windows.Controls.Image)(target));

            #line 46 "..\..\..\Pages\AboutSHPage.xaml"
                this.Travel3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Travel3_MouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.Hotel1 = ((System.Windows.Controls.Image)(target));

            #line 50 "..\..\..\Pages\AboutSHPage.xaml"
                this.Hotel1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Hotel1_MouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.Hotel2 = ((System.Windows.Controls.Image)(target));

            #line 51 "..\..\..\Pages\AboutSHPage.xaml"
                this.Hotel2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Hotel2_MouseDown);

            #line default
            #line hidden
                return;

            case 13:
                this.Hotel3 = ((System.Windows.Controls.Image)(target));

            #line 52 "..\..\..\Pages\AboutSHPage.xaml"
                this.Hotel3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Hotel3_MouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.Food1 = ((System.Windows.Controls.Image)(target));

            #line 56 "..\..\..\Pages\AboutSHPage.xaml"
                this.Food1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Food1_MouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.Food2 = ((System.Windows.Controls.Image)(target));

            #line 57 "..\..\..\Pages\AboutSHPage.xaml"
                this.Food2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Food2_MouseDown);

            #line default
            #line hidden
                return;

            case 16:
                this.Food3 = ((System.Windows.Controls.Image)(target));

            #line 58 "..\..\..\Pages\AboutSHPage.xaml"
                this.Food3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Food3_MouseDown);

            #line default
            #line hidden
                return;

            case 17:
                this.ShowImage = ((System.Windows.Controls.Image)(target));

            #line 62 "..\..\..\Pages\AboutSHPage.xaml"
                this.ShowImage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowImage_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public static PackIconMaterialKind GetIconKind(System.Windows.Controls.TabItem obj) => (PackIconMaterialKind)obj.GetValue(IconKindProperty);
 public static void SetIconVisibility(System.Windows.Controls.TabItem obj, Visibility value) => obj.SetValue(IconVisibilityProperty, value);
 public static double GetHeaderFontSize(System.Windows.Controls.TabItem obj) => (double)obj.GetValue(HeaderFontSizeProperty);
 public static void SetIconForeground(System.Windows.Controls.TabItem obj, Brush value) => obj.SetValue(IconForegroundProperty, value);
 public static Visibility GetIconVisibility(System.Windows.Controls.TabItem obj) => (Visibility)obj.GetValue(IconVisibilityProperty);
Esempio n. 50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonReveal = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.ButtonReveal.Click += new System.Windows.RoutedEventHandler(this.ButtonReveal_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.LabelPlayerBResult = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            #line 17 "..\..\MainWindow.xaml"
                this.ButtonHeads.Click += new System.Windows.RoutedEventHandler(this.ButtonHeads_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 16:
                this.Rules2 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this.Rules4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.TabHead2 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

            case 23:
                this.TabHead3 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 25:
                this.Answer1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.Question1_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.Hider2.Click += new System.Windows.RoutedEventHandler(this.Hider2_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 31:
                this.AwardA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.AwardB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.AwardPlus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.AwardEquals = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.AwardTotal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.Question1_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public static Brush GetIconForeground(System.Windows.Controls.TabItem obj) => (Brush)obj.GetValue(IconForegroundProperty);
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/Demande/UcInitialisationEP.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.txtSite                     = ((System.Windows.Controls.TextBox)(this.FindName("txtSite")));
     this.txtCentre                   = ((System.Windows.Controls.TextBox)(this.FindName("txtCentre")));
     this.label1                      = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.tabC_Onglet                 = ((System.Windows.Controls.TabControl)(this.FindName("tabC_Onglet")));
     this.Gbo_Payeur                  = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_Payeur")));
     this.rdb_IsBonneInitiative       = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_IsBonneInitiative")));
     this.rdb_IsEdm                   = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_IsEdm")));
     this.rdb_IsCommune               = ((System.Windows.Controls.RadioButton)(this.FindName("rdb_IsCommune")));
     this.Txt_NomClient_PersonePhysiq = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient_PersonePhysiq")));
     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.label9                      = ((System.Windows.Controls.Label)(this.FindName("label9")));
     this.TxtCategorieClient          = ((System.Windows.Controls.TextBox)(this.FindName("TxtCategorieClient")));
     this.label12_Copy                = ((System.Windows.Controls.Label)(this.FindName("label12_Copy")));
     this.Txt_CodeConso               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeConso")));
     this.lbl_CodeConso               = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConso")));
     this.label21                     = ((System.Windows.Controls.Label)(this.FindName("label21")));
     this.Cbo_ReglageCompteur         = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_ReglageCompteur")));
     this.TxtUsageClient              = ((System.Windows.Controls.TextBox)(this.FindName("TxtUsageClient")));
     this.label9_Copy                 = ((System.Windows.Controls.Label)(this.FindName("label9_Copy")));
     this.Txt_NombreFoyer             = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NombreFoyer")));
     this.label9_Copy1                = ((System.Windows.Controls.Label)(this.FindName("label9_Copy1")));
     this.tabPieceJointe              = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe")));
     this.cbo_typedoc                 = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc")));
     this.Gbo_PieceJointe             = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     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.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.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_Porte                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Porte")));
     this.label17_Copy                = ((System.Windows.Controls.Label)(this.FindName("label17_Copy")));
     this.label18                     = ((System.Windows.Controls.Label)(this.FindName("label18")));
     this.txtAdresse                  = ((System.Windows.Controls.TextBox)(this.FindName("txtAdresse")));
 }
Esempio n. 53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\Main.xaml"
                ((Chekeh.Main)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.thisChat = ((Chekeh.ChatUserControl)(target));
                return;

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

            #line 17 "..\..\Main.xaml"
                this.Profile.GotFocus += new System.Windows.RoutedEventHandler(this.Profile_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 23:
                this.textbox_Password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 24:
                this.textbox_ConfirmPass = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 25:
                this.Image_Profile = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 38 "..\..\Main.xaml"
                this.button_Image.Click += new System.Windows.RoutedEventHandler(this.button_Image_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\Main.xaml"
                this.button_Delete.Click += new System.Windows.RoutedEventHandler(this.button_Delete_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\Main.xaml"
                this.button_Update.Click += new System.Windows.RoutedEventHandler(this.button_Update_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\Main.xaml"
                this.Store.GotFocus += new System.Windows.RoutedEventHandler(this.Store_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

            case 33:
                this.comboBox_City = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

            #line 53 "..\..\Main.xaml"
                this.button_Store.Click += new System.Windows.RoutedEventHandler(this.button_Store_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.storesList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 40:
                this.Product = ((System.Windows.Controls.TabItem)(target));

            #line 62 "..\..\Main.xaml"
                this.Product.GotFocus += new System.Windows.RoutedEventHandler(this.Product_GotFocus);

            #line default
            #line hidden
                return;

            case 41:
                this.comboBox_Store1 = ((System.Windows.Controls.ComboBox)(target));

            #line 65 "..\..\Main.xaml"
                this.comboBox_Store1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_Store1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.ProductsList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 43:
                this.Partner = ((System.Windows.Controls.TabItem)(target));

            #line 76 "..\..\Main.xaml"
                this.Partner.GotFocus += new System.Windows.RoutedEventHandler(this.Partner_GotFocus);

            #line default
            #line hidden
                return;

            case 44:
                this.comboBox_Store2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 45:
                this.CustomersList = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

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

            case 3:

            #line 301 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CategoriestabItem1_Clicked);

            #line default
            #line hidden
                return;

            case 4:
                this.Categories = ((System.Windows.Controls.ComboBox)(target));

            #line 315 "..\..\MainWindow.xaml"
                this.Categories.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.chan);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

            #line 320 "..\..\MainWindow.xaml"
                this.tabVisible.Click += new System.Windows.RoutedEventHandler(this.TabVisible);

            #line default
            #line hidden
                return;

            case 7:
                this.BusinessListView = ((System.Windows.Controls.ListView)(target));

            #line 322 "..\..\MainWindow.xaml"
                this.BusinessListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.editBusiness);

            #line default
            #line hidden
                return;

            case 8:
                this.GridViewWithStyle = ((System.Windows.Controls.GridView)(target));
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.CategoriesListView = ((System.Windows.Controls.ListView)(target));

            #line 362 "..\..\MainWindow.xaml"
                this.CategoriesListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.EditCategory);

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:
                this.CalenderTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.calendar = ((System.Windows.Controls.Calendar)(target));

            #line 461 "..\..\MainWindow.xaml"
                this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Selecteddatechanged);

            #line default
            #line hidden
                return;

            case 20:
                this.CalenderCategoriesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:
                this.GridViewWithStyleCalender = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((WTBot.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.tabControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.onTabControlSizeChanged);

            #line default
            #line hidden
                return;

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

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

            case 5:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.tasksGridSizeChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\MainWindow.xaml"
                this.lvTasks.SizeChanged += new System.Windows.SizeChangedEventHandler(this.lvTasks_SizeChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.gvTasks = ((System.Windows.Controls.GridView)(target));
                return;

            case 12:
                this.colTaskName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 13:
                this.colProfile = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 14:
                this.colCheckoutDelay = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 15:
                this.colRun = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.tbLogScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.tbLog = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 65 "..\..\MainWindow.xaml"
                this.butSolveCaptchas.Click += new System.Windows.RoutedEventHandler(this.butSolveCaptchas_Click);

            #line default
            #line hidden
                return;

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

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

            case 22:

            #line 73 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.settingsGridSizeChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 39:
                this.labelCardDetails = ((System.Windows.Controls.Label)(target));
                return;

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

            case 41:
                this.labelCardNumber = ((System.Windows.Controls.Label)(target));
                return;

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

            case 43:
                this.labelCardCvv = ((System.Windows.Controls.Label)(target));
                return;

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

            case 45:
                this.cbCountry = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 46:
                this.cbCardType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 48:
                this.cbCardMonth = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 49:
                this.cbCardYear = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            #line 199 "..\..\MainWindow.xaml"
                this.butSave.Click += new System.Windows.RoutedEventHandler(this.butSave_Click);

            #line default
            #line hidden
                return;

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

            #line 200 "..\..\MainWindow.xaml"
                this.butClear.Click += new System.Windows.RoutedEventHandler(this.butClear_Click);

            #line default
            #line hidden
                return;

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

            #line 201 "..\..\MainWindow.xaml"
                this.butEdit.Click += new System.Windows.RoutedEventHandler(this.butEdit_Click);

            #line default
            #line hidden
                return;

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

            #line 202 "..\..\MainWindow.xaml"
                this.butRemove.Click += new System.Windows.RoutedEventHandler(this.butRemove_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.lvData = ((System.Windows.Controls.ListView)(target));

            #line 204 "..\..\MainWindow.xaml"
                this.lvData.SizeChanged += new System.Windows.SizeChangedEventHandler(this.lvData_SizeChanged);

            #line default
            #line hidden
                return;

            case 57:
                this.gvData = ((System.Windows.Controls.GridView)(target));
                return;

            case 58:
                this.dataColProfileName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 59:
                this.tabItemProxy = ((System.Windows.Controls.TabItem)(target));
                return;

            case 60:
                this.tabItemProxyHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 61:
                this.proxyTabGrid = ((System.Windows.Controls.Grid)(target));

            #line 219 "..\..\MainWindow.xaml"
                this.proxyTabGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.proxyTabGrid_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 63:
                this.lSettings = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 67:
                this.tbProxyIpAddress = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 69:
                this.tbProxyUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.lProxyPassword = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.tbProxyPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.butProxyAdd = ((System.Windows.Controls.Button)(target));

            #line 267 "..\..\MainWindow.xaml"
                this.butProxyAdd.Click += new System.Windows.RoutedEventHandler(this.butProxyAdd_Click);

            #line default
            #line hidden
                return;

            case 73:
                this.butProxyClear = ((System.Windows.Controls.Button)(target));

            #line 268 "..\..\MainWindow.xaml"
                this.butProxyClear.Click += new System.Windows.RoutedEventHandler(this.butProxyClear_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.butProxyEdit = ((System.Windows.Controls.Button)(target));

            #line 269 "..\..\MainWindow.xaml"
                this.butProxyEdit.Click += new System.Windows.RoutedEventHandler(this.butProxyEdit_Click);

            #line default
            #line hidden
                return;

            case 75:
                this.butProxyRemove = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 76:
                this.lvProxy = ((System.Windows.Controls.ListView)(target));

            #line 272 "..\..\MainWindow.xaml"
                this.lvProxy.SizeChanged += new System.Windows.SizeChangedEventHandler(this.lvProxy_SizeChanged);

            #line default
            #line hidden
                return;

            case 77:
                this.colProxyName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 78:
                this.colIP = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 79:
                this.colUsername = ((System.Windows.Controls.GridViewColumn)(target));
                return;

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

            case 81:
                this.tbRefresMS = ((System.Windows.Controls.TextBox)(target));
                return;

            case 82:
                this.butSettingsSave = ((System.Windows.Controls.Button)(target));

            #line 286 "..\..\MainWindow.xaml"
                this.butSettingsSave.Click += new System.Windows.RoutedEventHandler(this.butSettingsSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.configLayout = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 16 "..\..\Params.xaml"
                this.btSaveParams.Click += new System.Windows.RoutedEventHandler(this.btSaveParams_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\Params.xaml"
                this.btCancel.Click += new System.Windows.RoutedEventHandler(this.btCancel_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tbParams = ((System.Windows.Controls.TabControl)(target));
                return;

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

            case 6:
                this.rbConnectivityLocal = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.tbLocalURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.rbConnectivityRemote = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 10:
                this.cbEnablePreview = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.cbAutoPlayMedia = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.tabItemCategories = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.CategoriesLayout = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 76 "..\..\Params.xaml"
                this.btAddCategory.Click += new System.Windows.RoutedEventHandler(this.btAddCategory_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\Params.xaml"
                this.btDeleteCategory.Click += new System.Windows.RoutedEventHandler(this.btDeleteCategory_Click);

            #line default
            #line hidden
                return;

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

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

            #line 94 "..\..\Params.xaml"
                this.lbCategories.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbCategories_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 20:
                this.cbItemString = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 21:
                this.cbItemPicture = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 22:
                this.cbItemVideo = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 114 "..\..\Params.xaml"
                this.btAddFieldName.Click += new System.Windows.RoutedEventHandler(this.btAddFieldName_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.spAdditionalCategoryField = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window1 = ((ЗАГС_ЕИИС.MainWindow)(target));

            #line 8 "..\..\..\MainWindow.xaml"
                this.Window1.Loaded += new System.Windows.RoutedEventHandler(this.Window1_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.col0 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

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

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

            #line 31 "..\..\..\MainWindow.xaml"
                this.menuItem21.Click += new System.Windows.RoutedEventHandler(this.menuItem21_Click);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:
                this.menu1_Copy = ((System.Windows.Controls.Menu)(target));

            #line 39 "..\..\..\MainWindow.xaml"
                this.menu1_Copy.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.menu1_Copy_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.StatusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 10:
                this.TextBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 12:
                this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));

            #line 62 "..\..\..\MainWindow.xaml"
                this.gridSplitter1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.gridSplitter1_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 13:
                this.tabControl2 = ((System.Windows.Controls.TabControl)(target));

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

            #line default
            #line hidden
                return;

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

            case 15:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 16:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

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

            #line 84 "..\..\..\MainWindow.xaml"
                this.ButTB1.Click += new System.Windows.RoutedEventHandler(this.ButTB1_Click);

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.tabItem5 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 141 "..\..\..\MainWindow.xaml"
                this.dataGrid2.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.dataGrid2_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

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

            case 27:
                this.dataGrid3 = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line 189 "..\..\..\MainWindow.xaml"
                this.dataGrid4.AutoGeneratedColumns += new System.EventHandler(this.dataGrid4_AutoGeneratedColumns);

            #line default
            #line hidden

            #line 189 "..\..\..\MainWindow.xaml"
                this.dataGrid4.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.dataGrid4_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

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

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

            #line 207 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 219 "..\..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

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

            #line 227 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

            #line 235 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 42:
                this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));

            #line 264 "..\..\..\MainWindow.xaml"
                this.progressBar1.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.progressBar1_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\..\MainWindow.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button7_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Tabs.xaml"
                ((WpfEuler.Tabs)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\Tabs.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 43 "..\..\..\Tabs.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 64 "..\..\..\Tabs.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 85 "..\..\..\Tabs.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.tabItem5 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 107 "..\..\..\Tabs.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);

            #line default
            #line hidden
                return;

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

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

            case 23:
                this.tabItem6 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 129 "..\..\..\Tabs.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

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

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

            case 27:
                this.tabItem7 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 151 "..\..\..\Tabs.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button7_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.textBox13 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 31:
                this.tabItem8 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 174 "..\..\..\Tabs.xaml"
                this.button8.Click += new System.Windows.RoutedEventHandler(this.button8_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 196 "..\..\..\Tabs.xaml"
                this.button9.Click += new System.Windows.RoutedEventHandler(this.button9_Click);

            #line default
            #line hidden
                return;

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

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

            case 39:
                this.tabItem10 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:
                this.tabItem11 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.tabItem12 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 42:
                this.tabItem13 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 43:
                this.tabItem14 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 44:
                this.tabItem15 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 45:
                this.tabItem16 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 46:
                this.tabItem17 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 47:
                this.tabItem18 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 48:
                this.tabItem19 = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\View\CommissionViewerVisual.xaml"
                ((ModelHelper.Client.View.CommissionViewerVisual)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.lblborder = ((System.Windows.Controls.GridSplitter)(target));
                return;

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

            case 5:
                this.lblto = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.BrokerComboBoxEdit = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 84 "..\..\..\View\CommissionViewerVisual.xaml"
                this.BrokerComboBoxEdit.LostFocus += new System.Windows.RoutedEventHandler(this.BrokerComboBoxEdit_LostFocus_1);

            #line default
            #line hidden

            #line 84 "..\..\..\View\CommissionViewerVisual.xaml"
                this.BrokerComboBoxEdit.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.BrokerComboBoxEdit_EditValueChanged_1);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\View\CommissionViewerVisual.xaml"
                this.cboReasonCodeType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboReasonCodeType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 9:
                this.DPFromDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.DPToDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 11:
                this.comboBoxEdit1 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 108 "..\..\..\View\CommissionViewerVisual.xaml"
                this.comboBoxEdit1.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.comboBoxEdit1_EditValueChanged);

            #line default
            #line hidden

            #line 115 "..\..\..\View\CommissionViewerVisual.xaml"
                this.comboBoxEdit1.LostFocus += new System.Windows.RoutedEventHandler(this.comboBoxEdit1_LostFocus);

            #line default
            #line hidden
                return;

            case 12:

            #line 122 "..\..\..\View\CommissionViewerVisual.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.CommissionTabs = ((System.Windows.Controls.TabControl)(target));

            #line 130 "..\..\..\View\CommissionViewerVisual.xaml"
                this.CommissionTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CommissionTabs_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 15:
                this.ByBrokerGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 16:
                this._viewByBroker = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 157 "..\..\..\View\CommissionViewerVisual.xaml"
                this._viewByBroker.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden
                return;

            case 17:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 18:
                this.ByBrokerReasonGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 19:
                this._viewByByBrokerReason = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 248 "..\..\..\View\CommissionViewerVisual.xaml"
                this._viewByByBrokerReason.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden
                return;

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

            case 21:
                this.ByBrokerAccountReasonGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 22:
                this._viewByBrokerAccountReason = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 342 "..\..\..\View\CommissionViewerVisual.xaml"
                this._viewByBrokerAccountReason.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden
                return;

            case 23:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.ByAccountReasonGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 25:
                this._viewByAccountReason = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 437 "..\..\..\View\CommissionViewerVisual.xaml"
                this._viewByAccountReason.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\..\Excel1\Excel1InputWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Excel1\Excel1InputWindow.xaml"
                this.InputData.Click += new System.Windows.RoutedEventHandler(this.InputData_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.inMonths = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.inYears = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.date = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 7:
                this.applicantStreetAddress = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 29:
                this.titleSettlementAgent = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 116 "..\..\..\Excel1\Excel1InputWindow.xaml"
                this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Output = ((System.Windows.Controls.TabItem)(target));
                return;

            case 43:
                this.dateIssued = ((System.Windows.Controls.Label)(target));
                return;

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

            case 45:
                this.applicantStreetOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.applicantCityOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.propertyStreetOutput = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 50:
                this.loanTermOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.purposeOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.loanIDOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.untilBox = ((System.Windows.Controls.Label)(target));
                return;

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

            case 55:
                this.loanAmountOutput = ((System.Windows.Controls.Label)(target));
                return;

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

            case 57:
                this.monthlyPrinIntOutput = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }