public static TabItem CreateTabItem(WrapPanel headerPanel, Grid textBoxGrid)
 {
     TabItem tabItem = new TabItem();
     tabItem.Header = headerPanel;
     tabItem.Content = textBoxGrid;
     return tabItem;
 }
Beispiel #2
0
        private void AddParameter(int? paramId = null, string compareType = null, string paramValue = null)
        {
            editRule.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });

            var wp = new WrapPanel { Name = ParameterPanel};
            Grid.SetRow(wp, editRule.RowDefinitions.Count - 1);
            editRule.Children.Add(wp);

            var parameter = new ComboBox { Name = ParamCombo, MinWidth = 200 };
            FillParamCombo(parameter);
            wp.Children.Add(parameter);

            var comparison = new ComboBox { Name = CompareCombo, Width = 50, Margin = new Thickness(5, 0, 0, 0) };
            wp.Children.Add(comparison);

            var value = new ComboBox { IsEditable = true, MinWidth = 200, Name = ValueControl, Margin = new Thickness(5, 0, 0, 0)};
            FillValueCombo(paramId, value);
            wp.Children.Add(value);

            var deleteBox = new Button { Height = 20, Width = 20, Margin = new Thickness(10, 0, 0, 0) };
            deleteBox.Click += deleteBox_Click;
            deleteBox.Content = new Image { Source = Helpers.BitmapSourceFromBitmap(Properties.Resources.delete) };
            wp.Children.Add(deleteBox);

            parameter.SelectedIndex = paramId != null ? _parameters.IndexOf(_parameters.First(a => a.ParamId == paramId)) : 0;
            if (compareType != null)
                comparison.SelectedValue = compareType;
            if (paramValue != null)
               ((ComboBox) wp.Children.FindByName(ValueControl)).Text = paramValue;
        }
Beispiel #3
0
        /// <summary>
        /// Definiert das DateRangePanel
        /// </summary>
        /// <param name="dateFromProcessingFunction">Funktion, die vom Start-DatePicker bei Änderung aufgerufen wird</param>
        /// <param name="dateToProcessingFunction">Funktion, die vom Ende-DatePicker bei Änderung aufgerufen wird</param>
        /// <param name="datePickerFrom">Referenz zum darzustellenden DatePicker für Start</param>
        /// <param name="datePickerTo">Referenz zum darzustellenden DatePicker für Ende</param>
        public DateRangePanel(Action<DateTime> dateFromProcessingFunction, Action<DateTime> dateToProcessingFunction, ref DatePicker datePickerFrom, ref DatePicker datePickerTo)
        {
            this.dateFromProcessingFunction = dateFromProcessingFunction;
            this.dateToProcessingFunction = dateToProcessingFunction;

            this.datePickerFrom = datePickerFrom;
            this.datePickerTo = datePickerTo;

            Label lbFrom = new Label();
            Label lbTo = new Label();
            lbFrom.Content = IniParser.GetSetting("APPSETTINGS", "dateRangeFrom");
            lbTo.Content = IniParser.GetSetting("APPSETTINGS", "dateRangeTo");
            lbTo.Margin = new Thickness(10, 0, 0, 0);

            this.datePickerFrom.Width = 95;
            this.datePickerTo.Width = 95;

            this.datePickerFrom.SelectedDate = BookingsHelper.getDateOfLastCashClosure();
            this.datePickerTo.SelectedDate = DateTime.Today;

            this.datePickerFrom.SelectedDateChanged += processDateFrom;
            this.datePickerTo.SelectedDateChanged += processDateTo;

            panel = new WrapPanel();
            panel.HorizontalAlignment = HorizontalAlignment.Right;
            panel.VerticalAlignment = VerticalAlignment.Top;
            panel.Margin = new Thickness(30, 10, 20, 0);     // links nur 30px wegen Platzmangel in Toolbar von Modul pSums

            panel.Children.Add(lbFrom);
            panel.Children.Add(this.datePickerFrom);
            panel.Children.Add(lbTo);
            panel.Children.Add(this.datePickerTo);
        }
Beispiel #4
0
        public PanelAirlines()
        {
            WrapPanel buttonsPanel = new WrapPanel();

            // chs, 2011-18-10 added for different views / statistics for airlines
            ucSelectButton sbFlights = new ucSelectButton();
            sbFlights.Uid = "1001";
            sbFlights.Content = Translator.GetInstance().GetString("PanelAirlines", sbFlights.Uid);
            sbFlights.IsSelected = true;
            sbFlights.Click += new System.Windows.RoutedEventHandler(sbFlights_Click);
            buttonsPanel.Children.Add(sbFlights);

            ucSelectButton sbFinancial = new ucSelectButton();
            sbFinancial.Uid = "1002";
            sbFinancial.Content = Translator.GetInstance().GetString("PanelAirlines", sbFinancial.Uid);
            sbFinancial.Click += new System.Windows.RoutedEventHandler(sbFinancial_Click);
             buttonsPanel.Children.Add(sbFinancial);

            ucSelectButton sbFleet = new ucSelectButton();
            sbFleet.Uid = "1003";
            sbFleet.Content = Translator.GetInstance().GetString("PanelAirlines", sbFleet.Uid);
            sbFleet.Click += new System.Windows.RoutedEventHandler(sbFleet_Click);
            buttonsPanel.Children.Add(sbFleet);

            this.Children.Add(buttonsPanel);

            frameContent = new Frame();
            frameContent.NavigationUIVisibility = NavigationUIVisibility.Hidden;
            frameContent.Navigate(new PageAirlinesStatistics());

            this.Children.Add(frameContent);
        }
 public void Refresh()
 {
     _item = _items[_selectedIndex];
     var headerPanel = new WrapPanel
     {
         Orientation = Orientation.Horizontal,
         Children =
         {
             ToTextBlock(_item.PrefixDisplayParts),
         }
     };
     var contentPanel = new StackPanel();
     var docText = _item.DocumentationFactory(CancellationToken.None).ToTextBlock();
     if (docText != null && docText.Inlines.Count > 0)
     {
         contentPanel.Children.Add(docText);
     }
     if (!_item.Parameters.IsDefault)
     {
         for (var index = 0; index < _item.Parameters.Length; index++)
         {
             var param = _item.Parameters[index];
             AddParameterSignatureHelp(index, param, headerPanel, contentPanel);
         }
     }
     headerPanel.Children.Add(ToTextBlock(_item.SuffixDisplayParts));
     CurrentHeader = headerPanel;
     CurrentContent = contentPanel;
 }
        public PageAirlinerAdvancedRoute(FleetAirliner airliner, PopUpAirlinerAutoRoutes parent, OnRouteChanged routeChanged)
        {
            this.ParentPage = parent;
            this.Airliner = airliner;
            this.RouteChanged += routeChanged;

            InitializeComponent();

            StackPanel panelMain = new StackPanel();

            panelMain.Children.Add(createNewEntryPanel());

            WrapPanel panelFlightTime = new WrapPanel();

            txtStopovers = UICreator.CreateTextBlock("");
            txtStopovers.Visibility = System.Windows.Visibility.Collapsed;
            txtStopovers.Margin = new Thickness(0, 0, 10, 0);
            panelFlightTime.Children.Add(txtStopovers);

            txtFlightTime = UICreator.CreateTextBlock("Flight time:");
            panelFlightTime.Children.Add(txtFlightTime);

            panelMain.Children.Add(panelFlightTime);

            this.Content = panelMain;

            cbOrigin.SelectedIndex = 0;
        }
            protected override void AddOptions(Panel panel)
            {
                // add force low memory mode option
                var lowMemoryGroup = new WrapPanel();

                var cb = new CheckBox { Content = "Forced Low Memory Mode: allocate" };
                BindToOption(cb, ForceLowMemoryMode.Enabled);
                lowMemoryGroup.Children.Add(cb);

                var textBox = new TextBox { MinWidth = 60 };
                BindToOption(textBox, ForceLowMemoryMode.SizeInMegabytes);
                lowMemoryGroup.Children.Add(textBox);

                lowMemoryGroup.Children.Add(new TextBlock { Text = "megabytes of extra memory in devenv.exe" });

                panel.Children.Add(lowMemoryGroup);

                // add OOP feature options
                var oopFeatureGroup = new StackPanel();

                AddOption(oopFeatureGroup, NavigateToOptions.OutOfProcessAllowed, nameof(NavigateToOptions));
                AddOption(oopFeatureGroup, SymbolFinderOptions.OutOfProcessAllowed, nameof(SymbolFinderOptions));
                AddOption(oopFeatureGroup, SymbolSearchOptions.OutOfProcessAllowed, nameof(SymbolSearchOptions));

                panel.Children.Add(oopFeatureGroup);

                // and add the rest of the options
                base.AddOptions(panel);
            }
        //creates the buttons panel
        private WrapPanel createButtonsPanel()
        {
            WrapPanel buttonsPanel = new WrapPanel();
            buttonsPanel.Margin = new Thickness(0, 10, 0, 0);

            Button btnOk = new Button();
            btnOk.Uid = "100";
            btnOk.SetResourceReference(StyleProperty, "StandardButtonStyle");
            btnOk.Height = Double.NaN;
            btnOk.Width = Double.NaN;
            btnOk.Content = Translator.GetInstance().GetString("General", btnOk.Uid);
            btnOk.Click += new RoutedEventHandler(btnOk_Click);
            btnOk.IsDefault = true;

            buttonsPanel.Children.Add(btnOk);

            Button btnCancel = new Button();
            btnCancel.Uid = "101";
            btnCancel.SetResourceReference(StyleProperty, "StandardButtonStyle");
            btnCancel.Height = Double.NaN;
            btnCancel.Margin = new Thickness(5, 0, 0, 0);
            btnCancel.Width = Double.NaN;
            btnCancel.IsCancel = true;
            btnCancel.Click += new RoutedEventHandler(btnCancel_Click);
            btnCancel.Content = Translator.GetInstance().GetString("General", btnCancel.Uid);

            buttonsPanel.Children.Add(btnCancel);

            return buttonsPanel;
        }
        public PluginDlg()
        {
            InitializeComponent();

            foreach (PluginInfo info in PluginManager.inst().InstalledPlugins)
            {
                StackPanel content = new StackPanel();
                content.Margin = new Thickness(10, 0, 10, 0);

                content.Children.Add(new Label() { Content = info.Name, FontWeight = FontWeights.Bold });
                foreach (string s in info.Parts)
                {
                    if (s.Length > 0)
                    {
                        content.Children.Add(new Label() { Content = s });
                    }
                }

                if (info.Components.Count > 0)
                {
                    content.Children.Add(new Separator());
                    content.Children.Add(new Label { Content = "Components", FontWeight = FontWeights.Bold });
                    WrapPanel subStack = new WrapPanel();
                    subStack.MaxWidth = 160;
                    subStack.Orientation = Orientation.Horizontal;
                    content.Children.Add(subStack);
                    foreach (string s in info.Components)
                    {
                        subStack.Children.Add(new Label() { Content = s, HorizontalAlignment = System.Windows.HorizontalAlignment.Left, Margin = new Thickness(4) });
                    }
                }

                pluginStack.Children.Add(content);
            }
        }
