protected override FrameworkElement GetContent()
        {
            int totalHeight = 0;
            ListBox removeOptions = new ListBox();

            for(int i = 0 ; i < _tree.Items.Count; i ++)
            
                if (_tree.Items[i] is PatternBase)
                {
                    totalHeight += 25; //default height of an item
                    TextBlock pattern = new TextBlock() 
                    {
                        Text = (_tree.Items[i] as PatternBase).BioPatternName,
                        Name = i.ToString(), //store the id as name so we can remove it later...
                        Width = 150
                    };

                    pattern.MouseLeftButtonUp += new MouseButtonEventHandler(RemoveSelectedPattern);
                    removeOptions.Items.Add(pattern);
                }

            Grid grid = new Grid() 
            { 
                Height = totalHeight,
                Width = 170
            };
            grid.Children.Add(removeOptions);
            return grid;
        }
示例#2
1
 public AutoScrollHandler(System.Windows.Controls.ListBox target)
 {
     Target = target;
     Binding B = new Binding("ItemsSource");
     B.Source = Target;
     BindingOperations.SetBinding(this, ItemsSourceProperty, B);
 }
 public override void ActionSheet(ActionSheetConfig config) {
     var sheet = new CustomMessageBox {
         Caption = config.Title,
         IsLeftButtonEnabled = false,
         IsRightButtonEnabled = false
     };
     var list = new ListBox {
         FontSize = 36,
         Margin = new Thickness(12.0),
         SelectionMode = SelectionMode.Single,
         ItemsSource = config.Options
             .Select(x => new TextBlock {
                 Text = x.Text,
                 Margin = new Thickness(0.0, 12.0, 0.0, 12.0),
                 DataContext = x
             })
     };
     list.SelectionChanged += (sender, args) => sheet.Dismiss();
     sheet.Content = list;
     sheet.Dismissed += (sender, args) => {
         var txt = (TextBlock)list.SelectedValue;
         var action = (ActionSheetOption)txt.DataContext;
         if (action.Action != null)
             action.Action();
     };
     this.Dispatch(sheet.Show);
 }
    public override void OnApplyTemplate()
    {
        if (MapDetailsControl != null)
        {
            MapDetailsControl.MapDetailsChanged -= RaiseMapDetailsChanged;
            MapDetailsControl.MapSelectedForOpening -= RaiseMapSelectedForOpening;
        }

        if (ResultsListBox != null)
            ResultsListBox.SelectionChanged -= ResultListBox_SelectionChanged;

        base.OnApplyTemplate();

        MapDetailsControl = GetTemplateChild("MapDetailsControl") as MapDetailsControl;
        ResultsListBox = GetTemplateChild("ResultsListBox") as ListBox;
        SearchResultsTextBlock = GetTemplateChild("SearchResultsTextBlock") as TextBlock;
        DataPager = GetTemplateChild("DataPager") as DataPager;

        if (MapDetailsControl != null)
        {
            MapDetailsControl.MapDetailsChanged += RaiseMapDetailsChanged;
            MapDetailsControl.MapSelectedForOpening += RaiseMapSelectedForOpening;
        }

        if (ResultsListBox != null)
        {
            ResultsListBox.SelectionChanged += ResultListBox_SelectionChanged;
            ResultsListBox.DataContext = this;
        }
        if (_isDirty)
            GenerateResults();
    }
 private void fillList(ListBox listPlaylist)
 {
     if (!Directory.Exists(PathPlaylist))
         Directory.CreateDirectory(PathPlaylist);
     try
     {
         string[] listFiles = Directory.GetFiles(PathPlaylist, "*.pls");
         foreach (string fileName in listFiles)
         {
             try
             {
                 Playlist onePlaylist = new Playlist(fileName);
                 onePlaylist.ParsePlaylist();
                 listPlaylist.Items.Add(onePlaylist);
             }
             catch (Exception ex)
             {
                 Console.WriteLine(ex.ToString());
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
 static void AddSelectionEvent(ListBox list)
 {
     list.SelectionChanged += delegate
     {
         MessageBox.Show("");
     };
 }
 private void pasarListBox(ListBox origen, ListBox destino)
 {
     String text = origen.SelectedItem.ToString();
     text = text.Replace("System.Windows.Controls.ListBoxItem: ", "");
     destino.Items.Add(text);
     origen.Items.Remove(origen.SelectedItem);
 }
示例#8
0
文件: Save.cs 项目: unil/fbm-tools
        private static string GetInformationToSave(int cas, MainWindow mw)
        {
            ListBox listBox = new ListBox();

            switch (cas)
            {
                case 1:
                    break;
                case 2:
                    break;
                case 3:
                    break;
                case 4:
                    break;
                case 5:
                    listBox = mw.listBoxError_Test;
                    break;
            }

            string contents = "";
            foreach (string ligne in listBox.Items)
            {
                contents += ligne + "\r\n";
            }

            return contents;
        }
示例#9
0
        //for creating a new terminal
        public PopUpTerminal(Airport airport)
        {
            this.Airport = airport;

            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PopUpTerminal", this.Uid);

            this.Width = 400;

            this.Height = 200;

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

            StackPanel mainPanel = new StackPanel();
            mainPanel.Margin = new Thickness(10, 10, 10, 10);

            ListBox lbTerminal = new ListBox();
            lbTerminal.ItemContainerStyleSelector = new ListBoxItemStyleSelector();
            lbTerminal.SetResourceReference(ListBox.ItemTemplateProperty, "QuickInfoItem");

            mainPanel.Children.Add(lbTerminal);

            // chs 28-01-12: added for name of terminal
            txtName = new TextBox();
            txtName.Background = Brushes.Transparent;
            txtName.BorderBrush = Brushes.Black;
            txtName.IsEnabled = this.Terminal == null;
            txtName.Width = 100;
            txtName.Text = this.Terminal == null ? "Terminal" : this.Terminal.Name;
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal","1007"),txtName));

            // chs 11-09-11: added numericupdown for selecting number of gates
            nudGates = new ucNumericUpDown();
            nudGates.Height = 30;
            nudGates.MaxValue = 50;
            nudGates.ValueChanged+=new RoutedPropertyChangedEventHandler<decimal>(nudGates_ValueChanged);
            nudGates.MinValue = 1;

            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1001"), nudGates));
            /*
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalPrice()))));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalGatePrice()))));
            */
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalPrice()).ToString())));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalGatePrice()).ToString())));

            txtDaysToCreate = UICreator.CreateTextBlock("0 days");
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1004"), txtDaysToCreate));

            txtTotalPrice = UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(0).ToString());//UICreator.CreateTextBlock(string.Format("{0:C}", 0));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1005"), txtTotalPrice));

            mainPanel.Children.Add(createButtonsPanel());

            nudGates.Value = 1;

            this.Content = mainPanel;
        }
示例#10
0
        public void Setup_Board(Tuple<IEnumerable<Column>, IEnumerable<Task>> columns_and_tasks) {
            listboxes = new List<ListBox>();
            var columnIndex = 0;
            foreach (var column in columns_and_tasks.Item1) {
                var listbox = new ListBox();
                listbox.MinWidth = 64;
                panel.Children.Add(listbox);
                var col = columnIndex++;
                listbox.SelectionChanged += (o, e) => {
                    if (listbox.SelectedIndex == -1) {
                        return;
                    }
                    for (var i = 0; i < listboxes.Count; i++) {
                        if (i == col) {
                            continue;
                        }
                        listboxes[i].SelectedIndex = -1;
                    }
                    Show_Task(col, listbox.SelectedIndex);
                };
                listboxes.Add(listbox);
            }

            foreach (var task in columns_and_tasks.Item2) {
                Add_Task(task);
            }
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.numbersList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 2:
     
     #line 56 "..\..\..\View\PersonViewWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 57 "..\..\..\View\PersonViewWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public override void OnApplyTemplate()
        {
            if (ResultsListBox != null)
                ResultsListBox.SelectionChanged -= ResultListBox_SelectionChanged;
            if (MapDetailsControl != null)
            {
                MapDetailsControl.MapDetailsChanged -= RaiseMapDetailsChanged;
                MapDetailsControl.MapSelectedForOpening -= RaiseMapSelectedForOpening;
            }
            base.OnApplyTemplate();
            MapDetailsControl = GetTemplateChild("MapDetailsControl") as MapDetailsControl;
            ResultsListBox = GetTemplateChild("ResultsListBox") as ListBox;

            if (ResultsListBox != null)
            {
                ResultsListBox.SelectionChanged += ResultListBox_SelectionChanged;
                ResultsListBox.Tag = this;
            }

            if (MapDetailsControl != null)
            {
                MapDetailsControl.MapDetailsChanged += RaiseMapDetailsChanged;
                MapDetailsControl.MapSelectedForOpening += RaiseMapSelectedForOpening;
            }
        }
示例#13
0
 public void Test(int processId)
 {
     IEnumerable<string> fontFamilies = System.Drawing.FontFamily.Families.Select(f=>f.Name);
     ListBox listBox = new ListBox();
     ResourceDictionary dictionary = new ResourceDictionary();
     dictionary.Source = new Uri("/KSPE3Lib;component/Resources.xaml", UriKind.Relative);
     listBox.ItemTemplate = dictionary["FontItemTemplate"] as DataTemplate;
     listBox.ItemsSource = fontFamilies;
     listBox.Width = 250;
     listBox.Height = 300;
     listBox.SelectionChanged += listBox_SelectionChanged;
     Dictionary<int, Color> colorByCode = E3ColorTable.GetColorByCode(processId);
     ColorPicker colorPicker = new ColorPicker(colorByCode);
     colorPicker.VerticalAlignment = VerticalAlignment.Center;
     colorPicker.SelectedColorChanged += colorPicker_SelectedColorChanged;
     textBlockForeGroundBrush = new SolidColorBrush();
     textBlockForeGroundBrush.Color = colorPicker.SelectedColor;
     textBlock = new TextBlock();
     textBlock.Text = "Example";
     textBlock.Foreground = textBlockForeGroundBrush;
     StackPanel panel = new StackPanel();
     panel.Background = new SolidColorBrush(Colors.LightGray);
     panel.Children.Add(textBlock);
     panel.Children.Add(colorPicker.UIElement);
     panel.Children.Add(listBox);
     panel.Orientation = Orientation.Horizontal;
     Content = panel;
 }
        public ListColorNames()
        {
            Title = "List Color Names";

            ListBox lstbox = new ListBox();
            lstbox.Width = 150;   // ��
            lstbox.Height = 150;  //����
            lstbox.SelectionChanged += ListBoxOnSelectionChanged;   // �̺�Ʈ ���
            Content = lstbox;          //win�� ���(ȭ�鿡 ���)

            //1��
            /*
            //��������� ListBox�� ü���
            PropertyInfo[] props = typeof(Colors).GetProperties();
            //GetProperties �� Colors�� �ִ� ������Ƽ 141���� �迭�� �����´�.
            //������ PropertyInfo Ÿ���� �迭�� �ϳ��� ������ Name���� �̸��� ����Ʈ �ڽ��� �߰��Ѵ�.
            foreach (PropertyInfo prop in props)
                lstbox.Items.Add(prop.Name);
            */

            //2��

            PropertyInfo[] props = typeof(Colors).GetProperties();
            //����Ʈ �ڽ��� Color ������ ü���...
            foreach (PropertyInfo prop in props)
                lstbox.Items.Add(prop.GetValue(null, null));
        }
示例#15
0
 object Edit()
 {
     ListBox lb = new ListBox();
     lb.SelectionChanged+=(sender,e) => {
         ListBoxItem item = e.AddedItems[0] as ListBoxItem;
         Grid grid = item.Content as Grid;
         TextBox tb = grid.Children[1] as TextBox;
         tb.SelectAll();
         tb.Focus();
     };
     lb.HorizontalContentAlignment=HorizontalAlignment.Stretch;
     if(dics.Count==0&&output.Exists) {
         using(StreamReader sr = output.OpenText()) {
             while(!sr.EndOfStream) {
                 string line = sr.ReadLine();
                 string[] cols = line.Trim().Split(' ');
                 if(cols.Length>=4) {
                     KeyValuePair<TimeSpan,TimeSpan> pair;
                     lb.Items.Add(Edit(cols,out pair));
                     dics.Add(pair.Key,pair.Value);
                 }
             }
         }
     } else {
         int i = 1;
         foreach(KeyValuePair<TimeSpan,TimeSpan> dic in dics) {
             lb.Items.Add(Edit(i,dic));
             ++i;
         }
         lb.SelectedIndex=0;
     }
     return lb;
 }
        public void WhenDataContextChanges_ThenItupdatesSelectedItems()
        {
            var behavior = new SynchronizeSelectedItems();
            BindingOperations.SetBinding(
                behavior,
                SynchronizeSelectedItems.SelectionsProperty,
                new Binding("ObservableSelections"));

            var listBox = new ListBox() { SelectionMode = SelectionMode.Multiple };
            BindingOperations.SetBinding(
                listBox, ListBox.ItemsSourceProperty,
                new Binding("Items"));

            listBox.DataContext =
                new ItemsHolder
                {
                    Items = { "a", "b", "c", "d" },
                    ObservableSelections = { "a", "c" }
                };

            var behaviors = Interaction.GetBehaviors(listBox);
            behaviors.Add(behavior);

            listBox.DataContext =
                new ItemsHolder
                {
                    Items = { "a", "b", "c", "d" },
                    ObservableSelections = { "b", "d" }
                };

            CollectionAssert.AreEquivalent(new[] { "b", "d" }, listBox.SelectedItems);
        }
        public ListColoredLabels()
        {
            Title = "List Colored Labels";

            ListBox lstbox = new ListBox();
            lstbox.Height = 150;
            lstbox.Width = 150;
            lstbox.SelectionChanged += ListBoxOnSelectionChanged;
            Content = lstbox;

            //label ��Ʈ�ѷ� ����Ʈ�ڽ��� ä���....
            PropertyInfo[] props = typeof(Colors).GetProperties();

            foreach (PropertyInfo prop in props)
            {
                Color clr = (Color)prop.GetValue(null, null);
                bool isBlack = .222 * clr.R + .707 * clr.G + .071 * clr.B > 128;

                //--------------------------------------------------------------
                Label lbl = new Label();           //---->label ����....
                lbl.Content = prop.Name;
                lbl.Background = new SolidColorBrush(clr);
                lbl.Foreground = isBlack ? Brushes.Black : Brushes.White;
                lbl.Width = 100;
                lbl.Margin = new Thickness(15, 0, 0, 0);
                lbl.Tag = clr;
                //-------------------------------------------------------------

                lstbox.Items.Add(lbl);           //-->ListBox�� Label�� �߰�
            }
        }
 public SelectedItemsBehavior(ListBox listBox, IList boundList)
 {
     _boundList = boundList;
     _listBox = listBox;
     _listBox.Loaded += ListBoxLoaded;
     AddCollectionChangedHandler();
 }
 public ListBoxTextWriter()
 {
     // Get the static list box
     _listBox = ApplicationInterface._app.GetEventListBox();
     if (_listBox != null)
         _isOpen = true;
 }
示例#20
0
文件: App.xaml.cs 项目: heinzsack/DEV
		void FunctionSelectionWindow_Loaded (object sender, RoutedEventArgs e)
			{
			ListBox SelectionBox = new ListBox ();
			this.Content = SelectionBox;
			SelectionBox.ItemsSource = PossibleArguments;
			SelectionBox.MouseDoubleClick +=new System.Windows.Input.MouseButtonEventHandler(SelectionBox_MouseDoubleClick);
			}
 private static object GetDataFromListBox(ListBox source, Point point)
 {
     UIElement element = source.InputHitTest(point) as UIElement;
     if (element != null)
     {
         object data = DependencyProperty.UnsetValue;
         while (data == DependencyProperty.UnsetValue)
         {
             data = source.ItemContainerGenerator.ItemFromContainer(element);
             if (data == DependencyProperty.UnsetValue)
             {
                 element = VisualTreeHelper.GetParent(element) as UIElement;
             }
             if (element == source)
             {
                 return null;
             }
         }
         if (data != DependencyProperty.UnsetValue)
         {
             return data;
         }
     }
     return null;
 }
示例#22
0
 private void Discard(ListBox menu)
 {
     menu.IsEnabled = false;
     var duration = new Duration(TimeSpan.FromMilliseconds(400));
     DoubleAnimation
         posXAnimation = new DoubleAnimation { Duration = duration, To = -80 },
         posYAnimation = new DoubleAnimation { Duration = duration, To = -80 },
         scaleXAnimation = new DoubleAnimation { Duration = duration, To = 1.5 },
         scaleYAnimation = new DoubleAnimation { Duration = duration, To = 1.5 },
         opacityAnimation = new DoubleAnimation { Duration = duration, To = 0 }
     ;
     var translateTransform = ((TransformGroup)menu.RenderTransform).Children[0];
     var scaleTransform = ((TransformGroup)menu.RenderTransform).Children[1];
     translateTransform.BeginAnimation(TranslateTransform.XProperty, posXAnimation);
     translateTransform.BeginAnimation(TranslateTransform.YProperty, posYAnimation);
     scaleTransform.BeginAnimation(ScaleTransform.ScaleXProperty, scaleXAnimation);
     scaleTransform.BeginAnimation(ScaleTransform.ScaleYProperty, scaleYAnimation);
     opacityAnimation.Completed += (object sender, EventArgs e) =>
     {
         menu.Visibility = Visibility.Collapsed;
         menu.IsEnabled = true;
         translateTransform.BeginAnimation(TranslateTransform.XProperty, null);
         translateTransform.BeginAnimation(TranslateTransform.YProperty, null);
         scaleTransform.BeginAnimation(ScaleTransform.ScaleXProperty, null);
         scaleTransform.BeginAnimation(ScaleTransform.ScaleYProperty, null);
         menu.BeginAnimation(OpacityProperty, null);
     };
     menu.BeginAnimation(OpacityProperty, opacityAnimation);
 }
示例#23
0
 void worker_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
 {
     var winFabSortedList = winFabInterest;
     ListBox lstBx = new ListBox();
     lstBx.Height = this.MainPanel.Height;
     lstBx.Width = this.MainPanel.Width;
     this.MainPanel.Children.Add(lstBx);
     if (winFabSortedList.Count == 0)
     {
         MessageBox.Show("No Records Found.Try changing the folder option.");
     }
     else
     {
         foreach (var itm in winFabSortedList)
         {
             EmailDataModel emailObj = new EmailDataModel();
             emailObj.SenderName = itm.SenderName;
             emailObj.SenderGroup = itm.SenderGroup;
             emailObj.SenderParticipation = itm.SenderParticipation;
             emailObj.SenderContact = itm.SenderContact;
             InterestControl intControl = new InterestControl();
             intControl.SetUI(emailObj);
             lstBx.Items.Add(intControl);
         }
     }
     this.EllipseAnimate.Visibility = Visibility.Collapsed;
     this.EllipseAnimate.Visibility = Visibility.Collapsed;
     this.UpdateLayout();
 }
示例#24
0
        public static bool IsFirstItemVisible(ListBox listbox)
        {
            if (listbox.Items.Count == 0)
                return false;

            var listboxRectangle = new Rect(new Point(0, 0), listbox.RenderSize);

            double visiblePercent = 0;

            ListBoxItem item = listbox.ItemContainerGenerator.ContainerFromIndex(0) as ListBoxItem;
            if (item != null)
            {
                var itemTransform = item.TransformToVisual(listbox);
                var itemRectangle = itemTransform.TransformBounds(new Rect(new Point(0, 0), item.RenderSize));
                itemRectangle.Intersect(listboxRectangle);

                if (!itemRectangle.IsEmpty)
                {
                    visiblePercent = itemRectangle.Height / item.RenderSize.Height * 100;
                }
            }

            if (visiblePercent > 0)
                return true;
            else
                return false;
        }
示例#25
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.remoteClientList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 2:
     
     #line 18 "..\..\AddAppDialog.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OKButton_Clicked);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 20 "..\..\AddAppDialog.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Clicked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public ListColorsEvenElegantlier()
        {
            Title = "List Colors Even Elegantlier";

            DataTemplate template = new DataTemplate(typeof(NamedBrush));
            FrameworkElementFactory factoryStack = new FrameworkElementFactory(typeof(StackPanel));
            factoryStack.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal);
            template.VisualTree = factoryStack;

            FrameworkElementFactory factoryRectangle = new FrameworkElementFactory(typeof(Rectangle));
            factoryRectangle.SetValue(Rectangle.WidthProperty, 16.0);
            factoryRectangle.SetValue(Rectangle.HeightProperty, 16.0);
            factoryRectangle.SetValue(Rectangle.MarginProperty, new Thickness(2));
            factoryRectangle.SetValue(Rectangle.StrokeProperty, SystemColors.WindowTextBrush);
            factoryRectangle.SetBinding(Rectangle.FillProperty, new Binding("Brush"));
            factoryStack.AppendChild(factoryRectangle);

            FrameworkElementFactory factoryTextBlock = new FrameworkElementFactory(typeof(TextBlock));
            factoryTextBlock.SetValue(TextBlock.VerticalAlignmentProperty, VerticalAlignment.Center);
            factoryTextBlock.SetValue(TextBlock.TextProperty, new Binding("Name"));
            factoryStack.AppendChild(factoryTextBlock);

            ListBox lstbox = new ListBox();
            lstbox.Width = 150;
            lstbox.Height = 150;
            Content = lstbox;

            lstbox.ItemTemplate = template;
            lstbox.ItemsSource = NamedBrush.All;

            lstbox.SelectedValuePath = "Brush";
            lstbox.SetBinding(ListBox.SelectedValueProperty, "Background");
            lstbox.DataContext = this;
        }