Beispiel #10
0
        public MainWindow()
        {
            InitializeComponent();
            GroupControl.Background =new SolidColorBrush(Colors.SandyBrown);
            // opretter dummy øl
            Product beer1 = new Product("Ceres top", 15);
            BeerProducts.Add(beer1);
            Product beer2 = new Product("Carlsberg", 15);
            BeerProducts.Add(beer2);
            Product beer3 = new Product("Grimbergen", 25);
            BeerProducts.Add(beer3);
            Product beer4 = new Product("Kasper ol!", 100);
            BeerProducts.Add(beer4);

            //Laver wrappanel knapper som skal ind under øl tab item
            WrapPanel ØlPanel = new WrapPanel();

            foreach (Product product in BeerProducts)
            {
                Button button = new Button
                {
                    Content = product.Name_,
                    MinHeight = 40,
                    MinWidth = 50

                };

                ØlPanel.Children.Add(button);
            }

            // Denne linje ødelægger det!
            Øl.Content = ØlPanel;
        }
Beispiel #11
0
        //创建WrapPanel控件
        private void CalculationOfNumber()
        {
            int pageTotal = (dic.Count % MainConst.USB_INFO_NUMBER_BY_PAGE == 0) ? dic.Count / MainConst.USB_INFO_NUMBER_BY_PAGE : dic.Count / MainConst.USB_INFO_NUMBER_BY_PAGE + 1;

            CurrentCommon.page_total = pageTotal;

            Thickness thick = new Thickness(20, 99, 0, 0);

            for (int i = 0; i < pageTotal; i++)
            {
                //创建显示页
                WrapPanel panel = new WrapPanel()
                {
                    Width = this.width,
                    Height = this.height,
                    Visibility = Visibility.Hidden,
                    Name = "Page" + (i + 1),
                    Margin = thick,
                };

                //设定名称
                this.win.Grid_Container.RegisterName(panel.Name, panel);

                if (i == 0)
                {
                    panel.Visibility = Visibility.Visible;
                    CurrentCommon.wrapPanel_page = panel;
                }
                panels.Add(panel);

            }
        }
Beispiel #12
0
 private void BindTree(TreeViewItem item, List<Detail> data)
 {
     foreach (var detail in data)
     {
         var panel = new WrapPanel();
         panel.Children.Add(new TextBlock { Text = detail.DisplayName, FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center });
         var t = new TextBox
         {
             Text = detail.Value,
             Margin = new Thickness(5, 0, 0, 0),
             TextWrapping = TextWrapping.Wrap,
             //Width = this.Width - 300,
             BorderBrush = new SolidColorBrush(Colors.White),
             Padding = new Thickness(0)
         };
         t.MouseEnter += (s, ee) => { t.Focus(); t.SelectAll(); };
         panel.Children.Add(t);
         if (!string.IsNullOrEmpty(detail.Description))
             panel.Children.Add(new TextBlock { Text = detail.Description, Margin = new Thickness(5, 0, 0, 0), FontStyle = FontStyles.Italic, TextWrapping = TextWrapping.Wrap, Width = 1050 });
         var subItem = new TreeViewItem
         {
             Header = panel,
         };
         if (detail.SubDetails != null)
         {
             BindTree(subItem, detail.SubDetails);
         }
         item.Items.Add(subItem);
     }
 }
        public PanelAirports(PageAirports parent)
        {
            this.ParentPage = parent;

            WrapPanel buttonsPanel = new WrapPanel();

            ucSelectButton sbSearch = new ucSelectButton();
            sbSearch.Uid = "201";
            sbSearch.Content = Translator.GetInstance().GetString("PanelAirports", sbSearch.Uid);
            sbSearch.IsSelected = true;
            sbSearch.Click += new System.Windows.RoutedEventHandler(sbSearch_Click);
            buttonsPanel.Children.Add(sbSearch);

            ucSelectButton sbExtendedSearch = new ucSelectButton();
            sbExtendedSearch.Uid = "203";
            sbExtendedSearch.Content = Translator.GetInstance().GetString("PanelAirports", sbExtendedSearch.Uid);
            sbExtendedSearch.Click += new System.Windows.RoutedEventHandler(sbExtendedSearch_Click);
            buttonsPanel.Children.Add(sbExtendedSearch);

            ucSelectButton sbStatistics = new ucSelectButton();
            sbStatistics.Uid = "202";
            sbStatistics.Content = Translator.GetInstance().GetString("PanelAirports", sbStatistics.Uid);
            sbStatistics.Click += new System.Windows.RoutedEventHandler(sbStatistics_Click);
            buttonsPanel.Children.Add(sbStatistics);

            this.Children.Add(buttonsPanel);

            frameContent = new Frame();
            frameContent.NavigationUIVisibility = NavigationUIVisibility.Hidden;
            frameContent.Navigate(new PageSearchAirports(this.ParentPage));

            this.Children.Add(frameContent);
        }
Beispiel #14
0
        private void AddCredit_Click(object sender, RoutedEventArgs e)
        {
            Credits.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            WrapPanel wp = new WrapPanel();
            Grid.SetRow(wp, Credits.RowDefinitions.Count - 1);
            Credits.Children.Add(wp);

            TextBox nameBox = new TextBox();
            nameBox.Name = creditname;
            nameBox.MinWidth = 170;
            wp.Children.Add(nameBox);

            Button saveButton = new Button();
            saveButton.Name = savebutton;
            saveButton.Height = 20;
            saveButton.Width = 20;
            saveButton.Margin = new Thickness(10, 0, 0, 0);
            saveButton.Click += new RoutedEventHandler(saveButton_Click);
            Image okImage = new Image();
            okImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.ok);
            saveButton.Content = okImage;
            wp.Children.Add(saveButton);

            Button cancelButton = new Button();
            cancelButton.Name = cancelbutton;
            cancelButton.Height = 20;
            cancelButton.Width = 20;
            cancelButton.Margin = new Thickness(10, 0, 0, 0);
            cancelButton.Click += new RoutedEventHandler(cancelButton_Click);
            Image cancelImage = new Image();
            cancelImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.cancel);
            cancelButton.Content = cancelImage;
            wp.Children.Add(cancelButton);
        }
        public PageSelectLanguage()
        {
            InitializeComponent();

            StackPanel panelContent = new StackPanel();
            panelContent.Margin = new Thickness(10, 0, 10, 0);
            panelContent.HorizontalAlignment = System.Windows.HorizontalAlignment.Center;

            WrapPanel panelButtons = new WrapPanel();
            panelButtons.Margin = new Thickness(0, 100, 0, 0);

            panelContent.Children.Add(panelButtons);

            foreach (Language language in Languages.GetLanguages().FindAll(l => l.IsEnabled))
            {
                ContentControl ccLanguage = new ContentControl();
                ccLanguage.ContentTemplate = this.Resources["LanguageItem"] as DataTemplate;
                ccLanguage.Content = language;
                ccLanguage.Margin = new Thickness(0, 0, 20, 0);

                panelButtons.Children.Add(ccLanguage);
            }

            base.setTopMenu(new PageTopMenu());

            base.hideNavigator();

            base.hideBottomMenu();

            base.setContent(panelContent);

            base.setHeaderContent("Select language");

            showPage(this);
        }
Beispiel #16
0
 public void DrawSudoku(WrapPanel panel)
 {
     for (var i = 0; i < _sudokuSize; i++)
     {
         for (var j = 0; j < _sudokuSize; j++)
         {
             var text = new TextBlock
             {
                 Text = _gameField[i, j].ToString(CultureInfo.InvariantCulture),
                 FontSize = 30,
                 TextAlignment = TextAlignment.Center,
                 VerticalAlignment = VerticalAlignment.Center
             };
             var border = new Border
             {
                 Width = 60,
                 Height = 60,
                 Child = text,
                 Background = new SolidColorBrush(Colors.DeepSkyBlue),
                 BorderBrush = new SolidColorBrush(Colors.Blue),
                 BorderThickness = new Thickness(1),
                 Margin = new Thickness(2),
                 Tag = new Point(i, j)
             };
             border.MouseLeftButtonUp +=
                 (sender, args) => { MessageBox.Show((sender as Border).Tag.ToString()); };
             _wrapAreas[j / _areaSize + ((i / _areaSize) * _areaSize)].Children.Add(border);
         }
     }
 }
 public static WrapPanel CreateHeaderPanel(Label replName, Button closeButton)
 {
     WrapPanel headerPanel = new WrapPanel();
     headerPanel.Children.Add(replName);
     headerPanel.Children.Add(closeButton);
     return headerPanel;
 }
        public PageTopMenu()
        {
            this.SetResourceReference(Page.BackgroundProperty, "BackgroundTop");

               panelMain = new WrapPanel();
            panelMain.Margin = new Thickness(1, 0, 0, 0);
            panelMain.VerticalAlignment = System.Windows.VerticalAlignment.Bottom;

            TextBlock txtName = new TextBlock();
            txtName.FontSize = 16;
            txtName.FontWeight = FontWeights.Bold;
            txtName.Text = "Airline Project " + Settings.Default.Version;
            txtName.Margin = new Thickness(5, 0, 0, 0);

            panelMain.Children.Add(txtName);

            Image imgLogo = new Image();
            imgLogo.Source = new BitmapImage(new Uri(@"/Data/images/Airplane-white.png", UriKind.RelativeOrAbsolute));
            RenderOptions.SetBitmapScalingMode(imgLogo, BitmapScalingMode.HighQuality);

            imgLogo.Margin = new Thickness(10, 0, 50, 0);

            panelMain.Children.Add(imgLogo);

            this.Content = panelMain;
        }
Beispiel #19
0
 public Params69(WrapPanel freqwrap, WrapPanel lastwrap, Image image)
 {
     lastWrap = lastwrap;
     freqWrap = freqwrap;
     LoopImage = image;
     worker.DoWork += worker_DoWork;
     worker.RunWorkerCompleted += worker_RunWorkerCompleted;
 }
Beispiel #20
0
        //创建Grid行列并追加一个控件
        public void CreateUsbInfoControl(WrapPanel panelPage, UsbInfo info)
        {
            this.info = info;

            MonitorUnitCtrl mUnit = new MonitorUnitCtrl(info);
            win.Grid_Container.RegisterName(mUnit.Name, mUnit);
            panelPage.Children.Add(mUnit);
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWrapPanel = ((System.Windows.Controls.WrapPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
        public PopUpInviteAlliance(Alliance alliance)
        {
            this.InviteAirlines = new List<Airline>();

            this.Alliance = alliance;
            InitializeComponent();

            this.Title = this.Alliance.Name;

            this.Width = 300;

            this.Height = 500;

            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            StackPanel panelMain = new StackPanel();

            ScrollViewer scroller = new ScrollViewer();
            scroller.MaxHeight = this.Height - 50;
            scroller.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            scroller.HorizontalScrollBarVisibility = ScrollBarVisibility.Auto;

            panelMain.Children.Add(scroller);

            StackPanel panelAirlines = new StackPanel();
            scroller.Content = panelAirlines;

            var airlines = from a in Airlines.GetAllAirlines() where !this.Alliance.Members.ToList().Exists(m=>m.Airline == a) select a;

            foreach (Airline airline in airlines)
            {
                WrapPanel panelAirline = new WrapPanel();
                panelAirline.Margin = new Thickness(0, 0, 0, 5);

                ContentControl ccAirline = new ContentControl();
                ccAirline.ContentTemplate = this.Resources["AirlineItem"] as DataTemplate;
                ccAirline.Content = airline;

                panelAirline.Children.Add(ccAirline);

                CheckBox cbAirline = new CheckBox();
                cbAirline.IsChecked = false;
                cbAirline.Tag = airline;
                cbAirline.VerticalAlignment = System.Windows.VerticalAlignment.Bottom;
                cbAirline.Checked += new RoutedEventHandler(cbAirline_Checked);
                cbAirline.Unchecked += new RoutedEventHandler(cbAirline_Unchecked);

                panelAirline.Children.Add(cbAirline);

                panelAirlines.Children.Add(panelAirline);
            }

            panelMain.Children.Add(createButtonsPanel());

            this.Content = panelMain;
        }
        public PanelFleetAirliner(FleetAirliner airliner)
        {
            this.Airliner = airliner;

            WrapPanel buttonsPanel = new WrapPanel();

            ucSelectButton sbFacilities = new ucSelectButton();
            sbFacilities.Content = Translator.GetInstance().GetString("PanelFleetAirliner","200");
            sbFacilities.IsSelected = this.Airliner.Airliner.Type.TypeAirliner == AirlinerType.TypeOfAirliner.Passenger;
            sbFacilities.Click += new System.Windows.RoutedEventHandler(sbFacilities_Click);
            sbFacilities.Visibility = this.Airliner.Airliner.Type.TypeAirliner == AirlinerType.TypeOfAirliner.Passenger ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
            buttonsPanel.Children.Add(sbFacilities);

            ucSelectButton sbRoute = new ucSelectButton();
            sbRoute.Content = Translator.GetInstance().GetString("PanelFleetAirliner","201");
            sbRoute.IsSelected = this.Airliner.Airliner.Type.TypeAirliner != AirlinerType.TypeOfAirliner.Passenger;
            sbRoute.Click += new System.Windows.RoutedEventHandler(sbRoute_Click);
            buttonsPanel.Children.Add(sbRoute);

            ucSelectButton sbTimeSlot = new ucSelectButton();
            sbTimeSlot.Content  = Translator.GetInstance().GetString("PanelFleetAirliner","202");
            sbTimeSlot.Visibility = System.Windows.Visibility.Collapsed;
            sbTimeSlot.Click += new System.Windows.RoutedEventHandler(sbTimeSlot_Click);
            buttonsPanel.Children.Add(sbTimeSlot);

            ucSelectButton sbStatistics = new ucSelectButton();
            sbStatistics.Content  = Translator.GetInstance().GetString("PanelFleetAirliner","203");
            sbStatistics.Click += new System.Windows.RoutedEventHandler(sbStatistics_Click);
            buttonsPanel.Children.Add(sbStatistics);

            ucSelectButton sbMaintenance = new ucSelectButton();
            sbMaintenance.Content = Translator.GetInstance().GetString("PanelFleetAirliner","205");
            sbMaintenance.Visibility = this.Airliner.Airliner.Airline.IsHuman ? Visibility.Visible : System.Windows.Visibility.Collapsed;
            sbMaintenance.Click +=sbMaintenance_Click;
            buttonsPanel.Children.Add(sbMaintenance);

            ucSelectButton sbInsurance = new ucSelectButton();
            sbInsurance.Content = Translator.GetInstance().GetString("PanelFleetAirliner", "204");
            sbInsurance.Visibility = this.Airliner.Airliner.Airline.IsHuman ? Visibility.Visible : Visibility.Collapsed;
            sbInsurance.Click+=sbInsurance_Click;
            buttonsPanel.Children.Add(sbInsurance);

             this.Children.Add(buttonsPanel);

            frameContent = new Frame();
            frameContent.NavigationUIVisibility = NavigationUIVisibility.Hidden;

            if (this.Airliner.Airliner.Type.TypeAirliner == AirlinerType.TypeOfAirliner.Passenger)
                frameContent.Navigate(new PageFleetFacilities(this.Airliner));
            else
                frameContent.Navigate(new PageFleetRoute(this.Airliner));

            this.Children.Add(frameContent);
        }
Beispiel #24
0
        public MainWindow()
        {
            InitializeComponent();

            sharedCanvas = canvas;
            sharedWrapPanel = unpairedDeviceStackPanel;
            surfaceWrapPanel = surfaceStackPanel;
            kinectWrapPanel = availableKinectsStackPanel;

            ghostBorder = ghost;
            ghostText = ghostTextBlock;
        }
Beispiel #25
0
        public MainWindow(WindowActivity activity)
            : base(activity)
        {
            SolidColorBrush solidBrush = new SolidColorBrush();

            StackPanel stack = new StackPanel();

            Rectangle rect = new Rectangle();
            rect.Width = 100;
            rect.Height = 100;
            rect.HorizontalAlignment = HorizontalAlignment.Right;
            GradientBrush gradient = new GradientBrush();
            gradient.StartPoint = new Point(0, .5f);
            gradient.EndPoint = new Point(1, .5f);
            gradient.GradientStops.Add(new GradientStop(new Color(1f, 1f, 0f, 1f), 0));
            gradient.GradientStops.Add(new GradientStop(new Color(0, 0, 1f, 1f), 1));
            rect.Fill = gradient;
            stack.Children.Add(rect);

            BitmapSource src = BitmapSource.Create(WindowActivity, R.drawable.funny);

            WrapPanel wrap = new WrapPanel();
            //wrap.HorizontalAlignment = HorizontalAlignment.Center;
            wrap.Orientation = Orientation.Horizontal;

            for (int i = 0; i < 8; i++)
            {
                Image img = new Image();
                img.Margin = new Thickness(5,5,5,5);
                img.ImageSource = src;
                img.HorizontalAlignment = HorizontalAlignment.Center;
                wrap.Children.Add(img);
            }

            stack.HorizontalAlignment = HorizontalAlignment.Stretch;
            stack.Children.Add(wrap);

            Content = stack;

            FloatAnimation anim = new FloatAnimation();
            anim.From = 50;
            anim.To = 300;
            anim.Duration = new Duration(TimeSpan.FromMilliseconds(10000));
            anim.RepeatBehavior = RepeatBehavior.Forever;
            anim.AutoReverse = true;
            myClock = anim.CreateClock();
            myClock.Animate(rect, Rectangle.WidthProperty);

            //myTimer = new DispatcherTimer(TimeSpan.FromMilliseconds(1000), (e, o) => Console.WriteLine("Foo"), Dispatcher.CurrentDispatcher);
            //myTimer.Start();

            //Content = img;
        }
        private void stackPanel_Loaded(object sender, RoutedEventArgs e)
        {
            foreach (Building building in Building.AllBuildings)
            {
                TextBlock tbTitle = new TextBlock();
                tbTitle.Padding = new Thickness(24, 16, 26, 10);
                tbTitle.TextWrapping = TextWrapping.Wrap;
                tbTitle.Text = building.Name;
                tbTitle.FontSize = 24;
             //   tbTitle.Background = new SolidColorBrush(MyColor.NameColor(building.Name, 0.05));

                WrapPanel subPanel = new WrapPanel();
                subPanel.Orientation = Orientation.Horizontal;
                subPanel.Margin = new Thickness(24, 0, 24, 0);

                foreach (Classroom classroom in building.Classrooms)
                {
                    TextBlock tb = new TextBlock();
                    tb.Height = 100;
                    tb.Width = 100;
                    tb.FontSize = 16;
                    tb.Margin = new Thickness(5, 5, 5, 5);
                    tb.TextWrapping = TextWrapping.Wrap;

                    Rent rent = rentTable.GetClassroom(classroom.cId);
                    if (rent == null)
                    {
                        tb.Height = 50;
                        tb.Width = 50;
                        tb.FontSize = 12;
                        tb.Text = classroom.Name;
                        tb.Background = new SolidColorBrush(MyColor.NameColor(tb.Text, 0.05));
                    }
                    else
                    {
                        tb.Text = classroom.Name + ":" + rent.Info;
                        tb.Background = new SolidColorBrush(MyColor.NameColor(tb.Text));
                    }

                    tb.Tag = classroom;
                    tb.MouseDown += tb_MouseDown;
                    tb.MouseEnter += tb_MouseEnter;
                    tb.MouseLeave += tb_MouseLeave;

                    subPanel.Children.Add(tb);
                }

                stackPanel.Children.Add(tbTitle);
                stackPanel.Children.Add(subPanel);

            }
        }
        public PageAirlineSubsidiaries(Airline airline, StandardPage parent)
        {
            this.PageParent = parent;
            this.Airline = airline;

            InitializeComponent();

            StackPanel panelSubsidiaries = new StackPanel();
            panelSubsidiaries.Margin = new Thickness(0, 10, 50, 0);

            TextBlock txtSubsidiariesHeader = new TextBlock();
            txtSubsidiariesHeader.Uid = "1001";
            txtSubsidiariesHeader.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            txtSubsidiariesHeader.SetResourceReference(TextBlock.BackgroundProperty, "HeaderBackgroundBrush2");
            txtSubsidiariesHeader.FontWeight = FontWeights.Bold;
            txtSubsidiariesHeader.Text = Translator.GetInstance().GetString("PageAirlineSubsidiaries", txtSubsidiariesHeader.Uid);

            panelSubsidiaries.Children.Add(txtSubsidiariesHeader);

            lbSubsidiaryAirline = new ListBox();
            lbSubsidiaryAirline.ItemTemplate = this.Resources["SubsidiaryItem"] as DataTemplate;
            lbSubsidiaryAirline.ItemContainerStyleSelector = new ListBoxItemStyleSelector();
            lbSubsidiaryAirline.MaxHeight = GraphicsHelpers.GetContentHeight() - 100;

            showSubsidiaries();

            panelSubsidiaries.Children.Add(lbSubsidiaryAirline);

            WrapPanel panelButtons = new WrapPanel();
            panelButtons.Visibility = this.Airline.IsHuman && !(this.Airline is SubsidiaryAirline) && this.Airline.Money>100000 ? Visibility.Visible : Visibility.Collapsed;
            panelButtons.Margin = new Thickness(0,5,0,0);

            panelSubsidiaries.Children.Add(panelButtons);

            Button btnCreate = new Button();
            btnCreate.Uid = "200";
            btnCreate.SetResourceReference(Button.StyleProperty, "RoundedButton");
            btnCreate.Height = Double.NaN;
            btnCreate.Width = Double.NaN;
            btnCreate.Content = Translator.GetInstance().GetString("PageAirlineSubsidiaries",btnCreate.Uid);
            btnCreate.Click+=new RoutedEventHandler(btnCreate_Click);
            btnCreate.SetResourceReference(Button.BackgroundProperty, "ButtonBrush");

            panelButtons.Children.Add(btnCreate);

            if (this.Airline.IsHuman)
                panelSubsidiaries.Children.Add(createTransferFundsPanel());

            this.Content = panelSubsidiaries;
        }
Beispiel #28
0
 private void CreaPowerBody_Reference(WrapPanel Intro_wrppnl)
 {
     TextBlock ReferenceTitle_txtblck = new TextBlock();
      TextBlock ReferenceValue_txtblck = new TextBlock();
      ReferenceTitle_txtblck.Tag = "ReferenceTitle_txtblck";
      ReferenceValue_txtblck.Tag = "ReferenceValue_txtblck";
      ReferenceTitle_txtblck.Text = "Reference:";
      ReferenceValue_txtblck.Text = "-";
      ReferenceTitle_txtblck.FontWeight = FontWeights.Bold;
      ReferenceTitle_txtblck.Margin = new Thickness(0, 0, 3, 0);
      ReferenceValue_txtblck.Margin = new Thickness(0, 0, 8, 0);
      Intro_wrppnl.Children.Add(ReferenceTitle_txtblck);
      Intro_wrppnl.Children.Add(ReferenceValue_txtblck);
 }
Beispiel #29
0
        public override void SetupCustomUIElements(dynNodeView nodeUI)
        {
            this.dynamoViewModel = nodeUI.ViewModel.DynamoViewModel;

            //add a text box to the input grid of the control
            var rbTrue = new RadioButton();
            var rbFalse = new RadioButton();
            rbTrue.VerticalAlignment = VerticalAlignment.Center;
            rbFalse.VerticalAlignment = VerticalAlignment.Center;

            //use a unique name for the button group
            //so other instances of this element don't get confused
            string groupName = Guid.NewGuid().ToString();
            rbTrue.GroupName = groupName;
            rbFalse.GroupName = groupName;

            rbTrue.Content = "True";
            rbTrue.Padding = new Thickness(0,0,12,0);
            rbFalse.Content = "False";
            rbFalse.Padding = new Thickness(0);
            var wp = new WrapPanel()
            {
                HorizontalAlignment = HorizontalAlignment.Stretch,
                VerticalAlignment = VerticalAlignment.Stretch,
                Margin = new Thickness(10,5,10,0),
                Orientation = Orientation.Horizontal
            };

            wp.Children.Add(rbTrue);
            wp.Children.Add(rbFalse);
            nodeUI.inputGrid.Children.Add(wp);

            //rbFalse.IsChecked = true;
            rbTrue.Checked += OnRadioButtonClicked;
            rbFalse.Checked += OnRadioButtonClicked;

            rbFalse.DataContext = this;
            rbTrue.DataContext = this;

            var rbTrueBinding = new Binding("Value") { Mode = BindingMode.TwoWay, };
            rbTrue.SetBinding(ToggleButton.IsCheckedProperty, rbTrueBinding);

            var rbFalseBinding = new Binding("Value")
            {
                Mode = BindingMode.TwoWay,
                Converter = new InverseBoolDisplay()
            };
            rbFalse.SetBinding(ToggleButton.IsCheckedProperty, rbFalseBinding);
        }
            protected override void AddOptions(Panel panel)
            {
                base.AddOptions(panel);

                // add force low memory mode option
                var group = new WrapPanel();
                var lowMemoryMode = ForceLowMemoryMode.Instance;
                var cb = CreateBoundCheckBox("Forced Low Memory Mode", lowMemoryMode, "Enabled");
                group.Children.Add(cb);
                var tb = CreateBoundTextBox("", lowMemoryMode, "Size");
                group.Children.Add(tb);
                var text = new TextBlock() { Text = "MB" };
                group.Children.Add(text);
                panel.Children.Add(group);
            }
Beispiel #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 12 "..\..\MainWindow.xaml"
                this.taille.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.taille_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\MainWindow.xaml"
                this.ok.Click += new System.Windows.RoutedEventHandler(this.ok_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.valider.Click += new System.Windows.RoutedEventHandler(this.valider_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.wp1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 9:
                this.wp2 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 10:
                this.wp3 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            #line 23 "..\..\MainWindow.xaml"
                this.taille2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.taille_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.ok2.Click += new System.Windows.RoutedEventHandler(this.ok2_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.Ajouter.Click += new System.Windows.RoutedEventHandler(this.Ajouter_Click);

            #line default
            #line hidden
                return;

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

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

            #line 32 "..\..\MainWindow.xaml"
                this.tri.Click += new System.Windows.RoutedEventHandler(this.tri_click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.Inverse.Click += new System.Windows.RoutedEventHandler(this.inverse_click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\MainWindow.xaml"
                this.fonc.Click += new System.Windows.RoutedEventHandler(this.fonc_click);

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

            #line 12 "..\..\..\RunningInstancesControl.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.ContentLoaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.GroupGrid = ((System.Windows.Controls.Grid)(target));

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchDown);

            #line default
            #line hidden

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchMove);

            #line default
            #line hidden

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchUp);

            #line default
            #line hidden
                return;

            case 5:
                this.AllRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.CategoryRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.StateRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.ProcessTypeRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.StartTimeRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

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

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

            case 15:
                this.InstancesSV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 16:
                this.SectionStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 18:
                this.Section1Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            case 21:
                this.ToggleButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 92 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton1.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

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

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

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

            case 25:
                this.Cat1SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 26:
                this.GroupStackPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 28:
                this.Section2Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 29:
                this.Section2Text = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 31:
                this.ToggleButton2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 133 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton2.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

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

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

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

            case 35:
                this.Cat2SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 36:
                this.GroupStackPanel2 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 38:
                this.Section3Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            case 41:
                this.ToggleButton3 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 173 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton3.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

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

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

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

            case 45:
                this.Cat3SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 46:
                this.GroupStackPanel3 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 48:
                this.Section4Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            case 51:
                this.ToggleButton4 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 213 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton4.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

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

            case 53:
                this.Section4MiniText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.Section4DetailText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.Cat4SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 56:
                this.GroupStackPanel4 = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ProfileImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.EditProfile_Btn.Click += new System.Windows.RoutedEventHandler(this.EditProfile_Btn_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 25 "..\..\MainWindow.xaml"
                this.Settings_btn.Click += new System.Windows.RoutedEventHandler(this.Settings_btn_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.ProjectsContent = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line 32 "..\..\MainWindow.xaml"
                this.OverviewProjects_btn.Click += new System.Windows.RoutedEventHandler(this.OverviewProjects_btn_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.MySnippedsContent = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 16:
                this.MySnippedMenuBar = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

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

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

            #line 115 "..\..\MainWindow.xaml"
                this.TagFilter_txt.KeyUp += new System.Windows.Input.KeyEventHandler(this.TagFilter_txt_KeyUp);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 28:
                this.TagContainer = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 30:
                this.AddTagExample = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.menuThanhtoan = ((System.Windows.Controls.MenuItem)(target));

            #line 56 "..\..\TableManager.xaml"
                this.menuThanhtoan.Click += new System.Windows.RoutedEventHandler(this.btnThanhToan_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.menuAdmin = ((System.Windows.Controls.MenuItem)(target));

            #line 59 "..\..\TableManager.xaml"
                this.menuAdmin.Click += new System.Windows.RoutedEventHandler(this.menuAdmin_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.muneProfile = ((System.Windows.Controls.MenuItem)(target));

            #line 62 "..\..\TableManager.xaml"
                this.muneProfile.Click += new System.Windows.RoutedEventHandler(this.muneProfile_Click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\TableManager.xaml"
                this.menuLogout.Click += new System.Windows.RoutedEventHandler(this.menuLogout_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.wrapRectange = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.cbbCategory = ((System.Windows.Controls.ComboBox)(target));

            #line 85 "..\..\TableManager.xaml"
                this.cbbCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbbCategory_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 90 "..\..\TableManager.xaml"
                this.btnAddFood.Click += new System.Windows.RoutedEventHandler(this.btnAddFood_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\TableManager.xaml"
                this.btnEditFood.Click += new System.Windows.RoutedEventHandler(this.btnEditFood_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\TableManager.xaml"
                this.btnDeleteFood.Click += new System.Windows.RoutedEventHandler(this.btnDeleteFood_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\TableManager.xaml"
                this.txtNumeric.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNumeric_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\TableManager.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.btnUp_Click);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\TableManager.xaml"
                this.btnDown.Click += new System.Windows.RoutedEventHandler(this.btnDown_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.dtgBillInfor = ((System.Windows.Controls.DataGrid)(target));

            #line 120 "..\..\TableManager.xaml"
                this.dtgBillInfor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtgBillInfor_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 145 "..\..\TableManager.xaml"
                this.btnChangeTable.Click += new System.Windows.RoutedEventHandler(this.btnChangeTable_Click);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\TableManager.xaml"
                this.btnDisscount.Click += new System.Windows.RoutedEventHandler(this.btnDisscount_Click);

            #line default
            #line hidden
                return;

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

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

            #line 156 "..\..\TableManager.xaml"
                this.txtNumeric1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNumeric1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\TableManager.xaml"
                this.btnUp1.Click += new System.Windows.RoutedEventHandler(this.btnUp1_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\TableManager.xaml"
                this.btnDown1.Click += new System.Windows.RoutedEventHandler(this.btnDown1_Click);

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\TableManager.xaml"
                this.btnThanhToan.Click += new System.Windows.RoutedEventHandler(this.btnThanhToan_Click);

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

            case 2:
                this.cmbFont = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.cmbFont.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChanged);

            #line default
            #line hidden

            #line 22 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.cmbFont.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.OnFontKeyDown);

            #line default
            #line hidden
                return;

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

            case 4:
                this.scr = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 5:
                this.wrapanel1 = ((System.Windows.Controls.WrapPanel)(target));

            #line 34 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.wrapanel1.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 55 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.btnSelect.Click += new System.Windows.RoutedEventHandler(this.Select);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.Copy);

            #line default
            #line hidden
                return;

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

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

            #line 58 "..\..\..\..\..\Master\Controls\CharacterMap.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Cancel);

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

            #line 11 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                ((AIO.GszReportWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                ((AIO.GszReportWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                this.ButtonPrint.Click += new System.Windows.RoutedEventHandler(this.ButtonPrint_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                this.ButtonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrev_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\..\xaml\Ganshizhi\GszReportWindow.xaml"
                this.btn_upload.Click += new System.Windows.RoutedEventHandler(this.btn_upload_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.WrapPanelChannel = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.KeyBoardKeys = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 56:
                this.btnAlt = ((System.Windows.Controls.Button)(target));
                return;

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

            case 58:
                this.NUMpad = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 61:
                this.btnTimes = ((System.Windows.Controls.Button)(target));
                return;

            case 62:
                this.btnMinus1 = ((System.Windows.Controls.Button)(target));
                return;

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

            case 64:
                this.btn8N = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 67:
                this.btn5n = ((System.Windows.Controls.Button)(target));
                return;

            case 68:
                this.btn6N = ((System.Windows.Controls.Button)(target));
                return;

            case 69:
                this.btnPlus1 = ((System.Windows.Controls.Button)(target));
                return;

            case 70:
                this.btn1N = ((System.Windows.Controls.Button)(target));
                return;

            case 71:
                this.btn2N = ((System.Windows.Controls.Button)(target));
                return;

            case 72:
                this.btn3N = ((System.Windows.Controls.Button)(target));
                return;

            case 73:
                this.btn0N = ((System.Windows.Controls.Button)(target));
                return;

            case 74:
                this.btnPeriodN = ((System.Windows.Controls.Button)(target));
                return;

            case 75:
                this.btnEnter1 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WinForm = ((_10_TelegramBot.MainWindow)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.WinForm.Loaded += new System.Windows.RoutedEventHandler(this.WinForm_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                this.WinForm.Closed += new System.EventHandler(this.WinForm_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.FormTop = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.FromControl = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.FormContent = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            #line 65 "..\..\..\MainWindow.xaml"
                this.WinPanel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WinPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\..\MainWindow.xaml"
                this.WinClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinClose_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\MainWindow.xaml"
                this.WinMaximized.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinMaximized_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.WinMinimize.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinMinimize_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.PHBlock = ((Placeholder.PlaceholderBlock)(target));
                return;

            case 11:
                this.DataGridPhoneBook = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.WPMenu = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.DataGridChat = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 10 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.mainComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.mainComboBox_Selected);

            #line default
            #line hidden
                return;

            case 2:
                this.item1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 3:
                this.item2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 4:
                this.item3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.g6629 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.itemType = ((System.Windows.Controls.ComboBox)(target));

            #line 18 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.itemType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.itemType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.doorType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.doorType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.height.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.height_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.width.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.width_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\..\UnderDevelopment\RussianDoorWnd.xaml"
                this.props.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.props_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.btnCreate = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Parent = ((WpfApplication1.MainWindow)(target));

            #line 4 "..\..\..\MainWindow.xaml"
                this.Parent.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.XStackPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 9:
                this.scrolly = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 11:
                this.scale = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 13:
                this.scrolly1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 15:
                this.scrolly2 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.LowOctif = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 19:
                this.scrolly4 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:
                this.HighOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.scrolly5 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 22:
                this.HighestOctif = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

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

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

            case 29:
                this.LowestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

            case 36:
                this.LowBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.LowB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.LowC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.LowDb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 41:
                this.LowEb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 43:
                this.LowF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.LowGb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 46:
                this.LowAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.MiddleA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.MiddleBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.MiddleB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.MiddleC = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 54:
                this.MiddleE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.MiddleF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.MiddleGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.MiddleG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.MiddleAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.HighA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.HighBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 61:
                this.HighB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.HighC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.HighDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.HighD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.HighEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.HighE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.HighF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.HighGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.HighG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.HighAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.HighestA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.HighestBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.HighestB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.HighestC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 75:
                this.HighestDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 76:
                this.HighestD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 77:
                this.HighestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 78:
                this.HighestE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 79:
                this.HighestF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 80:
                this.HighestGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 81:
                this.HighestG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 82:
                this.HighestAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 83:
                this.slider1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 84:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 85:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 87:
                this.staffscroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 88:
                this.noteStaff = ((System.Windows.Controls.Canvas)(target));
                return;

            case 89:
                this.Fline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 90:
                this.Dline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 91:
                this.Bline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 92:
                this.Gline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 93:
                this.Eline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 94:
                this.NoteStatsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 95:
                this.NoteStatsPTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 96:
                this.NoteStatsP = ((System.Windows.Controls.TextBox)(target));
                return;

            case 97:
                this.NoteStatsFTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 98:
                this.NoteStatsF = ((System.Windows.Controls.TextBox)(target));
                return;

            case 99:
                this.NoteStatsETitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 100:
                this.NoteStatsE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 101:
                this.CommentsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 102:
                this.Comments = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 228 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Back);

            #line default
            #line hidden
                return;

            case 2:

            #line 231 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Close);

            #line default
            #line hidden
                return;

            case 3:
                this.tab = ((Dragablz.TabablzControl)(target));
                return;

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

            #line 252 "..\..\MenuWindow.xaml"
                this.ComboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.infoFiliere = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 8:
                this.wTelerik = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 9:
                this.radGridView = ((Telerik.Windows.Controls.RadGridView)(target));
                return;

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

            #line 296 "..\..\MenuWindow.xaml"
                this.ButtonEdit.Click += new System.Windows.RoutedEventHandler(this.ButtonEdit_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.MyCarousel = ((Telerik.Windows.Controls.RadCarousel)(target));

            #line 469 "..\..\MenuWindow.xaml"
                this.MyCarousel.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.MyCarousel_MouseDoubleClick);

            #line default
            #line hidden

            #line 469 "..\..\MenuWindow.xaml"
                this.MyCarousel.Loaded += new System.Windows.RoutedEventHandler(this.MyCarousel_Loaded);

            #line default
            #line hidden
                return;

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

            case 13:

            #line 484 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Search_Employees);

            #line default
            #line hidden
                return;

            case 14:

            #line 493 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Ajouter);

            #line default
            #line hidden
                return;

            case 15:

            #line 501 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Fleft);

            #line default
            #line hidden
                return;

            case 16:

            #line 502 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.left);

            #line default
            #line hidden
                return;

            case 17:

            #line 503 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.right);

            #line default
            #line hidden
                return;

            case 18:

            #line 504 "..\..\MenuWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Fright);

            #line default
            #line hidden
                return;

            case 19:
                this.rectangleData = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            #line 520 "..\..\MenuWindow.xaml"
                this.parAneeButoon.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 521 "..\..\MenuWindow.xaml"
                this.parFiliereButoon.Click += new System.Windows.RoutedEventHandler(this.parFiliereButoon_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.firstData = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 24:
                this.rectangleChart1 = ((Telerik.Windows.Controls.RadCartesianChart3D)(target));
                return;

            case 25:
                this.bar11 = ((Telerik.Windows.Controls.ChartView.BarSeries3D)(target));
                return;

            case 26:
                this.secondData = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 27:
                this.rectangleChart2 = ((Telerik.Windows.Controls.RadCartesianChart3D)(target));
                return;

            case 28:
                this.barF = ((Telerik.Windows.Controls.ChartView.BarSeries3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grdMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.scrContacts = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 3:
                this.stkContacts = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line 24 "..\..\MainPage.xaml"
                this.btnNewContact.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnNewContact_MouseUp);

            #line default
            #line hidden

            #line 24 "..\..\MainPage.xaml"
                this.btnNewContact.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnNewContact_MouseEnter);

            #line default
            #line hidden

            #line 24 "..\..\MainPage.xaml"
                this.btnNewContact.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnNewContact_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.recRightColour = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.txtRightName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 11:
                this.stkTransactions = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 41 "..\..\MainPage.xaml"
                this.lblNewTransaction.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.lblNewTransaction_MouseUp);

            #line default
            #line hidden
                return;

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

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

            #line 47 "..\..\MainPage.xaml"
                this.imgUpload.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgUpload_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainPage.xaml"
                this.imgDownload.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgDownload_MouseUp);

            #line default
            #line hidden
                return;

            case 16:
                this.recBlackbakground = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

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

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

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

            #line 70 "..\..\MainPage.xaml"
                this.btnNewTranCancel.Click += new System.Windows.RoutedEventHandler(this.btnNewTranCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainPage.xaml"
                this.btnNewTranConfirm.Click += new System.Windows.RoutedEventHandler(this.btnNewTranConfirm_Click);

            #line default
            #line hidden
                return;

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

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

            case 26:
                this.stkCharacters = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 27:
                this.stkBackgrounds = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 91 "..\..\MainPage.xaml"
                this.btnNewCancel.Click += new System.Windows.RoutedEventHandler(this.btnNewCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\MainPage.xaml"
                this.btnConfirm.Click += new System.Windows.RoutedEventHandler(this.btnConfirm_Click);

            #line default
            #line hidden
                return;

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

            case 31:
                this.recBackgroundPreview = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

            #line 104 "..\..\MainPage.xaml"
                this.btnConfirmCancel.Click += new System.Windows.RoutedEventHandler(this.btnConfirmCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainPage.xaml"
                this.btnConfirmDelete.Click += new System.Windows.RoutedEventHandler(this.btnConfirmDelete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.backgrnd = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 34 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.textExercices.Click += new System.Windows.RoutedEventHandler(this.textExercices_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.textChap2.Click += new System.Windows.RoutedEventHandler(this.textChap2_Click);

            #line default
            #line hidden
                return;

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

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

            #line 159 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.textMaps.Click += new System.Windows.RoutedEventHandler(this.textMaps_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.wrapPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 223 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.buttonMap1.Click += new System.Windows.RoutedEventHandler(this.buttonMap1_Click);

            #line default
            #line hidden
                return;

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

            #line 281 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.buttonMap1_Copy.Click += new System.Windows.RoutedEventHandler(this.buttonMap1_Copy_Click);

            #line default
            #line hidden
                return;

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

            #line 339 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.buttonMap1_Copy1.Click += new System.Windows.RoutedEventHandler(this.buttonMap1_Copy1_Click);

            #line default
            #line hidden
                return;

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

            #line 397 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.buttonMap1_Copy3.Click += new System.Windows.RoutedEventHandler(this.buttonMap1_Copy3_Click);

            #line default
            #line hidden
                return;

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

            #line 455 "..\..\..\..\UserControls\ELEVE\MapsMenu.xaml"
                this.buttonMap1_Copy4.Click += new System.Windows.RoutedEventHandler(this.buttonMap1_Copy4_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\MainWindow.xaml"
                this._ButtonSave.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\MainWindow.xaml"
                this._ButtonManual.Click += new System.Windows.RoutedEventHandler(this.Manual_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

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

            case 18:
                this._listBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 86 "..\..\..\MainWindow.xaml"
                this._listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this._ListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this._ScrollVewer1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:
                this._WrapPanelMain = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 21:
                this.toolBar2 = ((System.Windows.Controls.ToolBar)(target));
                return;

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

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

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

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

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

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

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

            case 29:

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

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

            #line 10 "..\..\MainWindow.xaml"
                ((wp.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.window_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\MainWindow.xaml"
                this.n_counts.Click += new System.Windows.RoutedEventHandler(this.n_counts_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\MainWindow.xaml"
                this.n_del.Click += new System.Windows.RoutedEventHandler(this.n_del_Click);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\MainWindow.xaml"
                this.n_vipCard.Click += new System.Windows.RoutedEventHandler(this.n_vipCard_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\MainWindow.xaml"
                this.n_keyboard.Click += new System.Windows.RoutedEventHandler(this.n_keyboard_Click);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\MainWindow.xaml"
                this.n_discount.Click += new System.Windows.RoutedEventHandler(this.n_discount_Click);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\MainWindow.xaml"
                this.n_admin.Click += new System.Windows.RoutedEventHandler(this.n_admin_Click);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\MainWindow.xaml"
                this.n_exit.Click += new System.Windows.RoutedEventHandler(this.n_exit_Click);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\MainWindow.xaml"
                this.categoryUp.Click += new System.Windows.RoutedEventHandler(this.categoryUp_Click);

            #line default
            #line hidden
                return;

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

            #line 136 "..\..\MainWindow.xaml"
                this.categoryDown.Click += new System.Windows.RoutedEventHandler(this.categoryDown_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 18:
                this.activePanel = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 194 "..\..\MainWindow.xaml"
                this.full2.Click += new System.Windows.RoutedEventHandler(this.full2_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.topPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.goodsArea = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ContentPanel = ((PasswordBoss.Views.DigitalWalletContentPanel)(target));
                return;

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

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

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

            case 5:
                this.gridImg = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.listImg = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            case 10:
                this.DigitalWalletItemsContainer = ((PasswordBoss.Views.DigitalWalletItems)(target));
                return;

            case 11:
                this.container_sp = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.GridViewTileWrapPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.ListViewStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 17:
                this.DigitalWalletAddEditControl = ((PasswordBoss.Views.UserControls.DigitalWalletAddControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((Wpf_OperDay.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MenuallID = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 3:
                this.MenuallAcc = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\MainWindow.xaml"
                this.MenuallDepo.Click += new System.Windows.RoutedEventHandler(this.MenuallDepo_Click);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.MenuAbout = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.btOpenAcc.Click += new System.Windows.RoutedEventHandler(this.btOpenAcc_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.btRefresh.Click += new System.Windows.RoutedEventHandler(this.btRefresh_Click);

            #line default
            #line hidden
                return;

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

            case 27:
                this.dgAccount = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 143 "..\..\MainWindow.xaml"
                this.btLoadAcc.Click += new System.Windows.RoutedEventHandler(this.btLoadAcc_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.tbSearchAcc = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 145 "..\..\MainWindow.xaml"
                this.btSearchAcc.Click += new System.Windows.RoutedEventHandler(this.btSearchAcc_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 177 "..\..\MainWindow.xaml"
                this.btLoadDep.Click += new System.Windows.RoutedEventHandler(this.btLoadDep_Click);

            #line default
            #line hidden
                return;

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

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

            #line 179 "..\..\MainWindow.xaml"
                this.btSearchDepo.Click += new System.Windows.RoutedEventHandler(this.btSearchDepo_Click);

            #line default
            #line hidden
                return;

            case 37:

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

            #line default
            #line hidden
                return;

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

            #line 181 "..\..\MainWindow.xaml"
                this.btRefreshDepo.Click += new System.Windows.RoutedEventHandler(this.btRefreshDepo_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.tabAddHeadID = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

            case 44:
                this.txblName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 46:
                this.txblPatr = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 48:
                this.cbPassp = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

            case 52:
                this.dpissuedwhen = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 53:
                this.dpBirstd = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 54:
                this.tbAdr = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 233 "..\..\MainWindow.xaml"
                this.btAdd.Click += new System.Windows.RoutedEventHandler(this.btAdd_Click);

            #line default
            #line hidden
                return;

            case 56:

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

            #line default
            #line hidden
                return;

            case 57:
                this.tabHeadOpenacc = ((System.Windows.Controls.TabItem)(target));
                return;

            case 58:
                this.txblIDac = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.tbIDac = ((System.Windows.Controls.TextBox)(target));
                return;

            case 60:
                this.tbBal = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.txblDep = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.tbBalII = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            #line 265 "..\..\MainWindow.xaml"
                this.btAddAcc.Click += new System.Windows.RoutedEventHandler(this.btAddAcc_Click);

            #line default
            #line hidden
                return;

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

            #line 266 "..\..\MainWindow.xaml"
                this.btSaveAcc.Click += new System.Windows.RoutedEventHandler(this.btSaveAcc_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.tabHeadAddDepo = ((System.Windows.Controls.TabItem)(target));
                return;

            case 68:
                this.tbNumbcontr = ((System.Windows.Controls.TextBox)(target));
                return;

            case 69:
                this.tbIDdep = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.tbSum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.cbDeposit = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 72:
                this.cb1m = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 73:
                this.cb2m = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 74:
                this.cb3m = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 75:
                this.btAdddeposit = ((System.Windows.Controls.Button)(target));

            #line 298 "..\..\MainWindow.xaml"
                this.btAdddeposit.Click += new System.Windows.RoutedEventHandler(this.btAdddeposit_Click);

            #line default
            #line hidden
                return;

            case 76:
                this.btSavedeposit = ((System.Windows.Controls.Button)(target));

            #line 299 "..\..\MainWindow.xaml"
                this.btSavedeposit.Click += new System.Windows.RoutedEventHandler(this.btSavedeposit_Click);

            #line default
            #line hidden
                return;

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

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

            case 79:
                this.tabHeadDay = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 317 "..\..\MainWindow.xaml"
                this.btCalc.Click += new System.Windows.RoutedEventHandler(this.btCalc_Click);

            #line default
            #line hidden
                return;

            case 81:

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

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

            #line 10 "..\..\MainMenu.xaml"
                ((CSAssignmentChatBot.MainMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoad);

            #line default
            #line hidden
                return;

            case 2:

            #line 34 "..\..\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.speechRecognition);

            #line default
            #line hidden
                return;

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

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

            #line 60 "..\..\MainMenu.xaml"
                this.speakButtonEnter.Click += new System.Windows.RoutedEventHandler(this.speak);

            #line default
            #line hidden
                return;

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

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

            #line 67 "..\..\MainMenu.xaml"
                this.speakInput.KeyDown += new System.Windows.Input.KeyEventHandler(this.SpeakInput_KeyDown);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.openMenuButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 123 "..\..\MainMenu.xaml"
                this.openMenuButton.Checked += new System.Windows.RoutedEventHandler(this.toggleMenuOn);

            #line default
            #line hidden

            #line 123 "..\..\MainMenu.xaml"
                this.openMenuButton.Unchecked += new System.Windows.RoutedEventHandler(this.toggleMenuOff);

            #line default
            #line hidden
                return;

            case 10:
                this.openOrderButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 124 "..\..\MainMenu.xaml"
                this.openOrderButton.Checked += new System.Windows.RoutedEventHandler(this.toggleOrderOn);

            #line default
            #line hidden

            #line 124 "..\..\MainMenu.xaml"
                this.openOrderButton.Unchecked += new System.Windows.RoutedEventHandler(this.toggleOrderOff);

            #line default
            #line hidden
                return;

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

            case 12:

            #line 144 "..\..\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.deleteItem);

            #line default
            #line hidden
                return;

            case 13:
                this.settingsPage = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 148 "..\..\MainMenu.xaml"
                this.accentChoose_John.Click += new System.Windows.RoutedEventHandler(this.AccentChoose_John_Click);

            #line default
            #line hidden
                return;

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

            #line 149 "..\..\MainMenu.xaml"
                this.accentChoose_Jana.Click += new System.Windows.RoutedEventHandler(this.AccentChoose_Jana_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.settingsButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 153 "..\..\MainMenu.xaml"
                this.settingsButton.Checked += new System.Windows.RoutedEventHandler(this.SettingsButton_Checked);

            #line default
            #line hidden

            #line 153 "..\..\MainMenu.xaml"
                this.settingsButton.Unchecked += new System.Windows.RoutedEventHandler(this.SettingsButton_Unchecked);

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

            #line 10 "..\..\..\..\xaml\HeavyMetal\HmSelChannelWindow.xaml"
                ((AIO.HmSelChannelWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.CheckBoxSelAll = ((System.Windows.Controls.CheckBox)(target));

            #line 20 "..\..\..\..\xaml\HeavyMetal\HmSelChannelWindow.xaml"
                this.CheckBoxSelAll.Click += new System.Windows.RoutedEventHandler(this.CheckBoxSelAll_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\..\xaml\HeavyMetal\HmSelChannelWindow.xaml"
                this.ButtonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrev_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\xaml\HeavyMetal\HmSelChannelWindow.xaml"
                this.ButtonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.sp_01 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.sv_01 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 8:
                this.WrapPanelChannel = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\Page.xaml"
                ((GameDB.Page)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 14 "..\..\Page.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseClick);

            #line default
            #line hidden
                return;

            case 3:
                this.tabControl = ((Dragablz.TabablzControl)(target));
                return;

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

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

            case 6:
                this.characterScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 27 "..\..\Page.xaml"
                this.createButton.Click += new System.Windows.RoutedEventHandler(this.CreateClick);

            #line default
            #line hidden
                return;

            case 8:
                this.characterList = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 11:
                this.statScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 38 "..\..\Page.xaml"
                this.backStatButton.Click += new System.Windows.RoutedEventHandler(this.BackStatClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 20:
                this.progressLevel = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 21:
                this.progressExp = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            case 24:
                this.progressHealth = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 25:
                this.progressMana = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

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

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

            case 31:
                this.locationScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 78 "..\..\Page.xaml"
                this.backLocationButton.Click += new System.Windows.RoutedEventHandler(this.BackLocationClick);

            #line default
            #line hidden
                return;

            case 33:
                this.locationList = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 36:
                this.skillScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 89 "..\..\Page.xaml"
                this.backSkillButton.Click += new System.Windows.RoutedEventHandler(this.BackSkillClick);

            #line default
            #line hidden
                return;

            case 38:
                this.skillList = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 39:
                this.itemItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 41:
                this.itemScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 100 "..\..\Page.xaml"
                this.backItemButton.Click += new System.Windows.RoutedEventHandler(this.BackItemClick);

            #line default
            #line hidden
                return;

            case 43:
                this.itemList = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 44:
                this.monsterItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 46:
                this.monsterScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 111 "..\..\Page.xaml"
                this.backMonsterButton.Click += new System.Windows.RoutedEventHandler(this.BackMonsterClick);

            #line default
            #line hidden
                return;

            case 48:
                this.monsterList = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 51:
                this.monsterSkillScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 122 "..\..\Page.xaml"
                this.backMonsterSkillButton.Click += new System.Windows.RoutedEventHandler(this.BackMonsterSkillClick);

            #line default
            #line hidden
                return;

            case 53:
                this.monsterSkillList = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 54:
                this.dropItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 56:
                this.dropScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 133 "..\..\Page.xaml"
                this.backDropButton.Click += new System.Windows.RoutedEventHandler(this.BackDropClick);

            #line default
            #line hidden
                return;

            case 58:
                this.dropList = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 59:
                this.npcItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 61:
                this.npcScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 62:
                this.backNPCButton = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\Page.xaml"
                this.backNPCButton.Click += new System.Windows.RoutedEventHandler(this.BackNPCClick);

            #line default
            #line hidden
                return;

            case 63:
                this.npcList = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 64:
                this.settingItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 66:
                this.settingScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 67:
                this.backSettingButton = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\Page.xaml"
                this.backSettingButton.Click += new System.Windows.RoutedEventHandler(this.BackSettingClick);

            #line default
            #line hidden
                return;

            case 68:
                this.settingLogin = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.settingUserLogin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.settingChangeLoginButton = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\Page.xaml"
                this.settingChangeLoginButton.Click += new System.Windows.RoutedEventHandler(this.ChangeLoginClick);

            #line default
            #line hidden
                return;

            case 71:
                this.settingUpdateLoginButton = ((System.Windows.Controls.Button)(target));

            #line 162 "..\..\Page.xaml"
                this.settingUpdateLoginButton.Click += new System.Windows.RoutedEventHandler(this.UpdateLoginClick);

            #line default
            #line hidden
                return;

            case 72:
                this.settingCancelLoginButton = ((System.Windows.Controls.Button)(target));

            #line 163 "..\..\Page.xaml"
                this.settingCancelLoginButton.Click += new System.Windows.RoutedEventHandler(this.CancelLoginClick);

            #line default
            #line hidden
                return;

            case 73:
                this.settingPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.settingUserPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.settingChangePasswordButton = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\Page.xaml"
                this.settingChangePasswordButton.Click += new System.Windows.RoutedEventHandler(this.ChangePasswordClick);

            #line default
            #line hidden
                return;

            case 76:
                this.settingUpdatePasswordButton = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\Page.xaml"
                this.settingUpdatePasswordButton.Click += new System.Windows.RoutedEventHandler(this.UpdatePasswordClick);

            #line default
            #line hidden
                return;

            case 77:
                this.settingCancelPasswordButton = ((System.Windows.Controls.Button)(target));

            #line 171 "..\..\Page.xaml"
                this.settingCancelPasswordButton.Click += new System.Windows.RoutedEventHandler(this.CancelPasswordClick);

            #line default
            #line hidden
                return;

            case 78:
                this.settingName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 79:
                this.settingUserName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 177 "..\..\Page.xaml"
                this.settingChangeNameButton.Click += new System.Windows.RoutedEventHandler(this.ChangeNameClick);

            #line default
            #line hidden
                return;

            case 81:
                this.settingUpdateNameButton = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\Page.xaml"
                this.settingUpdateNameButton.Click += new System.Windows.RoutedEventHandler(this.UpdateNameClick);

            #line default
            #line hidden
                return;

            case 82:
                this.settingCancelNameButton = ((System.Windows.Controls.Button)(target));

            #line 179 "..\..\Page.xaml"
                this.settingCancelNameButton.Click += new System.Windows.RoutedEventHandler(this.CancelNameClick);

            #line default
            #line hidden
                return;

            case 83:
                this.settingSurname = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 84:
                this.settingUserSurname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 85:
                this.settingChangeSurnameButton = ((System.Windows.Controls.Button)(target));

            #line 185 "..\..\Page.xaml"
                this.settingChangeSurnameButton.Click += new System.Windows.RoutedEventHandler(this.ChangeSurnameClick);

            #line default
            #line hidden
                return;

            case 86:
                this.settingUpdateSurnameButton = ((System.Windows.Controls.Button)(target));

            #line 186 "..\..\Page.xaml"
                this.settingUpdateSurnameButton.Click += new System.Windows.RoutedEventHandler(this.UpdateSurnameClick);

            #line default
            #line hidden
                return;

            case 87:
                this.settingCancelSurnameButton = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\Page.xaml"
                this.settingCancelSurnameButton.Click += new System.Windows.RoutedEventHandler(this.CancelSurnameClick);

            #line default
            #line hidden
                return;

            case 88:
                this.deleteUserButton = ((System.Windows.Controls.Button)(target));

            #line 190 "..\..\Page.xaml"
                this.deleteUserButton.Click += new System.Windows.RoutedEventHandler(this.DeleteUserClick);

            #line default
            #line hidden
                return;

            case 89:
                this.donatPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 90:
                this.donatLogin = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 91:
                this.donatUserLogin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 92:
                this.grantDonatButton = ((System.Windows.Controls.Button)(target));

            #line 195 "..\..\Page.xaml"
                this.grantDonatButton.Click += new System.Windows.RoutedEventHandler(this.GrantDonatClick);

            #line default
            #line hidden
                return;

            case 93:
                this.revokeDonatButton = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\Page.xaml"
                this.revokeDonatButton.Click += new System.Windows.RoutedEventHandler(this.RevokeDonatClick);

            #line default
            #line hidden
                return;

            case 94:
                this.xmlPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 95:
                this.xmlExportButton = ((System.Windows.Controls.Button)(target));

            #line 200 "..\..\Page.xaml"
                this.xmlExportButton.Click += new System.Windows.RoutedEventHandler(this.XMLExportClick);

            #line default
            #line hidden
                return;

            case 96:
                this.insert100KButton = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\Page.xaml"
                this.insert100KButton.Click += new System.Windows.RoutedEventHandler(this.Insert100KClick);

            #line default
            #line hidden
                return;

            case 97:
                this.xmlImportButton = ((System.Windows.Controls.Button)(target));

            #line 202 "..\..\Page.xaml"
                this.xmlImportButton.Click += new System.Windows.RoutedEventHandler(this.XMLImportClick);

            #line default
            #line hidden
                return;

            case 98:
                this.tableControlButton = ((System.Windows.Controls.Button)(target));

            #line 205 "..\..\Page.xaml"
                this.tableControlButton.Click += new System.Windows.RoutedEventHandler(this.TableControlClick);

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

            #line 10 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                ((AIO.HmMeasureWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                ((AIO.HmMeasureWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

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

            #line 24 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.ButtonBirefDescription.Click += new System.Windows.RoutedEventHandler(this.ButtonBirefDescription_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.ButtonUpdate_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.ButtonPrint_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.ButtonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrev_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.ButtonSampleTest.Click += new System.Windows.RoutedEventHandler(this.ButtonSampleTest_Click);

            #line default
            #line hidden
                return;

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

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

            #line 36 "..\..\..\..\xaml\HeavyMetal\HmMeasureWindow.xaml"
                this.btn_result.Click += new System.Windows.RoutedEventHandler(this.btn_result_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.WrapPanelChannel = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                ((DealLog.WinStateAndAlarm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dpLayout = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 3:
                this.uCStateWork = ((DealLog.UCStateWork)(target));
                return;

            case 4:
                this.uCAlarm = ((DealLog.UCAlarm)(target));
                return;

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

            case 6:
                this.tsbMainShow = ((ControlLib.MTSwitchButton)(target));

            #line 38 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbMainShow.Checked += new System.Windows.RoutedEventHandler(this.tsbMainShow_Checked);

            #line default
            #line hidden

            #line 38 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbMainShow.Unchecked += new System.Windows.RoutedEventHandler(this.tsbMainShow_Unchecked);

            #line default
            #line hidden
                return;

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

            case 8:
                this.tsbAutoShow = ((ControlLib.MTSwitchButton)(target));

            #line 40 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbAutoShow.Checked += new System.Windows.RoutedEventHandler(this.tsbAutoShow_Checked);

            #line default
            #line hidden

            #line 40 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbAutoShow.Unchecked += new System.Windows.RoutedEventHandler(this.tsbAutoShow_Unchecked);

            #line default
            #line hidden
                return;

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

            case 10:
                this.chkTopMost = ((System.Windows.Controls.CheckBox)(target));

            #line 42 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.chkTopMost.Checked += new System.Windows.RoutedEventHandler(this.chkTopMost_Checked);

            #line default
            #line hidden

            #line 42 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.chkTopMost.Unchecked += new System.Windows.RoutedEventHandler(this.chkTopMost_Unchecked);

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

            #line 6 "..\..\..\..\Controls\ContactResponse.xaml"
                ((Pointel.Interactions.Contact.Controls.ContactResponse)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Controls\ContactResponse.xaml"
                ((Pointel.Interactions.Contact.Controls.ContactResponse)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ResponseExpand = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.cmbFrom = ((System.Windows.Controls.ComboBox)(target));

            #line 37 "..\..\..\..\Controls\ContactResponse.xaml"
                this.cmbFrom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSearch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.brdSearchBar = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 45 "..\..\..\..\Controls\ContactResponse.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged_1);

            #line default
            #line hidden
                return;

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

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

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

            #line 63 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAdvanceSearchResponse.Click += new System.Windows.RoutedEventHandler(this.btnAdvanceSearchResponse_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.AdvanceSearchHeading = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.AdvanceSearchContent = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 86 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAdvanceSearch.Click += new System.Windows.RoutedEventHandler(this.btnAdvanceSearch_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 15:
                this.rowCheckSearch = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 16:
                this.rowCheckSearch1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

            #line 140 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseName.Checked += new System.Windows.RoutedEventHandler(this.ResponseName_Checked);

            #line default
            #line hidden

            #line 140 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseName.Unchecked += new System.Windows.RoutedEventHandler(this.ResponseName_Checked);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseBody.Checked += new System.Windows.RoutedEventHandler(this.ResponseBodyChecked);

            #line default
            #line hidden

            #line 142 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseBody.Unchecked += new System.Windows.RoutedEventHandler(this.ResponseBodyChecked);

            #line default
            #line hidden
                return;

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

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

            #line 158 "..\..\..\..\Controls\ContactResponse.xaml"
                this.cmbResponse.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbResponse_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAddResponseCompose.Click += new System.Windows.RoutedEventHandler(this.btnAddResponseCompose_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnFavouriteCompose = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            #line 191 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAddResponse.Click += new System.Windows.RoutedEventHandler(this.btnAddResponse_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btnFavourite = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 213 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnRemoveResponse.Click += new System.Windows.RoutedEventHandler(this.btnRemoveResponse_Click);

            #line default
            #line hidden
                return;

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

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

            #line 232 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnContactExpand.Click += new System.Windows.RoutedEventHandler(this.btnContactExpand_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btnContact = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 35:
                this.ExpandGrid = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 36:
                this.ExpandGridAuto = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 37:
                this.ListView1 = ((System.Windows.Controls.ListView)(target));
                return;

            case 38:
                this.txtAlertMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.TreeView1 = ((System.Windows.Controls.TreeView)(target));

            #line 268 "..\..\..\..\Controls\ContactResponse.xaml"
                this.TreeView1.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.OnItemSelected));

            #line default
            #line hidden

            #line 269 "..\..\..\..\Controls\ContactResponse.xaml"
                this.TreeView1.AddHandler(System.Windows.Controls.TreeViewItem.UnselectedEvent, new System.Windows.RoutedEventHandler(this.TreeView1_Unselected));

            #line default
            #line hidden
                return;

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

            case 41:
                this.txtSubject = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.wpAttachments = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bStuffDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.dpStuff = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

            case 5:
                this.bVictoryPointsDivider = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 8:

            #line 27 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown_1);

            #line default
            #line hidden

            #line 27 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove_1);

            #line default
            #line hidden

            #line 27 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 9:
                this.bHorizontal = ((System.Windows.Controls.Border)(target));
                return;

            case 10:

            #line 32 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 32 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 32 "..\..\..\Controls\ucPlayerDisplay.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);

            #line default
            #line hidden
                return;

            case 11:
                this.bVertical = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.svPlayerDisplay = ((System.Windows.Controls.ScrollViewer)(target));

            #line 37 "..\..\..\Controls\ucPlayerDisplay.xaml"
                this.svPlayerDisplay.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svPlayerDisplay_ScrollChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.dpPlayerDisplay = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 14:
                this.cardDiscard = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 15:
                this.bDeckDiscardDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.cardDeck = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 17:
                this.bDeckHandDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.wpHand = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 19:
                this.cardHand = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 20:
                this.bHandInPlayivider = ((System.Windows.Controls.Border)(target));
                return;

            case 21:
                this.dpInPlay = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 22:
                this.cardInPlay = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 23:
                this.bSetAsideDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 24:
                this.cardSetAside = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 25:
                this.bInPlayRevealedDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 26:
                this.cardRevealed = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 27:
                this.bRevealedLookingAtDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 28:
                this.cardPrivate = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 29:
                this.bInPlayMatsDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 30:
                this.dpMatsandPiles = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 31:
                this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
                return;

            case 32:
                this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 33:
                this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
                return;

            case 34:
                this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\MainWindow.xaml"
                ((FRILTimeMachine.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.MetroWindow_KeyUp);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 59 "..\..\MainWindow.xaml"
                this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.PilotsPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 11:
                this.Pilot1Box = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 13:
                this.Pilot2Box = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 15:
                this.Pilot3Box = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 18:
                this.Pilot4LapsListBox = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:
                this.Pilot5Box = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 21:
                this.Pilot6Box = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 22:
                this.Pilot6LapsListBox = ((System.Windows.Controls.ListView)(target));
                return;

            case 23:
                this.Pilot7Box = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 24:
                this.Pilot7LapsListBox = ((System.Windows.Controls.ListView)(target));
                return;

            case 25:
                this.Pilot8Box = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 26:
                this.Pilot8LapsListBox = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((WpfApp1.MainWindow)(target));
                return;

            case 2:
                this.filePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBox)(target)).DropDownClosed += new System.EventHandler(this.SizeChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBox)(target)).DropDownClosed += new System.EventHandler(this.MethodChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\MainWindow.xaml"
                this.showTable.Click += new System.Windows.RoutedEventHandler(this.ShowTable);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.alphaGen.Click += new System.Windows.RoutedEventHandler(this.Generate);

            #line default
            #line hidden
                return;

            case 11:
                this.alphaP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 12:
                this.alphaPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.alphaPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.alphaOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.vAlpha = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.vAlpha.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\MainWindow.xaml"
                this.redGen.Click += new System.Windows.RoutedEventHandler(this.Generate);

            #line default
            #line hidden
                return;

            case 16:
                this.redP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 17:
                this.redPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.redPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.redOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 21:
                this.greenP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 22:
                this.greenPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.greenPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainWindow.xaml"
                this.greenOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.vGreen = ((System.Windows.Controls.CheckBox)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.vGreen.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 26:
                this.blueP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 27:
                this.bluePass = ((System.Windows.Controls.PasswordBox)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.bluePass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\MainWindow.xaml"
                this.blueOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.vBlue = ((System.Windows.Controls.CheckBox)(target));

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 32:
                this.passDecr = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 34:
                this.alphaDecrP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 35:
                this.alphaDecrPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.alphaDecrPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.alphaDecrOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.vAlphaDecr = ((System.Windows.Controls.CheckBox)(target));

            #line 103 "..\..\MainWindow.xaml"
                this.vAlphaDecr.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

            case 38:
                this.redDecrP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 39:
                this.redDecrPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.redDecrPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.redDecrOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.vRedDecr = ((System.Windows.Controls.CheckBox)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.vRedDecr.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

            case 42:
                this.greenDecrP = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 43:
                this.greenDecrPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 121 "..\..\MainWindow.xaml"
                this.greenDecrPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\MainWindow.xaml"
                this.greenDecrOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\MainWindow.xaml"
                this.vGreenDecr.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

            case 46:
                this.blueDecrP = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 131 "..\..\MainWindow.xaml"
                this.blueDecrPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PassChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.blueDecrOpen = ((System.Windows.Controls.TextBox)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.blueDecrOpen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OpenPassChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.vBlueDecr = ((System.Windows.Controls.CheckBox)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.vBlueDecr.Click += new System.Windows.RoutedEventHandler(this.OpenPass);

            #line default
            #line hidden
                return;

            case 50:
                this.beforeImg = ((System.Windows.Controls.Image)(target));
                return;

            case 51:
                this.afterImg = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 158 "..\..\MainWindow.xaml"
                this.encrypt.Click += new System.Windows.RoutedEventHandler(this.StartEncrypt);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\MainWindow.xaml"
                this.inverse.Click += new System.Windows.RoutedEventHandler(this.inverseEncrypt);

            #line default
            #line hidden
                return;

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

            #line 160 "..\..\MainWindow.xaml"
                this.decrypt.Click += new System.Windows.RoutedEventHandler(this.StartDecrypt);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\MainWindow.xaml"
                this.export.Click += new System.Windows.RoutedEventHandler(this.Export);

            #line default
            #line hidden
                return;

            case 56:
                this.anyChiphers = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 166 "..\..\MainWindow.xaml"
                this.des.Click += new System.Windows.RoutedEventHandler(this.Des);

            #line default
            #line hidden
                return;

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

            #line 167 "..\..\MainWindow.xaml"
                this.aes.Click += new System.Windows.RoutedEventHandler(this.Aes);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tbFilepath = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\ExportWindow.xaml"
                this.tbFilepath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbFilepath_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\ExportWindow.xaml"
                this.btnBrowse.Click += new System.Windows.RoutedEventHandler(this.btnBrowse_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.cmboLoadfileType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.wpanelOutputEncoding = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 42 "..\..\ExportWindow.xaml"
                this.cmboEncodings.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmboEncodings_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.wpanelDelimiters = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 58 "..\..\ExportWindow.xaml"
                this.cmboDelimField.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmboDelimField_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\ExportWindow.xaml"
                this.cmboDelimText.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmboDelimText_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\ExportWindow.xaml"
                this.cmboDelimLineBreakSub.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmboDelimLineBreakSub_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.wpanelIncludeHeaders = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 12:
                this.chkIncludeHeaders = ((System.Windows.Controls.CheckBox)(target));

            #line 73 "..\..\ExportWindow.xaml"
                this.chkIncludeHeaders.Checked += new System.Windows.RoutedEventHandler(this.chkIncludeHeaders_Checked);

            #line default
            #line hidden

            #line 73 "..\..\ExportWindow.xaml"
                this.chkIncludeHeaders.Unchecked += new System.Windows.RoutedEventHandler(this.chkIncludeHeaders_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 86 "..\..\ExportWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 11 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.Image_ImageFailed);

            #line default
            #line hidden
                return;

            case 2:
                this.CreatNewWork = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 3:
                this.loadformdatabase = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 4:
                this.loadformSourceZip = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 5:
                this.loadformOpZip = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.SaveSourcedata = ((Fluent.Button)(target));

            #line 106 "..\..\..\MainWindow.xaml"
                this.SaveSourcedata.Click += new System.Windows.RoutedEventHandler(this.SaveSourcedata_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.SaveOpdata = ((Fluent.Button)(target));

            #line 108 "..\..\..\MainWindow.xaml"
                this.SaveOpdata.Click += new System.Windows.RoutedEventHandler(this.SaveOpdata_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.openpdfile = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 9:
                this.openqxfile = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 10:
                this.openbjfile = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 11:
                this.checkdatasign = ((Fluent.Button)(target));

            #line 119 "..\..\..\MainWindow.xaml"
                this.checkdatasign.Click += new System.Windows.RoutedEventHandler(this.checkdatasign_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.checklogic = ((Fluent.Button)(target));

            #line 120 "..\..\..\MainWindow.xaml"
                this.checklogic.Click += new System.Windows.RoutedEventHandler(this.checklogic_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.opentemppdfile = ((Fluent.Button)(target));

            #line 123 "..\..\..\MainWindow.xaml"
                this.opentemppdfile.Click += new System.Windows.RoutedEventHandler(this.opentemppdfile_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.opentempqxfile = ((Fluent.Button)(target));

            #line 124 "..\..\..\MainWindow.xaml"
                this.opentempqxfile.Click += new System.Windows.RoutedEventHandler(this.opentempqxfile_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.opentempbjfile = ((Fluent.Button)(target));

            #line 125 "..\..\..\MainWindow.xaml"
                this.opentempbjfile.Click += new System.Windows.RoutedEventHandler(this.opentempbjfile_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.changeS = ((Fluent.Button)(target));

            #line 130 "..\..\..\MainWindow.xaml"
                this.changeS.Click += new System.Windows.RoutedEventHandler(this.changeS_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.changeX = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 18:
                this.changeSX = ((Fluent.Button)(target));

            #line 132 "..\..\..\MainWindow.xaml"
                this.changeSX.Click += new System.Windows.RoutedEventHandler(this.changeSX_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.changemerge = ((Fluent.Button)(target));

            #line 135 "..\..\..\MainWindow.xaml"
                this.changemerge.Click += new System.Windows.RoutedEventHandler(this.changemerge_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.infoboxpanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 23:
                this.ProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                ((AIO.RecordWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                ((AIO.RecordWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

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

            #line 21 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ButtonPrint.Click += new System.Windows.RoutedEventHandler(this.ButtonPrint_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ButtonUpload.Click += new System.Windows.RoutedEventHandler(this.ButtonUpload_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ButtonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrev_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.Deleted.Click += new System.Windows.RoutedEventHandler(this.Deleted_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnReportShow.Click += new System.Windows.RoutedEventHandler(this.btnReportShow_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnDeleted.Click += new System.Windows.RoutedEventHandler(this.btnDeleted_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btn_ReportPrint.Click += new System.Windows.RoutedEventHandler(this.btn_ReportPrint_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 45 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ComboBoxCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxCategory_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 49 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ComboBoxMethod.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxMethod_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ComboBoxItem.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ComboBoxItem_MouseDoubleClick);

            #line default
            #line hidden

            #line 53 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ComboBoxItem.KeyDown += new System.Windows.Input.KeyEventHandler(this.ComboBoxItem_KeyDown);

            #line default
            #line hidden

            #line 53 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ComboBoxItem.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ComboBoxItem_TextChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.DatePickerDateFrom = ((System.Windows.Controls.DatePicker)(target));

            #line 58 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.DatePickerDateFrom.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePickerDateFrom_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.DatePickerDateTo.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePickerDateTo_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

            #line 63 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.CheckBoxSelAll = ((System.Windows.Controls.CheckBox)(target));

            #line 64 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.CheckBoxSelAll.Click += new System.Windows.RoutedEventHandler(this.CheckBoxSelAll_Click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnDataAnalysis.Click += new System.Windows.RoutedEventHandler(this.btnDataAnalysis_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.ButtonQuery.Click += new System.Windows.RoutedEventHandler(this.ButtonQuery_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.DataGridRecord.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridRecord_SelectionChanged);

            #line default
            #line hidden

            #line 69 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.DataGridRecord.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGridRecord_MouseDoubleClick);

            #line default
            #line hidden

            #line 69 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.DataGridRecord.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGridRecord_LoadingRow);

            #line default
            #line hidden
                return;

            case 30:
                this.DataGridMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 31:
                this.miEdit = ((System.Windows.Controls.MenuItem)(target));

            #line 72 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miEdit.Click += new System.Windows.RoutedEventHandler(this.miEdit_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.miUpload = ((System.Windows.Controls.MenuItem)(target));

            #line 73 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miUpload.Click += new System.Windows.RoutedEventHandler(this.miUpload_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.miPrint = ((System.Windows.Controls.MenuItem)(target));

            #line 74 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miPrint.Click += new System.Windows.RoutedEventHandler(this.miPrint_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.miReportPrint = ((System.Windows.Controls.MenuItem)(target));

            #line 75 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miReportPrint.Click += new System.Windows.RoutedEventHandler(this.miReportPrint_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.miImportOrExport = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 36:
                this.miImport = ((System.Windows.Controls.MenuItem)(target));

            #line 77 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miImport.Click += new System.Windows.RoutedEventHandler(this.miImport_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.miExport = ((System.Windows.Controls.MenuItem)(target));

            #line 78 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.miExport.Click += new System.Windows.RoutedEventHandler(this.miExport_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 107 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnHomePage.Click += new System.Windows.RoutedEventHandler(this.btnHomePage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 109 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnEndPage.Click += new System.Windows.RoutedEventHandler(this.btnEndPage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 111 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnUpPage.Click += new System.Windows.RoutedEventHandler(this.btnUpPage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 113 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnNextPage.Click += new System.Windows.RoutedEventHandler(this.btnNextPage_Click);

            #line default
            #line hidden
                return;

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

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

            #line 115 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.textBoxPage.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxPage_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 117 "..\..\..\..\xaml\Record\RecordWindow.xaml"
                this.btnGo.Click += new System.Windows.RoutedEventHandler(this.btnGo_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.labelCount = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.selectedUsers = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:

            #line 23 "..\..\..\ManageUsers.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected);

            #line default
            #line hidden
                return;

            case 3:

            #line 24 "..\..\..\ManageUsers.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected_1);

            #line default
            #line hidden
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\ManageUsers.xaml"
                this.deleteUser.Click += new System.Windows.RoutedEventHandler(this.deleteUser_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\ManageUsers.xaml"
                this.editUser.Click += new System.Windows.RoutedEventHandler(this.editUser_Click);

            #line default
            #line hidden
                return;

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

            case 9:

            #line 50 "..\..\..\ManageUsers.xaml"
                ((System.Windows.Controls.Canvas)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.panelEmployee = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

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

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

            case 16:
                this.cbAcсessEmployee = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 87 "..\..\..\ManageUsers.xaml"
                this.btAddEmployee.Click += new System.Windows.RoutedEventHandler(this.btAddEmployee_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.panelDriver = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

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

            #line 99 "..\..\..\ManageUsers.xaml"
                this.btAddDriver.Click += new System.Windows.RoutedEventHandler(this.btAddDriver_Click);

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