示例#27
0
 public void AddItemToList(RecognitionResult speech, ListBox list, Color color)
 {
     ListBoxItem item = CreateDefaultListBoxItem();
     item.Content = "S:" + speech.Text + " C:" + speech.Confidence;
     item.Foreground = new SolidColorBrush(color);
     AddToList(list, item);
 }
        public void show(MainWindow con, ListBox lb, string kto, string text, int tem)
        {
            if (!lb.CheckAccess())
            {
                con.Dispatcher.Invoke(DispatcherPriority.Send,
                (Action)delegate
                {
                    UserWiad itm = new UserWiad();
                    itm.Nick = kto;
                    itm.Wiad = text;
                    itm.Typ = tem;
                    lb.Items.Add(itm);
                    lb.ScrollIntoView(itm);
                });
            }
            else
            {
                UserWiad itm = new UserWiad();
                itm.Nick = kto;
                itm.Wiad = text;
                itm.Typ = tem;
                lb.Items.Add(itm);

                lb.ScrollIntoView(itm);
            }
        }
示例#29
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
                case 1:
                    this.syncMovies = (CheckBox) target;
                    return;

                case 2:
                    this.syncMoviesAll = (CheckBox) target;
                    return;

                case 3:
                    this.moviesListBox = (ListBox) target;
                    this.moviesListBox.PreviewKeyDown += new KeyEventHandler(this.listBox_PreviewKeyDown);
                    return;

                case 4:
                    this.drmMessage = (TextBlock) target;
                    return;

                case 5:
                    this.cancelButton = (Button) target;
                    return;

                case 6:
                    this.syncButton = (Button) target;
                    return;
            }
            this._contentLoaded = true;
        }
        private ListBox CreateAndInitListBox()
        {
            ListBox lst = new ListBox();

            lst.Margin = new Thickness(10, 10, 10, 10);
            return lst;
        }
示例#31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WndMain = ((DTVT_VIEW.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.WndMain.Closing += new System.ComponentModel.CancelEventHandler(this.WndMain_Closing);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 22 "..\..\MainWindow.xaml"
                this.newPrjMenu.Click += new System.Windows.RoutedEventHandler(this.newPrjMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.openPrjMenu.Click += new System.Windows.RoutedEventHandler(this.openPrjMenu_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.importMenu.SubmenuOpened += new System.Windows.RoutedEventHandler(this.importMenu_SubmenuOpened);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.sydbMenu.Click += new System.Windows.RoutedEventHandler(this.sydbMenu_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.settingsMenu.Click += new System.Windows.RoutedEventHandler(this.settingsMenu_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.helpMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.userManualMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.aboutMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.LeftColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 20:
                this.RightColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 33:
                this.tabCsvFiles = ((System.Windows.Controls.TabItem)(target));
                return;

            case 34:
                this.listCsvFiles = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 36:
                this.listRules = ((System.Windows.Controls.ListBox)(target));

            #line 94 "..\..\MainWindow.xaml"
                this.listRules.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listRules_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 37:
                this.ruleContMenuVerify = ((System.Windows.Controls.MenuItem)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.ruleContMenuVerify.Click += new System.Windows.RoutedEventHandler(this.ruleContMenuVerify_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.tabResults = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 40:
                this.rowRuleData = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 41:
                this.rowSplitter = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 42:
                this.rowConsole = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 44:
                this.lboxOutput = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._CustomerService = ((PopulationGrowth.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this._CustomerService.Loaded += new System.Windows.RoutedEventHandler(this._CustomerService_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.Organism_Name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Organism_Name_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.Duration.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.InputText_PreviewTextInput);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.Duration.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Duration_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.InitialPopulation.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.InputText_PreviewTextInput);

            #line default
            #line hidden

            #line 48 "..\..\MainWindow.xaml"
                this.InitialPopulation.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.InitialPopulation_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.DailyGrowth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.InputText_PreviewTextInput);

            #line default
            #line hidden

            #line 49 "..\..\MainWindow.xaml"
                this.DailyGrowth.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DailyGrowth_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.ValueListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:
                this.chartGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\WindowUSB.xaml"
                ((WpfApp.WindowUSB)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.RightListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 14 "..\..\WindowUSB.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\WindowUSB.xaml"
                this.RemoveButton.Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\WindowUSB.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\WindowUSB.xaml"
                this.MonitorButton.Click += new System.Windows.RoutedEventHandler(this.MonitorButton_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 75 "..\..\MainWindow.xaml"
                this.connectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:
                this.DirList2 = ((System.Windows.Controls.ListBox)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.DirList2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DirList2_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 10:
                this.FileList2 = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 17:
                this.DirList = ((System.Windows.Controls.ListBox)(target));

            #line 147 "..\..\MainWindow.xaml"
                this.DirList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DirList_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line 149 "..\..\MainWindow.xaml"
                this.chkOutButton.Click += new System.Windows.RoutedEventHandler(this.CheckoutFiles_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\MainWindow.xaml"
                this.refresh2.Click += new System.Windows.RoutedEventHandler(this.Refresh2Button_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 25:
                this.DirList3 = ((System.Windows.Controls.ListBox)(target));

            #line 186 "..\..\MainWindow.xaml"
                this.DirList3.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DirList3_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 26:
                this.FileList3 = ((System.Windows.Controls.ListBox)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.FileList3.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.filesListBox3_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\MainWindow.xaml"
                this.viewFile.Click += new System.Windows.RoutedEventHandler(this.ViewFile_Click);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\MainWindow.xaml"
                this.viewMetadata.Click += new System.Windows.RoutedEventHandler(this.ViewMetadata_Click);

            #line default
            #line hidden
                return;

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

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

            case 31:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.FName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.GList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 9:
                this.SList = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 19:
                this.SInfo = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\PartsLists.xaml"
                ((FrontEndMain.PartsLists)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.escape);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\PartsLists.xaml"
                this.btnMicaBand.Click += new System.Windows.RoutedEventHandler(this.btnMicaBand_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\PartsLists.xaml"
                this.btnMicaStrip.Click += new System.Windows.RoutedEventHandler(this.btnMicaStrip_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\PartsLists.xaml"
                this.btnCeramic.Click += new System.Windows.RoutedEventHandler(this.btnCeramic_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\PartsLists.xaml"
                this.btnCart.Click += new System.Windows.RoutedEventHandler(this.btnCart_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\PartsLists.xaml"
                this.btnTC.Click += new System.Windows.RoutedEventHandler(this.btnTC_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\PartsLists.xaml"
                this.btnMisc.Click += new System.Windows.RoutedEventHandler(this.btnMisc_Click);

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.lHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 43 "..\..\PartsLists.xaml"
                this.cmEditPart.Click += new System.Windows.RoutedEventHandler(this.cm_EditPart);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\PartsLists.xaml"
                this.cmCreateSimilarPart.Click += new System.Windows.RoutedEventHandler(this.cm_CreateSimilar);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\PartsLists.xaml"
                this.cmDeleteQuote.Click += new System.Windows.RoutedEventHandler(this.cm_DeletePart);

            #line default
            #line hidden
                return;

            case 15:
                this.lbCB = ((System.Windows.Controls.ListBox)(target));
                return;

            case 16:
                this.lbSH = ((System.Windows.Controls.ListBox)(target));
                return;

            case 17:
                this.lbC = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 19:
                this.lbMisc = ((System.Windows.Controls.ListBox)(target));
                return;

            case 20:
                this.btnClearSearch = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 24 "..\..\..\PrinterWindow.xaml"
                ((PrinterCenter.PrinterWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 24 "..\..\..\PrinterWindow.xaml"
                ((PrinterCenter.PrinterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ucNetworkDrive = ((PrinterCenter.UI.ucNetworkDrive)(target));
                return;

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

            case 4:
                this.ucLane1_Common = ((PrinterCenter.UI.CommonSetting.ucCommonSetting)(target));
                return;

            case 5:
                this.ucLane1_SF = ((PrinterCenter.UI.SharedFolderSetting.ucSharedFolderSetting)(target));
                return;

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

            case 7:
                this.ucLane2_Common = ((PrinterCenter.UI.CommonSetting.ucCommonSetting)(target));
                return;

            case 8:
                this.ucLane2_SF = ((PrinterCenter.UI.SharedFolderSetting.ucSharedFolderSetting)(target));
                return;

            case 9:
                this.ucCustom = ((PrinterCenter.UI.Custom.ucCustom)(target));
                return;

            case 10:
                this.ucFujiEasyLink = ((PrinterCenter.UI.FujiEasyLink.ucFujiEasyLink)(target));
                return;

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

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

            case 13:
                this.btnOpenService = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 15:
                this.ucChartHost = ((PrinterCenter.UI.Chart.ucChartHost)(target));
                return;

            case 16:
                this.ucFlowHost = ((PrinterCenter.UI.Flow.ucFlowHost)(target));
                return;

            case 17:
                this.ucWipe = ((PrinterCenter.UI.Wipe.ucWipe)(target));
                return;

            case 18:
                this.ucDoctor = ((PrinterCenter.UI.Doctor.ucDoctor)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 14 "..\..\..\Settings\SettingsForm.xaml"
                this.SitesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SitesListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Settings\SettingsForm.xaml"
                this.NewButton.Click += new System.Windows.RoutedEventHandler(this.NewButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Settings\SettingsForm.xaml"
                this.LogsButton.Click += new System.Windows.RoutedEventHandler(this.ShowLogsButton_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Settings\SettingsForm.xaml"
                this.DetailedLogCheckBox.Checked += new System.Windows.RoutedEventHandler(this.DetailedLogCheckBox_Checked);

            #line default
            #line hidden

            #line 18 "..\..\..\Settings\SettingsForm.xaml"
                this.DetailedLogCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.DetailedLogCheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Settings\SettingsForm.xaml"
                this.ConfigurationImportButton.Click += new System.Windows.RoutedEventHandler(this.ConfigurationImportButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 24 "..\..\..\Settings\SettingsForm.xaml"
                this.ExplorerLocationListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ExplorerLocationListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Settings\SettingsForm.xaml"
                this.AddExplorerLocationButton.Click += new System.Windows.RoutedEventHandler(this.AddExplorerLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteExplorerLocationButton.Click += new System.Windows.RoutedEventHandler(this.DeleteExplorerLocationButton_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.TemplatesListBox = ((System.Windows.Controls.ListBox)(target));

            #line 31 "..\..\..\Settings\SettingsForm.xaml"
                this.TemplatesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TemplatesListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Settings\SettingsForm.xaml"
                this.NewTemplateButton.Click += new System.Windows.RoutedEventHandler(this.NewTemplateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTemplateButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTemplateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\Settings\SettingsForm.xaml"
                this.TemplateMappingsListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TemplateMappingsListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\Settings\SettingsForm.xaml"
                this.NewTemplateMappingButton.Click += new System.Windows.RoutedEventHandler(this.NewTemplateMappingButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTemplateMappingButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTemplateMappingButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 24:
                this.TaskListLocationListBox = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\..\Settings\SettingsForm.xaml"
                this.TaskListLocationListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TaskListLocationListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\Settings\SettingsForm.xaml"
                this.AddTaskListLocationButton.Click += new System.Windows.RoutedEventHandler(this.AddTaskListLocationButton_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Settings\SettingsForm.xaml"
                this.DeleteTaskListLocationButton.Click += new System.Windows.RoutedEventHandler(this.DeleteTaskListLocationButton_Click);

            #line default
            #line hidden
                return;

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

            case 28:
                this.EmailRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 50 "..\..\..\Settings\SettingsForm.xaml"
                this.EmailRadioButton.Checked += new System.Windows.RoutedEventHandler(this.EmailRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 29:
                this.WordPlusAttachmentsRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 51 "..\..\..\Settings\SettingsForm.xaml"
                this.WordPlusAttachmentsRadioButton.Checked += new System.Windows.RoutedEventHandler(this.WordPlusAttachmentsRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 30:
                this.UploadAutomaticallyCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\..\Settings\SettingsForm.xaml"
                this.UploadAutomaticallyCheckBox.Checked += new System.Windows.RoutedEventHandler(this.UploadAutomaticallyCheckBox_Checked);

            #line default
            #line hidden

            #line 52 "..\..\..\Settings\SettingsForm.xaml"
                this.UploadAutomaticallyCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.UploadAutomaticallyCheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 56 "..\..\..\Settings\SettingsForm.xaml"
                this.SelectLocationButton.Click += new System.Windows.RoutedEventHandler(this.SelectLocationButton_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.DontAskSaveAttachmentLocationCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 57 "..\..\..\Settings\SettingsForm.xaml"
                this.DontAskSaveAttachmentLocationCheckBox.Checked += new System.Windows.RoutedEventHandler(this.DontAskSaveAttachmentLocationCheckBox_Checked);

            #line default
            #line hidden

            #line 57 "..\..\..\Settings\SettingsForm.xaml"
                this.DontAskSaveAttachmentLocationCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.DontAskSaveAttachmentLocationCheckBox_Unchecked);

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

            #line 21 "..\..\MainWindow.xaml"
                this.Cameras.Click += new System.Windows.RoutedEventHandler(this.ButtonCamera);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.Flashes.Click += new System.Windows.RoutedEventHandler(this.ButtonFlash);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.contentControl = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 8:
                this.contentControlAdd = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 9:
                this.listBoxInfo = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.serialize.Click += new System.Windows.RoutedEventHandler(this.serialize_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.deserialize.Click += new System.Windows.RoutedEventHandler(this.deserialize_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.frameAdd = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox_SelectionChanged);

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.InputBox = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.InputBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.InputBox_TextChanged);

            #line default
            #line hidden

            #line 21 "..\..\MainWindow.xaml"
                this.InputBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.InputBox_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.AutoCompleteBox = ((System.Windows.Controls.ListBox)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.AutoCompleteBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.AutoCompleteBox_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.Button_Pow.Click += new System.Windows.RoutedEventHandler(this.Button_Symbols_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.Button_Sh.Click += new System.Windows.RoutedEventHandler(this.Button_Symbols_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.Button_Tan.Click += new System.Windows.RoutedEventHandler(this.Button_Symbols_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 26:
                this.ProgressBar_Calc = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.cbRecurse = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 140 "..\..\..\MainWindow.xaml"
                this.btnBrowse.Click += new System.Windows.RoutedEventHandler(this.BtnBrowse_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.lstFiles = ((System.Windows.Controls.ListBox)(target));

            #line 153 "..\..\..\MainWindow.xaml"
                this.lstFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DirList_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.lstConverted = ((System.Windows.Controls.ListBox)(target));

            #line 190 "..\..\..\MainWindow.xaml"
                this.lstConverted.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LstConverted_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 11:
                this.txtProgress = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((Room_Creator.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown_1);

            #line default
            #line hidden
                return;

            case 2:
                this.mainViewport = ((System.Windows.Controls.Viewport3D)(target));
                return;

            case 3:
                this.FurnituresCombobox = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.FurnituresCombobox.Loaded += new System.Windows.RoutedEventHandler(this.FurnituresListbox_Loaded);

            #line default
            #line hidden

            #line 40 "..\..\MainWindow.xaml"
                this.FurnituresCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FurnituresListbox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.CamRot = ((System.Windows.Controls.Slider)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.CamRot.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.CamRot_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ZTranzition = ((System.Windows.Controls.Slider)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.ZTranzition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZTranzition_ValueChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.YTranzition = ((System.Windows.Controls.Slider)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.YTranzition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZTranzition_ValueChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.XTranzition = ((System.Windows.Controls.Slider)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.XTranzition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZTranzition_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.Rotation = ((System.Windows.Controls.Slider)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.Rotation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZTranzition_ValueChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.Scale = ((System.Windows.Controls.Slider)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.Scale.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZTranzition_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.FurnituresLoaded = ((System.Windows.Controls.ListBox)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.FurnituresLoaded.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FurnituresLoaded_SelectionChanged);

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

            #line 10 "..\..\..\Windows\Targeting.xaml"
                ((TibiaHeleper.Windows.Targeting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Load);

            #line default
            #line hidden

            #line 10 "..\..\..\Windows\Targeting.xaml"
                ((TibiaHeleper.Windows.Targeting)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Close);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\Windows\Targeting.xaml"
                this.listBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectedAction);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\Windows\Targeting.xaml"
                this.BackButton.Click += new System.Windows.RoutedEventHandler(this.Back);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            #line 24 "..\..\..\Windows\Targeting.xaml"
                this.upButton.Click += new System.Windows.RoutedEventHandler(this.Up);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Windows\Targeting.xaml"
                this.downButton.Click += new System.Windows.RoutedEventHandler(this.Down);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Windows\Targeting.xaml"
                this.addButton.Click += new System.Windows.RoutedEventHandler(this.Add);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\Windows\Targeting.xaml"
                this.deleteButton.Click += new System.Windows.RoutedEventHandler(this.Delete);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\Windows\Targeting.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.Save);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Windows\Targeting.xaml"
                this.editButton.Click += new System.Windows.RoutedEventHandler(this.Edit);

            #line default
            #line hidden
                return;

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

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

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

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

            case 24:
                this.FoodListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

            #line 40 "..\..\..\Windows\Targeting.xaml"
                this.ItemTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CheckForHint);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\Windows\Targeting.xaml"
                this.AddLootButton.Click += new System.Windows.RoutedEventHandler(this.AddToLootList);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\Windows\Targeting.xaml"
                this.AddFood.Click += new System.Windows.RoutedEventHandler(this.AddToFoodList);

            #line default
            #line hidden
                return;

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

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

            #line 44 "..\..\..\Windows\Targeting.xaml"
                this.DeleteFromLootListButton.Click += new System.Windows.RoutedEventHandler(this.DeleteFromLootList);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Windows\Targeting.xaml"
                this.DeleteFromFoodListButton.Click += new System.Windows.RoutedEventHandler(this.DeleteFromLootList);

            #line default
            #line hidden
                return;

            case 33:
                this.LootCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 47 "..\..\..\Windows\Targeting.xaml"
                this.SetContainerForLootButton.Click += new System.Windows.RoutedEventHandler(this.SetLootContainer);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\Windows\Targeting.xaml"
                this.SetNextContainerButton.Click += new System.Windows.RoutedEventHandler(this.SetNextContainer);

            #line default
            #line hidden
                return;

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

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

            case 38:
                this.OpenNextContainerCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            #line 56 "..\..\..\Windows\Targeting.xaml"
                this.errBtn.Click += new System.Windows.RoutedEventHandler(this.HideErrorGrid);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.textBoxWEPImie = ((dodawanieDanych.TextBoxWithErrorProvider)(target));
                return;

            case 3:
                this.textBoxWEPNazwisko = ((dodawanieDanych.TextBoxWithErrorProvider)(target));
                return;

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

            case 5:
                this.wiekSlider = ((System.Windows.Controls.Slider)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.wiekSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Wiek_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.wagaSlider = ((System.Windows.Controls.Slider)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.wagaSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Waga_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.listBoxPilkarze.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxPilkarze_SelectionChanged);

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

            case 2:
                this.canvasMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.inkCanvas = ((System.Windows.Controls.InkCanvas)(target));

            #line 40 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.inkCanvas.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.inkCanvas_StrokeCollected);

            #line default
            #line hidden
                return;

            case 4:
                this.rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.cbGeo = ((System.Windows.Media.CombinedGeometry)(target));
                return;

            case 6:
                this.rectFull = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 7:
                this.rectClip = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 8:
                this.bdThumb = ((System.Windows.Controls.Border)(target));
                return;

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

            case 10:
                this.magnifierRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.visualBrush = ((System.Windows.Media.VisualBrush)(target));
                return;

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

            case 13:
                this.runSize0 = ((System.Windows.Documents.Run)(target));
                return;

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

            case 15:
                this.runSize = ((System.Windows.Documents.Run)(target));
                return;

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

            #line 110 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.stkpMenu.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.stkpMenu_Click));

            #line default
            #line hidden
                return;

            case 17:
                this.tbtnPen = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 18:
                this.rbtnBackout = ((System.Windows.Controls.Primitives.RepeatButton)(target));
                return;

            case 19:
                this.listSizes = ((System.Windows.Controls.ListBox)(target));

            #line 153 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.listSizes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listSizes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.listColors = ((System.Windows.Controls.ListBox)(target));

            #line 182 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.listColors.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listColors_SelectionChanged);

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

            case 2:
                this.TxtRut = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 5:
                this.DpFechaNacimiento = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

            #line 23 "..\..\MainWindow.xaml"
                this.BtnConsultar.Click += new System.Windows.RoutedEventHandler(this.BtnConsultar_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.DgClientes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgClientes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.LbRut = ((System.Windows.Controls.ListBox)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.TxtBase = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.Cbx_Destination.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cbx_Destination_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 77 "..\..\MainWindow.xaml"
                this.Cbx_Ticket_Type.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cbx_Ticket_Type_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 79 "..\..\MainWindow.xaml"
                this.Cbx_Concession.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cbx_Concession_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.Cvs_map = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.Elp_Delhi = ((System.Windows.Shapes.Ellipse)(target));

            #line 95 "..\..\MainWindow.xaml"
                this.Elp_Delhi.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Delhi_MouseUp);

            #line default
            #line hidden
                return;

            case 13:
                this.Elp_Bhopal = ((System.Windows.Shapes.Ellipse)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.Elp_Bhopal.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Bhopal_MouseUp);

            #line default
            #line hidden
                return;

            case 14:
                this.Elp_Hyderabad = ((System.Windows.Shapes.Ellipse)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.Elp_Hyderabad.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Hyderabad_MouseUp);

            #line default
            #line hidden
                return;

            case 15:
                this.Elp_Bangalore = ((System.Windows.Shapes.Ellipse)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.Elp_Bangalore.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Bangalore_MouseUp);

            #line default
            #line hidden
                return;

            case 16:
                this.Elp_Mumbai = ((System.Windows.Shapes.Ellipse)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.Elp_Mumbai.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Mumbai_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.Elp_Jaipur = ((System.Windows.Shapes.Ellipse)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.Elp_Jaipur.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Elp_Jaipur_MouseUp);

            #line default
            #line hidden
                return;

            case 18:
                this.Bhopal_Hyderabad = ((System.Windows.Shapes.Line)(target));
                return;

            case 19:
                this.Bhopal_Mumbai = ((System.Windows.Shapes.Line)(target));
                return;

            case 20:
                this.Jaipur_Mumbai = ((System.Windows.Shapes.Line)(target));
                return;

            case 21:
                this.Delhi_Jaipur = ((System.Windows.Shapes.Line)(target));
                return;

            case 22:
                this.Mumbai_Bangalore = ((System.Windows.Shapes.Line)(target));
                return;

            case 23:
                this.Delhi_Bhopal = ((System.Windows.Shapes.Line)(target));
                return;

            case 24:
                this.Hyderabad_Bangalore = ((System.Windows.Shapes.Line)(target));
                return;

            case 25:
                this.Mumbai_Hyderabad = ((System.Windows.Shapes.Line)(target));
                return;

            case 26:
                this.Jaipur_Bhopal = ((System.Windows.Shapes.Line)(target));
                return;

            case 27:
                this.Jaipur_Hyderabad = ((System.Windows.Shapes.Line)(target));
                return;

            case 28:
                this.Jaipur_Bangalore = ((System.Windows.Shapes.Line)(target));
                return;

            case 29:
                this.Bhopal_Bangalore = ((System.Windows.Shapes.Line)(target));
                return;

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

            #line 221 "..\..\MainWindow.xaml"
                this.Lbx_Routes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Lbx_Routes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.Lbx_Route = ((System.Windows.Controls.ListBox)(target));

            #line 223 "..\..\MainWindow.xaml"
                this.Lbx_Route.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Lbx_Route_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.Train_Image = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.Mumbai_Delhi = ((System.Windows.Shapes.Line)(target));
                return;

            case 34:
                this.Delhi_Bangalore = ((System.Windows.Shapes.Line)(target));
                return;

            case 35:
                this.Delhi_Hyderabad = ((System.Windows.Shapes.Line)(target));
                return;

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

            case 37:
                this.Date = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 38:

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

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

            case 2:
                this.bdr_availability = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\MainWindow.xaml"
                this.cb_selectTime.DropDownClosed += new System.EventHandler(this.cb_selectTime_DropDownClosed);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 59 "..\..\MainWindow.xaml"
                this.cb_otherCorridors.DropDownOpened += new System.EventHandler(this.cb_otherCorridors_DropDownOpened);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.cb_otherCorridors.DropDownClosed += new System.EventHandler(this.cb_otherCorridors_DropDownClosed);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.cb_otherCorridors.MouseLeave += new System.Windows.Input.MouseEventHandler(this.cb_otherCorridors_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\MainWindow.xaml"
                this.cb_otherTeachers.DropDownOpened += new System.EventHandler(this.cb_otherTeachers_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\MainWindow.xaml"
                this.cb_staffCorridors.DropDownOpened += new System.EventHandler(this.cb_staffCorridors_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

            #line 105 "..\..\MainWindow.xaml"
                this.btn_staffTvFullscreen.Click += new System.Windows.RoutedEventHandler(this.btn_staffTvFullscreen_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 113 "..\..\MainWindow.xaml"
                this.btn_updateStudentTv.Click += new System.Windows.RoutedEventHandler(this.btn_updateStudentTv_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.cb_studentCorridors = ((System.Windows.Controls.ComboBox)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.cb_studentCorridors.DropDownOpened += new System.EventHandler(this.cb_studentCorridors_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 24:
                this.list_teachersInCorridor = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 126 "..\..\MainWindow.xaml"
                this.cb_teacherList.DropDownOpened += new System.EventHandler(this.cb_teacherList_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 47:
                this.cb_chooseCorridor = ((System.Windows.Controls.ComboBox)(target));

            #line 149 "..\..\MainWindow.xaml"
                this.cb_chooseCorridor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_chooseCorridor_SelectionChanged);

            #line default
            #line hidden

            #line 149 "..\..\MainWindow.xaml"
                this.cb_chooseCorridor.DropDownOpened += new System.EventHandler(this.cb_chooseCorridor_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

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

            #line 154 "..\..\MainWindow.xaml"
                this.btn_deleteCorridor.Click += new System.Windows.RoutedEventHandler(this.btn_deleteCorridor_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.cb_corridorListDelete = ((System.Windows.Controls.ComboBox)(target));

            #line 155 "..\..\MainWindow.xaml"
                this.cb_corridorListDelete.DropDownOpened += new System.EventHandler(this.cb_teacherListDelete_DropDownOpened);

            #line default
            #line hidden
                return;

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

            #line 156 "..\..\MainWindow.xaml"
                this.btn_deleteSelectedUser.Click += new System.Windows.RoutedEventHandler(this.btn_deleteSelectedUser_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 165 "..\..\MainWindow.xaml"
                this.btn_Login.Click += new System.Windows.RoutedEventHandler(this.btn_Login_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 12 "..\..\Window6.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.wyloguj);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\Window6.xaml"
                this.przydzieloneListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.przydzieloneListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.noweListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 20 "..\..\Window6.xaml"
                this.zakonczoneButton.Click += new System.Windows.RoutedEventHandler(this.zakonczoneButton_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\Window6.xaml"
                this.pracownicyButton.Click += new System.Windows.RoutedEventHandler(this.pracownicyButton_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\Window6.xaml"
                this.uwagiButton.Click += new System.Windows.RoutedEventHandler(this.uwagiButton_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\Window6.xaml"
                this.sortujButton.Click += new System.Windows.RoutedEventHandler(this.sortujButton_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\Window6.xaml"
                this.przydzielButton.Click += new System.Windows.RoutedEventHandler(this.przydzielButton_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\Window6.xaml"
                this.zadanieButton.Click += new System.Windows.RoutedEventHandler(this.uwagaButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\Window6.xaml"
                this.zadanieUsunButton.Click += new System.Windows.RoutedEventHandler(this.zadanieUsunClick);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\Window6.xaml"
                this.sortujButton_Copy.Click += new System.Windows.RoutedEventHandler(this.sortujButton2_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\Window6.xaml"
                this.zapiszZmianyButton.Click += new System.Windows.RoutedEventHandler(this.zapiszjButton2_Click);

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

            #line 31 "..\..\..\Window\AreaIdentificationTest.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnMinimize.Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_Click);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnHandIn.Click += new System.Windows.RoutedEventHandler(this.BtnHandIn_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnCancel.Click += new System.Windows.RoutedEventHandler(this.BtnCancel_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.LstColumnLeft = ((System.Windows.Controls.ListBox)(target));
                return;

            case 7:
                this.LstColumnRight = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 9:
                this.ResultDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 142 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnDone.Click += new System.Windows.RoutedEventHandler(this.BtnDone_Click);

            #line default
            #line hidden
                return;

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

            #line 151 "..\..\..\Window\AreaIdentificationTest.xaml"
                this.BtnAchievements.Click += new System.Windows.RoutedEventHandler(this.BtnAchievements_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 15:
                this.txtResultDialogHeader = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\MainWindow.xaml"
                ((WpfAppNetCore.MainWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.chkAllStore = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 345 "..\..\..\MainWindow.xaml"
                this.tbxStoreNameList.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbStoreName_TextChanged);

            #line default
            #line hidden

            #line 345 "..\..\..\MainWindow.xaml"
                this.tbxStoreNameList.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbxStoreNameList_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 387 "..\..\..\MainWindow.xaml"
                this.btnStoreNameQuery.Click += new System.Windows.RoutedEventHandler(this.btnStoreNameQuery_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 418 "..\..\..\MainWindow.xaml"
                this.btnStoreNameOK.Click += new System.Windows.RoutedEventHandler(this.btnStoreNameOK_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.dtpDateFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 17:
                this.dtpDateTo = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 20:
                this.lbxSensor = ((System.Windows.Controls.ListBox)(target));

            #line 517 "..\..\..\MainWindow.xaml"
                this.lbxSensor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbxSensor_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 521 "..\..\..\MainWindow.xaml"
                this.btnAddDevice.Click += new System.Windows.RoutedEventHandler(this.btnAddDevice_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.lbxDevice = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line 538 "..\..\..\MainWindow.xaml"
                this.btnDeleteDevice.Click += new System.Windows.RoutedEventHandler(this.btnDeleteDevice_Click);

            #line default
            #line hidden
                return;

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

            #line 555 "..\..\..\MainWindow.xaml"
                this.btnP2ToP1.Click += new System.Windows.RoutedEventHandler(this.btnP2ToP1_Click);

            #line default
            #line hidden
                return;

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

            #line 556 "..\..\..\MainWindow.xaml"
                this.btnDeviceOK.Click += new System.Windows.RoutedEventHandler(this.btnDeviceOK_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 589 "..\..\..\MainWindow.xaml"
                this.btnAddMailUser.Click += new System.Windows.RoutedEventHandler(this.btnAddMailUser_Click);

            #line default
            #line hidden
                return;

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

            #line 593 "..\..\..\MainWindow.xaml"
                this.btnP3ToP2.Click += new System.Windows.RoutedEventHandler(this.btnP3ToP2_Click);

            #line default
            #line hidden
                return;

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

            #line 597 "..\..\..\MainWindow.xaml"
                this.btnExportReport.Click += new System.Windows.RoutedEventHandler(this.btnExportReport_Click);

            #line default
            #line hidden
                return;

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

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

            #line 627 "..\..\..\MainWindow.xaml"
                this.btnP4ToP1.Click += new System.Windows.RoutedEventHandler(this.btnP4ToP1_Click);

            #line default
            #line hidden
                return;

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

            #line 631 "..\..\..\MainWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

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

            #line 12 "..\..\AddWindow.xaml"
                this.NameUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NameUser_TextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Country = ((System.Windows.Controls.TextBox)(target));

            #line 14 "..\..\AddWindow.xaml"
                this.Country.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Country_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\AddWindow.xaml"
                this.City.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.City_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\AddWindow.xaml"
                this.Man.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\AddWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Useres = ((System.Windows.Controls.ListBox)(target));

            #line 22 "..\..\AddWindow.xaml"
                this.Useres.Loaded += new System.Windows.RoutedEventHandler(this.useres_Loaded);

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

            #line 26 "..\..\..\..\Controls\Tools\Debuging.xaml"
                this.btnTemplateName.Click += new System.Windows.RoutedEventHandler(this.btnTemplateName_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\..\Controls\Tools\Debuging.xaml"
                this.btnGetInstances.Click += new System.Windows.RoutedEventHandler(this.btnGetInstances_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\Controls\Tools\Debuging.xaml"
                this.btnGetCurrentNode.Click += new System.Windows.RoutedEventHandler(this.btnGetCurrentNode_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\..\Controls\Tools\Debuging.xaml"
                this.btnStartWorkflow.Click += new System.Windows.RoutedEventHandler(this.btnStartWorkflow_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.lstInstanceInfos = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.lstNodeInfos = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

            #line 46 "..\..\..\..\Controls\Tools\Debuging.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.txtDebugInfo = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TeamsList = ((System.Windows.Controls.ListBox)(target));

            #line 10 "..\..\TeamEdit.xaml"
                this.TeamsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TeamsList_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\TeamEdit.xaml"
                this.AddNewTeam.Click += new System.Windows.RoutedEventHandler(this.AddNewTeam_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\TeamEdit.xaml"
                this.UpdateTeam.Click += new System.Windows.RoutedEventHandler(this.UpdateTeam_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\TeamEdit.xaml"
                this.Back.Click += new System.Windows.RoutedEventHandler(this.Back_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\TeamEdit.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 26 "..\..\TeamEdit.xaml"
                this.AddSections.Click += new System.Windows.RoutedEventHandler(this.AddSections_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 24 "..\..\MainWindow.xaml"
                this.listDir.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listDir_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:
                this.listFiles = ((System.Windows.Controls.ListBox)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.listFiles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listFiles_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 62 "..\..\MainWindow.xaml"
                this.pipeTimeTB.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.pipeTime_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 12 "..\..\FightEditor.xaml"
                this.loadMenuitem.Click += new System.Windows.RoutedEventHandler(this.loadMenuitem_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\FightEditor.xaml"
                this.saveMenuItem.Click += new System.Windows.RoutedEventHandler(this.saveMenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\FightEditor.xaml"
                this.exitMenuItem.Click += new System.Windows.RoutedEventHandler(this.exitMenuItem_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 31 "..\..\FightEditor.xaml"
                this.unknownTextBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\FightEditor.xaml"
                this.unknownTextBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox2_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\FightEditor.xaml"
                this.unknownTextBox3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox3_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\FightEditor.xaml"
                this.unknownTextBox4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox4_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\FightEditor.xaml"
                this.unknownTextBox5.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox5_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\FightEditor.xaml"
                this.unknownTextBox6.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox6_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\FightEditor.xaml"
                this.unknownTextBox7.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox7_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\FightEditor.xaml"
                this.unknownTextBox8.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox8_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\FightEditor.xaml"
                this.unknownTextBox9.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox9_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\FightEditor.xaml"
                this.unknownTextBox10.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox10_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\FightEditor.xaml"
                this.unknownTextBox11.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox11_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\FightEditor.xaml"
                this.unknownTextBox12.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox12_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\FightEditor.xaml"
                this.unknownTextBox13.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox13_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 59 "..\..\FightEditor.xaml"
                this.unknownTextBox14.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox14_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\FightEditor.xaml"
                this.unknownTextBox15.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox15_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\FightEditor.xaml"
                this.unknownTextBox16.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox16_TextChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.unknownTextBox17 = ((System.Windows.Controls.TextBox)(target));

            #line 62 "..\..\FightEditor.xaml"
                this.unknownTextBox17.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox17_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\FightEditor.xaml"
                this.unknownTextBox18.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox18_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\FightEditor.xaml"
                this.unknownTextBox19.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox19_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\FightEditor.xaml"
                this.unknownTextBox20.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox20_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\FightEditor.xaml"
                this.unknownTextBox21.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox21_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\FightEditor.xaml"
                this.unknownTextBox22.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox22_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\FightEditor.xaml"
                this.unknownTextBox23.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox23_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\FightEditor.xaml"
                this.unknownTextBox24.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox24_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\FightEditor.xaml"
                this.unknownTextBox25.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox25_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\FightEditor.xaml"
                this.unknownTextBox26.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox26_TextChanged);

            #line default
            #line hidden
                return;

            case 58:
                this.fightListBox = ((System.Windows.Controls.ListBox)(target));

            #line 72 "..\..\FightEditor.xaml"
                this.fightListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.fightListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 59:
                this.newContextMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 75 "..\..\FightEditor.xaml"
                this.newContextMenuItem.Click += new System.Windows.RoutedEventHandler(this.newContextMenuItem_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.removeContextMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 76 "..\..\FightEditor.xaml"
                this.removeContextMenuItem.Click += new System.Windows.RoutedEventHandler(this.removeContextMenuItem_Click);

            #line default
            #line hidden
                return;

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

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

            case 63:
                this.unknown27Label = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 83 "..\..\FightEditor.xaml"
                this.unknownTextBox27.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox27_TextChanged);

            #line default
            #line hidden
                return;

            case 65:
                this.unknown28Label = ((System.Windows.Controls.Label)(target));
                return;

            case 66:
                this.unknownTextBox28 = ((System.Windows.Controls.TextBox)(target));

            #line 85 "..\..\FightEditor.xaml"
                this.unknownTextBox28.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox28_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 87 "..\..\FightEditor.xaml"
                this.unknownTextBox29.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.unknownTextBox29_TextChanged);

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

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

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

            #line 23 "..\..\MainWindow.xaml"
                this.Request1.Click += new System.Windows.RoutedEventHandler(this.Request1_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 31 "..\..\MainWindow.xaml"
                this.ListenButton.Click += new System.Windows.RoutedEventHandler(this.ListenButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 54 "..\..\MainWindow.xaml"
                this.QueryButton.Click += new System.Windows.RoutedEventHandler(this.QueryButton_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.listBox2 = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ListBoxGames = ((System.Windows.Controls.ListBox)(target));

            #line 10 "..\..\..\Store.xaml"
                this.ListBoxGames.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxGames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.gamesBox = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 12 "..\..\..\Store.xaml"
                this.LibraryBtn.Click += new System.Windows.RoutedEventHandler(this.Btn_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 15 "..\..\..\Store.xaml"
                this.buyBtn.Click += new System.Windows.RoutedEventHandler(this.Btn_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 10:
                this.publisherBox = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 20 "..\..\..\Store.xaml"
                this.logOutBtn.Click += new System.Windows.RoutedEventHandler(this.Btn_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.coverImg = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.purchasedBox = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }