示例#1
0
        public static void Initialize(MXApplication theApp, Frame navFrame)
        {
            MXContainer.InitializeContainer(new MXWindowsContainer(theApp));
            MXContainer.Instance.ThreadedLoad = false;

            NavigationFrame = navFrame;
        }
示例#2
0
        public PanelAirlines()
        {
            WrapPanel buttonsPanel = new WrapPanel();

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

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

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

            this.Children.Add(buttonsPanel);

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

            this.Children.Add(frameContent);
        }
示例#3
0
        /// <summary>
        /// Die anzuzeigende Seite wechseln
        /// Erstellt neue Instanzen anstatt existierende wieder zu verwenden, da es Probleme mit dem .net Framework gab
        /// </summary>
        /// <param name="label">Der Titel der neuen Seite</param>
        /// <param name="pageType">Der Typ der neuen Seite</param>
        /// <param name="args">Parameter für den Konstruktor der neuen Seite</param>
        public void switchPage(string label, Type pageType, params object[] args)
        {
            try
            {
                KPage page = (KPage)Activator.CreateInstance(pageType, args);

                Frame frame = new Frame();
                Toolbar toolbar = new Toolbar(frame, page);
                ScrollableFrame scrollableFrame = new ScrollableFrame();
                ExtScrollViewer extScrollViewer = scrollableFrame.createScrollableFrame(frame);
                frame.Margin = new Thickness(15, 0, 0, 0);

                DockPanel.SetDock(toolbar.dpToolbarPanel, Dock.Top);

                frame.Content = page;
                page.parentFrame = frame;
                page.parentToolbar = toolbar;
                page.parentScrollViewer = extScrollViewer;
                page.defineToolbarContent();

                this.contentPanel.Children.Clear();
                this.contentPanel.Children.Add(toolbar.dpToolbarPanel);
                this.contentPanel.Children.Add(extScrollViewer);
                this.lbPageTitle.Content = label;
            }
            catch
            {
            }
        }
示例#4
0
        private bool EnsureMainFrame()
        {
            if (_mainFrame != null)
            {
                return true;
            }

            var mainPage = (Application.Current.RootVisual as MainPage);

            if (mainPage != null)
            {
                _mainFrame = mainPage.NavigationFrame;

                if (_mainFrame != null)
                {
                    // Could be null if the app runs inside a design tool
                    _mainFrame.Navigating += (s, e) =>
                    {
                        if (Navigating != null)
                        {
                            Navigating(s, e);
                        }
                    };

                    return true;
                }
            }

            return false;
        }
 public StateObserver(Frame frame)
 {
     _reference = new WeakReference(frame);
     _previousView = Empty.WeakReference;
     frame.Navigating += FrameOnNavigating;
     frame.Navigated += FrameOnNavigated;
 }
示例#6
0
 public static SampleAppApplication EnsureSampleAppApplication(Frame navigationContext)
 {
     SampleAppNavigator.Instance.NavigationContext = navigationContext;
     var app = SampleAppApplication.Instance ?? new SampleAppApplication(SampleAppNavigator.Instance);
     app.UseDesignViewModels = false; // By default, UseDesignViewModels is true in Debug build and false otherwise. Since this app has a built-in mock service, we never use design data at runtime.
     return app;
 }
 public SearchViewModel(Frame frame,string name)
 {
     MainFrame = frame;
     Name = name;
     Load_Search();
     SearchEnter = new RelayCommand(e => SearchEnter_Method());
 }
示例#8
0
        public MainWindowViewModel(Frame CurrentFrame, Dispatcher mainWindowDispatcher)
        {
            this.currentFrame = CurrentFrame;
            this.mainWindowDispatcher = mainWindowDispatcher;

            // Initialize Agle as soon as possible
            MyAgle = Agle.Agle.GetAgleInstance;
            MyAgle.InitializeAgle(this.mainWindowDispatcher);


            // Creating ViewModel for all related pages
            aglePageVM = new AglePageViewModel();

            selfCheckingPageVM = new SelfCheckingPageViewModel();

            titlePageVM = new TitlePageViewModel();
            titlePageVM.VideoFinishedEvent += this.OnTitlePageFinished;

            selfCheckingPageVM.AgleSystemStart += this.OnAgleSystemStart;

            // Ready navigating to title page, show starting movie
            TitlePage titlePage = new TitlePage();
            titlePage.InitializeTitlePage(this.titlePageVM);
            this.currentFrame.NavigationService.Navigate(titlePage);


           
        }
        private void Page1_Click(object sender, RoutedEventArgs e)
        {
            const string tabName = "Transactions";

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

            }
                //MessageBox.Show("Tab is Already Open or Too Many Tabs", "Error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
        }
示例#10
0
        private Button AddOption(string name, object source, string propertyName)
        {
            PageOptionItem pageOptionItem = new PageOptionItem();
            pageOptionItem.buttonOption.Content = name;
            Binding bd = new Binding(propertyName);
            bd.Source = source;
            bd.Mode = BindingMode.TwoWay;
            pageOptionItem.labelOptionStatus.SetBinding(Label.IsEnabledProperty, bd);
            pageOptionItem.buttonOption.Click +=
                delegate(object sender, RoutedEventArgs e)
                {
                    try
                    {
                        pageOptionItem.labelOptionStatus.IsEnabled =
                            !pageOptionItem.labelOptionStatus.IsEnabled;
                    }
                    catch
                    {
                    }
                };

            Frame frame = new Frame();
            frame.Content = pageOptionItem;
            stackPanel1.Children.Add(frame);

            return pageOptionItem.buttonOption;
        }
示例#11
0
        public static void SetRootFrame(Frame rootFrame)
        {
            if (rootFrame == null)
                throw new ArgumentNullException("rootFrame", "rootFrame cannot be null.");

            _appRootFrame = rootFrame;
        }
示例#12
0
 public MainWindow()
 {
     InitializeComponent();
     var uneFrame = new Frame();
     MainGrid.Children.Add(uneFrame);
     uneFrame.Navigate(new PageSwitcher());
 }
示例#13
0
        /// <summary>
        /// Erzeugt eine neue Seitenansicht mit einfacher Seite
        /// </summary>
        /// <param name="label">Titel der Seite</param>
        /// <param name="page">Instanz der anzuzeigenden Seite</param>
        public SinglePage(string label, KPage page)
        {
            MainWindow mainWindow = Application.Current.MainWindow as MainWindow;
            Frame frame = new Frame();
            Toolbar toolbar = new Toolbar(frame, page);
            ScrollableFrame scrollableFrame = new ScrollableFrame();
            ExtScrollViewer scrollViewer = scrollableFrame.createScrollableFrame(frame);

            DockPanel.SetDock(toolbar.dpToolbarPanel, Dock.Top);

            mainWindow.subNavigation.Children.Clear();

            frame.Margin = new Thickness(15, 0, 0, 0);
            frame.Content = page;
            page.parentFrame = frame;
            page.parentToolbar = toolbar;
            page.parentScrollViewer = scrollViewer;

            page.defineToolbarContent();

            mainWindow.contentPanel.Children.Clear();
            mainWindow.contentPanel.Children.Add(toolbar.dpToolbarPanel);
            mainWindow.contentPanel.Children.Add(scrollViewer);
            mainWindow.lbPageTitle.Content = label;
        }
 public MainWindowViewModel(Frame frame)
 {
     MainFrame = frame;
     Loaded = new RelayCommand(e => Loaded_Method());
     SearchCommand = new RelayCommand(e => SearchCommand_Method());
     AccountClick = new RelayCommand(e => AccountClick_Method());
 }
示例#15
0
 public pConnect(Frame frame, ILogger log)
 {
     InitializeComponent();
     MainFrame = frame;
     logger = log;
     pageConnect = this;
 }
 public FrameNavigationService([NotNull] Frame frame)
 {
     Should.NotBeNull(frame, "frame");
     _frame = frame;
     _frame.Navigating += OnNavigating;
     _frame.Navigated += OnNavigated;
 }
        public PanelAirports(PageAirports parent)
        {
            this.ParentPage = parent;

            WrapPanel buttonsPanel = new WrapPanel();

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

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

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

            this.Children.Add(buttonsPanel);

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

            this.Children.Add(frameContent);
        }
示例#18
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.framemain = ((System.Windows.Controls.Frame)(target));
     return;
     case 2:
     
     #line 7 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 8 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 9 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 /// <summary>
 ///   Creates an instance of <see cref = "PhoneApplicationServiceAdapter" />.
 /// </summary>
 public PhoneApplicationServiceAdapter(Frame rootFrame) {
     service = PhoneApplicationService.Current;
     service.Launching += delegate { isResurrecting = false; };
     service.Activated += delegate {
         if(isResurrecting) {
             Resurrecting();
             NavigatedEventHandler onNavigated = null;
             onNavigated = (s2, e2) => {
                 Resurrected();
                 rootFrame.Navigated -= onNavigated;
             };
             rootFrame.Navigated += onNavigated;
             isResurrecting = false;
         }
         else {
             Continuing();
             NavigatedEventHandler onNavigated = null;
             onNavigated = (s2, e2) => {
                 Continued();
                 rootFrame.Navigated -= onNavigated;
             };
             rootFrame.Navigated += onNavigated;
         }
     };
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameNavigationServiceWrapper"/> class.
 /// </summary>
 /// <param name="dispatcher">The dispatcher.</param>
 /// <param name="frame">The frame.</param>
 public FrameNavigationServiceWrapper(Dispatcher dispatcher, Frame frame)
 {
     this.dispatcher = dispatcher;
     this.frame = frame;
     navigationService = this.frame.NavigationService;
     navigationService.Navigating += NavigationServiceNavigating;
     navigationService.Navigated += NavigationServiceNavigated;
 }
 private void AddPage(StackPanel sp, Page page)
 {
     Frame frame = new Frame();
     frame.Margin = new Thickness(0);
     frame.Padding = new Thickness(0);
     frame.Content = page;
     sp.Children.Add(frame);
 }
 public FrameNavigationService([NotNull] Frame frame, bool useUrlNavigation)
 {
     Should.NotBeNull(frame, nameof(frame));
     _frame = frame;
     _useUrlNavigation = useUrlNavigation;
     _frame.Navigating += OnNavigating;
     _frame.Navigated += OnNavigated;
 }
示例#23
0
 public MainWindow()
 {
     InitializeComponent();
     MainFrame.NavigationUIVisibility = NavigationUIVisibility.Hidden;            
     cursor = KinectCursor;
     pageFrame = MainFrame;
     ready = true;
 }
示例#24
0
		public void Initialize(Frame frame)
		{
			if (frame.Content == null)
			{
				RootFrame.NavigationUIVisibility = NavigationUIVisibility.Hidden;
				frame.Content = RootFrame;
			}
		}
 /// <summary>
 ///     Initializes a new instance of the <see cref="FrameNavigationService" /> class.
 /// </summary>
 public FrameNavigationService([NotNull] Frame frame, ISerializer serializer)
 {
     Should.NotBeNull(frame, "frame");
     _frame = frame;
     _serializer = serializer;
     _frame.Navigating += OnNavigating;
     _frame.Navigated += OnNavigated;
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OOAD_EDU;component/Views/Common/PageNavigationView.xaml", System.UriKind.Relative));
     this.ContentFrame = ((System.Windows.Controls.Frame)(this.FindName("ContentFrame")));
 }
 public void CanCreateNavigatorForFrame()
 {
     var frame = new Frame();
     var resolver = new Mock<IRouteResolver>();
     var factory = new NavigatorFactory(resolver.Object);
     var navigator = factory.CreateNavigator(frame);
     navigator.CanGoBack.ToString();
 }
 void Navigate(Uri source)
 {
     if (frame == null)
     {
         frame = (Frame)Application.Current.RootVisual;
     }
     frame.Navigate(source);
 }
示例#29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmSearchWindow = ((System.Windows.Controls.Frame)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#30
0
        public NavigateTheWeb()
        {
            Title = "Navigate the Web";

            frm = new Frame();
            Content = frm;

            Loaded += OnWindowLoaded;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((Dragablz.TabablzControl)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 18:
                this.userImage = ((System.Windows.Controls.Image)(target));

            #line 168 "..\..\Main.xaml"
                this.userImage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.userImage_MouseDown);

            #line default
            #line hidden
                return;

            case 19:
                this.notificationStack = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 20:
                this.nEncomendasPrevistas = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 21:
                this.nProdutosMes = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 22:
                this.produtosMaisVendidoMes = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 23:

            #line 194 "..\..\Main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 24:

            #line 195 "..\..\Main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mudarInfo_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 196 "..\..\Main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MudarPass_Click_2);

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

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

            case 28:
                this.clientesFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 30:
                this.encomendasFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 32:
                this.produtosFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 34:
                this.materiaisFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 36:
                this.fornecedoresFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 38:
                this.filiaisFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 40:
                this.empregadosFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win1 = ((WpfApplication1.Window1)(target));

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

            #line 42 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 4:

            #line 43 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.xml_clear);

            #line default
            #line hidden
                return;

            case 5:

            #line 45 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_jsq);

            #line default
            #line hidden
                return;

            case 6:

            #line 46 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 7:

            #line 47 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml_edit);

            #line default
            #line hidden
                return;

            case 8:

            #line 51 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml);

            #line default
            #line hidden
                return;

            case 9:

            #line 52 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw);

            #line default
            #line hidden
                return;

            case 10:

            #line 53 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Window1.xaml"
                this.qp.Click += new System.Windows.RoutedEventHandler(this.qpxx);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\Window1.xaml"
                this.hy.Click += new System.Windows.RoutedEventHandler(this.hyck);

            #line default
            #line hidden
                return;

            case 13:

            #line 62 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 115 "..\..\..\Window1.xaml"
                this.dk.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Window1.xaml"
                this.gb.Click += new System.Windows.RoutedEventHandler(this.gb_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 23:
                this.fontsize = ((System.Windows.Controls.Slider)(target));
                return;

            case 24:
                this.frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 25:
                this.list_1 = ((System.Windows.Controls.ListView)(target));
                return;

            case 26:

            #line 201 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 203 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tdcl);

            #line default
            #line hidden
                return;

            case 28:

            #line 207 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_fdzh);

            #line default
            #line hidden
                return;

            case 29:
                this.bg1 = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 31:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 32:

            #line 224 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_bw_Click);

            #line default
            #line hidden
                return;

            case 33:

            #line 227 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_xml);

            #line default
            #line hidden
                return;

            case 34:

            #line 228 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_bw);

            #line default
            #line hidden
                return;

            case 35:

            #line 229 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.open_rz);

            #line default
            #line hidden
                return;

            case 36:
                this.xa = ((System.Windows.Documents.Run)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ic_hide_ord = ((System.Windows.Controls.Image)(target));

            #line 23 "..\..\PageOrdonnance.xaml"
                this.ic_hide_ord.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ic_hide_ord_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\PageOrdonnance.xaml"
                this.Nom_Medic.IsKeyboardFocusedChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Nom_Medic_IsKeyboardFocusedChanged);

            #line default
            #line hidden

            #line 28 "..\..\PageOrdonnance.xaml"
                this.Nom_Medic.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Nom_Medic_MouseLeftButtonUp_1);

            #line default
            #line hidden

            #line 28 "..\..\PageOrdonnance.xaml"
                this.Nom_Medic.KeyUp += new System.Windows.Input.KeyEventHandler(this.Nom_Medic_KeyUp);

            #line default
            #line hidden

            #line 28 "..\..\PageOrdonnance.xaml"
                this.Nom_Medic.KeyDown += new System.Windows.Input.KeyEventHandler(this.Nom_Medic_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line 108 "..\..\PageOrdonnance.xaml"
                this.addButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_Ajouter);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\PageOrdonnance.xaml"
                this.updateButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_Modifier);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\PageOrdonnance.xaml"
                this.Retour.Click += new System.Windows.RoutedEventHandler(this.Imprimer_Click);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\PageOrdonnance.xaml"
                this.Affich_Medic_Ajouté.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Affich_Medic_Ajouté_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 128 "..\..\PageOrdonnance.xaml"
                this.resultStack.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.resultStack_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 18:
                this.Confirmer = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            case 3:
                this.BsManagerMenu = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.productListButton.Click += new System.Windows.RoutedEventHandler(this.productListButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line 21 "..\..\..\Beasts - Copy\Boar.xaml"
                this.button_Variation1.Click += new System.Windows.RoutedEventHandler(this.Button_Variation1_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\Beasts - Copy\Boar.xaml"
                this.button_return.Click += new System.Windows.RoutedEventHandler(this.Button_return_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 10:

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

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

            case 2:

            #line 16 "..\..\DodajEtiketu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Boje_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.pokazivac = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

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

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

            #line 37 "..\..\DodajEtiketu.xaml"
                this.Dodaj.Click += new System.Windows.RoutedEventHandler(this.DodajEtiketu_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\DodajEtiketu.xaml"
                this.Odustani.Click += new System.Windows.RoutedEventHandler(this.Odustani_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 11:
                this.line2 = ((System.Windows.Controls.Border)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 23:
                this.d = ((VTManager.Slider)(target));
                return;

            case 24:
                this.menu_frame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((System.Windows.Controls.Frame)(target));
                return;

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

            #line 21 "..\..\..\MainWindow.xaml"
                this.widthTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PreviewTextInput);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 24 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 7:

            #line 26 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 9:

            #line 28 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 11:

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

            #line default
            #line hidden
                return;

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

            case 13:
                this.path = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frame_tutorial = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 3:
                this.manu_tutorial = ((System.Windows.Controls.TreeView)(target));
                return;

            case 4:

            #line 54 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_Homepage);

            #line default
            #line hidden
                return;

            case 5:

            #line 59 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_HowToUseThisUI);

            #line default
            #line hidden
                return;

            case 6:

            #line 64 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_WhatYouMustKnow);

            #line default
            #line hidden
                return;

            case 7:

            #line 69 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_AboutBroadcast);

            #line default
            #line hidden
                return;

            case 8:

            #line 75 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_DIYCat);

            #line default
            #line hidden
                return;

            case 9:

            #line 80 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_Keymap);

            #line default
            #line hidden
                return;

            case 10:

            #line 85 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_ConfigComparisonTable);

            #line default
            #line hidden
                return;

            case 11:

            #line 90 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Tutorial_HowToAsk);

            #line default
            #line hidden
                return;

            case 12:
                this.treeView_FAQ = ((System.Windows.Controls.TreeViewItem)(target));

            #line 95 "..\..\PageTutorial.xaml"
                this.treeView_FAQ.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_FAQ);

            #line default
            #line hidden
                return;

            case 13:

            #line 99 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Question_CatFreeze);

            #line default
            #line hidden
                return;

            case 14:

            #line 104 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Question_MissingPart);

            #line default
            #line hidden
                return;

            case 15:

            #line 109 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Question_TopWindow);

            #line default
            #line hidden
                return;

            case 16:

            #line 114 "..\..\PageTutorial.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click_Question_BlackBackground);

            #line default
            #line hidden
                return;

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

            case 18:
                this.manuToggle_page = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\main.xaml"
                ((Project3._1.main)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.move);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clsbtn);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\main.xaml"
                this.logout.Click += new System.Windows.RoutedEventHandler(this.logbtn);

            #line default
            #line hidden
                return;

            case 5:

            #line 35 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cngpasclk);

            #line default
            #line hidden
                return;

            case 6:

            #line 41 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clbank);

            #line default
            #line hidden
                return;

            case 7:

            #line 47 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clcontacts);

            #line default
            #line hidden
                return;

            case 8:

            #line 53 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clsplans);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\main.xaml"
                this.nt.Click += new System.Windows.RoutedEventHandler(this.ntclk);

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

            #line 71 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.clpaswod);

            #line default
            #line hidden
                return;

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

            case 13:

            #line 81 "..\..\main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mini);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#43
0
 public void SetPackageSettingsPage(ref System.Windows.Controls.Frame pa)
 {
     pa.Content = PSettings;
 }
示例#44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.navigation = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\MainWindow.xaml"
                this.btnManageTeachers.Click += new System.Windows.RoutedEventHandler(this.btnManageTeachers_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\MainWindow.xaml"
                this.btnManageStudents.Click += new System.Windows.RoutedEventHandler(this.btnManageStudents_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.frameMainContent = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DuelPortalCS;component/DuelField2.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.opstZone1         = ((System.Windows.Controls.Image)(this.FindName("opstZone1")));
     this.opstZone2         = ((System.Windows.Controls.Image)(this.FindName("opstZone2")));
     this.opstZone3         = ((System.Windows.Controls.Image)(this.FindName("opstZone3")));
     this.opstZone4         = ((System.Windows.Controls.Image)(this.FindName("opstZone4")));
     this.opstZone5         = ((System.Windows.Controls.Image)(this.FindName("opstZone5")));
     this.opMonZone1        = ((System.Windows.Controls.Image)(this.FindName("opMonZone1")));
     this.opMonZone2        = ((System.Windows.Controls.Image)(this.FindName("opMonZone2")));
     this.opMonZone3        = ((System.Windows.Controls.Image)(this.FindName("opMonZone3")));
     this.opMonZone4        = ((System.Windows.Controls.Image)(this.FindName("opMonZone4")));
     this.opMonZone5        = ((System.Windows.Controls.Image)(this.FindName("opMonZone5")));
     this.Image11           = ((System.Windows.Controls.Image)(this.FindName("Image11")));
     this.opGraveZone       = ((System.Windows.Controls.Image)(this.FindName("opGraveZone")));
     this.oprfgZone         = ((System.Windows.Controls.Image)(this.FindName("oprfgZone")));
     this.Image14           = ((System.Windows.Controls.Image)(this.FindName("Image14")));
     this.opFieldSpellZone  = ((System.Windows.Controls.Image)(this.FindName("opFieldSpellZone")));
     this.MonZone1          = ((System.Windows.Controls.Image)(this.FindName("MonZone1")));
     this.MonZone2          = ((System.Windows.Controls.Image)(this.FindName("MonZone2")));
     this.MonZone3          = ((System.Windows.Controls.Image)(this.FindName("MonZone3")));
     this.MonZone4          = ((System.Windows.Controls.Image)(this.FindName("MonZone4")));
     this.MonZone5          = ((System.Windows.Controls.Image)(this.FindName("MonZone5")));
     this.stZone1           = ((System.Windows.Controls.Image)(this.FindName("stZone1")));
     this.stZone2           = ((System.Windows.Controls.Image)(this.FindName("stZone2")));
     this.stZone3           = ((System.Windows.Controls.Image)(this.FindName("stZone3")));
     this.stZone4           = ((System.Windows.Controls.Image)(this.FindName("stZone4")));
     this.stZone5           = ((System.Windows.Controls.Image)(this.FindName("stZone5")));
     this.FieldSpellZone    = ((System.Windows.Controls.Image)(this.FindName("FieldSpellZone")));
     this.ExtraDeckZone     = ((System.Windows.Controls.Image)(this.FindName("ExtraDeckZone")));
     this.rfgZone           = ((System.Windows.Controls.Image)(this.FindName("rfgZone")));
     this.GraveZone         = ((System.Windows.Controls.Image)(this.FindName("GraveZone")));
     this.DeckZone          = ((System.Windows.Controls.Image)(this.FindName("DeckZone")));
     this.lstMyHand         = ((System.Windows.Controls.ListBox)(this.FindName("lstMyHand")));
     this.lstAllyHand       = ((System.Windows.Controls.ListBox)(this.FindName("lstAllyHand")));
     this.Rectangle4        = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle4")));
     this.Rectangle5        = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle5")));
     this.cmdDrawPhase      = ((System.Windows.Controls.Button)(this.FindName("cmdDrawPhase")));
     this.cmdStandbyPhase   = ((System.Windows.Controls.Button)(this.FindName("cmdStandbyPhase")));
     this.cmdMainPhase1     = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase1")));
     this.cmdBattlePhase    = ((System.Windows.Controls.Button)(this.FindName("cmdBattlePhase")));
     this.cmdMainPhase2     = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase2")));
     this.cmdEndPhase       = ((System.Windows.Controls.Button)(this.FindName("cmdEndPhase")));
     this.cmdEndTurn        = ((System.Windows.Controls.Button)(this.FindName("cmdEndTurn")));
     this.Grid1             = ((System.Windows.Controls.Grid)(this.FindName("Grid1")));
     this.lstMessages       = ((System.Windows.Controls.ListBox)(this.FindName("lstMessages")));
     this.cmdSendText       = ((System.Windows.Controls.Button)(this.FindName("cmdSendText")));
     this.txtSendText       = ((System.Windows.Controls.TextBox)(this.FindName("txtSendText")));
     this.Frame1            = ((System.Windows.Controls.Frame)(this.FindName("Frame1")));
     this.lblDuelName       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelName")));
     this.imgDuelAttribute  = ((System.Windows.Controls.Image)(this.FindName("imgDuelAttribute")));
     this.imgSTIcon         = ((System.Windows.Controls.Image)(this.FindName("imgSTIcon")));
     this.lblDuelType       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelType")));
     this.lblDuelLore       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelLore")));
     this.lblATKplaceholder = ((System.Windows.Controls.TextBlock)(this.FindName("lblATKplaceholder")));
     this.lblDEFplaceholder = ((System.Windows.Controls.TextBlock)(this.FindName("lblDEFplaceholder")));
     this.lblDuelATK        = ((System.Windows.Controls.TextBox)(this.FindName("lblDuelATK")));
     this.lblDuelDEF        = ((System.Windows.Controls.TextBox)(this.FindName("lblDuelDEF")));
     this.Label1            = ((System.Windows.Controls.TextBlock)(this.FindName("Label1")));
     this.cmbCounters       = ((System.Windows.Controls.TextBox)(this.FindName("cmbCounters")));
     this.lblOverlaid       = ((System.Windows.Controls.TextBlock)(this.FindName("lblOverlaid")));
     this.cmbOverlaid       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbOverlaid")));
     this.lblPlayerLP       = ((System.Windows.Controls.TextBlock)(this.FindName("lblPlayerLP")));
     this.lblOpponentLP     = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpponentLP")));
     this.txtTurnCount      = ((System.Windows.Controls.TextBox)(this.FindName("txtTurnCount")));
     this.Label2            = ((System.Windows.Controls.TextBlock)(this.FindName("Label2")));
     this.lblOpHand         = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpHand")));
     this.lblOpGrave        = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpGrave")));
     this.lblOpRFG          = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpRFG")));
     this.lblAlly           = ((System.Windows.Controls.TextBlock)(this.FindName("lblAlly")));
     this.imgBG             = ((System.Windows.Controls.Image)(this.FindName("imgBG")));
     this.imgOPBG           = ((System.Windows.Controls.Image)(this.FindName("imgOPBG")));
     this.ctxtDeck          = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtDeck")));
     this.ctxtHand          = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtHand")));
     this.ctxtMonster       = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonster")));
     this.ctxtSpellTrap     = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtSpellTrap")));
     this.cmdCoin           = ((System.Windows.Controls.Button)(this.FindName("cmdCoin")));
     this.cmdDie            = ((System.Windows.Controls.Button)(this.FindName("cmdDie")));
     this.StackPanel1       = ((System.Windows.Controls.StackPanel)(this.FindName("StackPanel1")));
     this.imgStars1         = ((System.Windows.Controls.Image)(this.FindName("imgStars1")));
     this.imgStars2         = ((System.Windows.Controls.Image)(this.FindName("imgStars2")));
     this.imgStars3         = ((System.Windows.Controls.Image)(this.FindName("imgStars3")));
     this.imgStars4         = ((System.Windows.Controls.Image)(this.FindName("imgStars4")));
     this.imgStars5         = ((System.Windows.Controls.Image)(this.FindName("imgStars5")));
     this.imgStars6         = ((System.Windows.Controls.Image)(this.FindName("imgStars6")));
     this.imgStars7         = ((System.Windows.Controls.Image)(this.FindName("imgStars7")));
     this.imgStars8         = ((System.Windows.Controls.Image)(this.FindName("imgStars8")));
     this.imgStars9         = ((System.Windows.Controls.Image)(this.FindName("imgStars9")));
     this.imgStars10        = ((System.Windows.Controls.Image)(this.FindName("imgStars10")));
     this.imgStars11        = ((System.Windows.Controls.Image)(this.FindName("imgStars11")));
     this.imgStars12        = ((System.Windows.Controls.Image)(this.FindName("imgStars12")));
     this.cmdDrawFive       = ((System.Windows.Controls.Button)(this.FindName("cmdDrawFive")));
     this.imgBattle         = ((System.Windows.Controls.Image)(this.FindName("imgBattle")));
     this.imgBattleOrigin   = ((System.Windows.Controls.Image)(this.FindName("imgBattleOrigin")));
     this.Canvas1           = ((System.Windows.Controls.Canvas)(this.FindName("Canvas1")));
     this.cmdGainLP         = ((System.Windows.Controls.Button)(this.FindName("cmdGainLP")));
     this.cmdLoseLP         = ((System.Windows.Controls.Button)(this.FindName("cmdLoseLP")));
     this.txtLPChange       = ((System.Windows.Controls.TextBox)(this.FindName("txtLPChange")));
     this.imgMove           = ((System.Windows.Controls.Image)(this.FindName("imgMove")));
     this.imgMoveOrigin     = ((System.Windows.Controls.Image)(this.FindName("imgMoveOrigin")));
     this.ctxtMonsterEmpty  = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonsterEmpty")));
     this.lblMySideHand     = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideHand")));
     this.lblMySideGrave    = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideGrave")));
     this.lblMySideRFG      = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideRFG")));
     this.lblOpDeck         = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpDeck")));
     this.lblMySideDeck     = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideDeck")));
 }
示例#46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Appointment = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.ItemAddAppointment.Click += new System.Windows.RoutedEventHandler(this.ItemAddAppointment_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 16 "..\..\MainWindow.xaml"
                this.ItemAddCustomer.Click += new System.Windows.RoutedEventHandler(this.ItemAddCustomer_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.DisplayPage = ((System.Windows.Controls.Frame)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.DisplayPage.Initialized += new System.EventHandler(this.DisplayPage_Initialized);

            #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.btnhtinfo = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\mainwindowpages\masters.xaml"
                this.btnhtinfo.Click += new System.Windows.RoutedEventHandler(this.btnhtinfo_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\mainwindowpages\masters.xaml"
                this.btnRegUsr.Click += new System.Windows.RoutedEventHandler(this.btnRegUsr_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\..\mainwindowpages\masters.xaml"
                this.btncmp.Click += new System.Windows.RoutedEventHandler(this.btncmpclick);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\..\mainwindowpages\masters.xaml"
                this.btndpt.Click += new System.Windows.RoutedEventHandler(this.btndptclick);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\mainwindowpages\masters.xaml"
                this.btncategory.Click += new System.Windows.RoutedEventHandler(this.btnctgclick);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\..\mainwindowpages\masters.xaml"
                this.btnplan.Click += new System.Windows.RoutedEventHandler(this.btnplnclick);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\..\mainwindowpages\masters.xaml"
                this.btnrmmst.Click += new System.Windows.RoutedEventHandler(this.btnrmmstclick);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\mainwindowpages\masters.xaml"
                this.btnami.Click += new System.Windows.RoutedEventHandler(this.btnamiclick);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\..\mainwindowpages\masters.xaml"
                this.btnrvn.Click += new System.Windows.RoutedEventHandler(this.btnrvnclick);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\mainwindowpages\masters.xaml"
                this.btnRstPass.Click += new System.Windows.RoutedEventHandler(this.btnRstPass_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\mainwindowpages\masters.xaml"
                this.btnrmtax.Click += new System.Windows.RoutedEventHandler(this.btnrmtaxclick);

            #line default
            #line hidden
                return;

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

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

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

            #line 13 "..\..\BasicCatering.xaml"
                this.BSframe.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.BSframe_Navigated);

            #line default
            #line hidden
                return;

            case 2:

            #line 14 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 3:

            #line 15 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Order);

            #line default
            #line hidden
                return;

            case 4:

            #line 16 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Dessert);

            #line default
            #line hidden
                return;

            case 5:

            #line 17 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_100);

            #line default
            #line hidden
                return;

            case 6:

            #line 18 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Supplier);

            #line default
            #line hidden
                return;

            case 7:

            #line 19 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Invoices);

            #line default
            #line hidden
                return;

            case 8:

            #line 21 "..\..\BasicCatering.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_customer);

            #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.spMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.Menu_Navigasi = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.frmMain = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            #line 16 "..\..\..\View\BuildMode.xaml"
                this.UserImage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserImage_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\View\BuildMode.xaml"
                this.btnBuildMode.Click += new System.Windows.RoutedEventHandler(this.btnCompare_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\View\BuildMode.xaml"
                this.btnItemPage.Click += new System.Windows.RoutedEventHandler(this.btnCompare_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\View\BuildMode.xaml"
                this.btnBuild.Click += new System.Windows.RoutedEventHandler(this.btnBuild_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\View\BuildMode.xaml"
                this.btnComponent.Click += new System.Windows.RoutedEventHandler(this.btnComponent_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\View\BuildMode.xaml"
                this.btnCompare.Click += new System.Windows.RoutedEventHandler(this.btnCompare_Click);

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

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

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

            #line 16 "..\..\..\Main\MainWindow.xaml"
                this.Main_Page.Click += new System.Windows.RoutedEventHandler(this.Main_Page_Click);

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\..\Main\MainWindow.xaml"
                this._Wyloguj.Click += new System.Windows.RoutedEventHandler(this._Wyloguj_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Main\MainWindow.xaml"
                this.Color.Click += new System.Windows.RoutedEventHandler(this.Color_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Main\MainWindow.xaml"
                this.Wyjscie.Click += new System.Windows.RoutedEventHandler(this.Wyjscie_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Main\MainWindow.xaml"
                this.Klient.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Druga_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Main\MainWindow.xaml"
                this.Dodaj.Click += new System.Windows.RoutedEventHandler(this.Dodaj_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Main\MainWindow.xaml"
                this.Edytuj.Click += new System.Windows.RoutedEventHandler(this.Edytuj_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\Main\MainWindow.xaml"
                this.ksiazka.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Ksiazka_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\Main\MainWindow.xaml"
                this.Dodaj_ksiazka.Click += new System.Windows.RoutedEventHandler(this.Dodaj_ksiazka_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Main\MainWindow.xaml"
                this.Edytuj_ksiazka.Click += new System.Windows.RoutedEventHandler(this.Edytuj_ksiazka_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Main\MainWindow.xaml"
                this.Autor.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Autor_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\Main\MainWindow.xaml"
                this.Dodaj_autora.Click += new System.Windows.RoutedEventHandler(this.Dodaj_autora_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\Main\MainWindow.xaml"
                this.Edytuj_autora.Click += new System.Windows.RoutedEventHandler(this.Edytuj_autora_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\Main\MainWindow.xaml"
                this.wypozyczenia.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Lista_Wypozycz_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\Main\MainWindow.xaml"
                this.Wypozycz.Click += new System.Windows.RoutedEventHandler(this.Wypozycz_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Lista_Wypozycz = ((System.Windows.Controls.MenuItem)(target));

            #line 44 "..\..\..\Main\MainWindow.xaml"
                this.Lista_Wypozycz.Click += new System.Windows.RoutedEventHandler(this.Lista_Wypozycz_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.FrameMW = ((System.Windows.Controls.Frame)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.FrameMW.ContentRendered += new System.EventHandler(this.FrameMW_ContentRendered);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.BtnPage3.Click += new System.Windows.RoutedEventHandler(this.BtnPage3_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.FrameMWContent = ((System.Windows.Controls.Frame)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.FrameMWContent.ContentRendered += new System.EventHandler(this.FrameMW_ContentRendered);

            #line default
            #line hidden
                return;

            case 9:
                this.UIasd = ((Hitcom_AccountingEquipment.UserInfo)(target));
                return;

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

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

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

            case 2:
                this.ColNavigation = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.SizeButton.Click += new System.Windows.RoutedEventHandler(this.SizeButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.Connected = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 10:
                this.Navigation = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 138 "..\..\MainWindow.xaml"
                this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 152 "..\..\MainWindow.xaml"
                this.FrButton.Click += new System.Windows.RoutedEventHandler(this.FrButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 163 "..\..\MainWindow.xaml"
                this.LoginOutButton.Click += new System.Windows.RoutedEventHandler(this.LoginOutButton_Click);

            #line default
            #line hidden
                return;

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

            #line 8 "..\..\Menu.xaml"
                ((zeljkonrt7514_diplomski.Menu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Load);

            #line default
            #line hidden
                return;

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

            case 3:
                this.frmMenu = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

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

            #line 28 "..\..\Menu.xaml"
                this.btnPocetna.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\Menu.xaml"
                this.btnDnevnik.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\Menu.xaml"
                this.btnTrening.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\Menu.xaml"
                this.btnNapredak.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\Menu.xaml"
                this.btnPodesavanja.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\Menu.xaml"
                this.btnOdjaviSe.Click += new System.Windows.RoutedEventHandler(this.menuButtons_Click);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\Menu.xaml"
                this.txtPretraga.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPretraga_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 94 "..\..\Menu.xaml"
                this.lbRezultatPretrage.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbRezultatPretrage_SelectionChanged);

            #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.gridBut = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.frame1 = ((System.Windows.Controls.Frame)(target));
                return;

            case 3:
                this.frame2 = ((System.Windows.Controls.Frame)(target));
                return;

            case 4:
                this.frame3 = ((System.Windows.Controls.Frame)(target));
                return;

            case 5:
                this.frame4 = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.frame5 = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 21 "..\..\..\Billing\TabBilling.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.BtnMenuExpand_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.BtnImportArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 32 "..\..\..\Billing\TabBilling.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnReconcile_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Billing\TabBilling.xaml"
                this.btnLookup.Click += new System.Windows.RoutedEventHandler(this.BtnMenuExpand_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.BtnLookupArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:

            #line 45 "..\..\..\Billing\TabBilling.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LookupBillCodes_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 46 "..\..\..\Billing\TabBilling.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ImportResponse_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 47 "..\..\..\Billing\TabBilling.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewResponse_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\Billing\TabBilling.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.BtnExportExpand_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.BtnExportArrow = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 61 "..\..\..\Billing\TabBilling.xaml"
                this.btnCreateBillFile.LostFocus += new System.Windows.RoutedEventHandler(this.MenuItem_LostFocus);

            #line default
            #line hidden

            #line 61 "..\..\..\Billing\TabBilling.xaml"
                this.btnCreateBillFile.Click += new System.Windows.RoutedEventHandler(this.CreateBillingFile_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\Billing\TabBilling.xaml"
                this.btnReconcile.Click += new System.Windows.RoutedEventHandler(this.BtnExportExpand_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.BtnReconcileArrow = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 75 "..\..\..\Billing\TabBilling.xaml"
                this.btnReadMOH_File.LostFocus += new System.Windows.RoutedEventHandler(this.MenuItem_LostFocus);

            #line default
            #line hidden

            #line 75 "..\..\..\Billing\TabBilling.xaml"
                this.btnReadMOH_File.Click += new System.Windows.RoutedEventHandler(this.BtnReconcile_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\Billing\TabBilling.xaml"
                this.btnMonthlySummary.Click += new System.Windows.RoutedEventHandler(this.BtnShowMonthlySummary_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.dgData = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 5 "..\..\MainWindow.xaml"
                ((WCF_双工_Server.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.loadingFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

            case 4:
                this.richTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

            #line 224 "..\..\..\View\MainWindow.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 227 "..\..\..\View\MainWindow.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Task_List = ((System.Windows.Controls.ListViewItem)(target));

            #line 232 "..\..\..\View\MainWindow.xaml"
                this.Task_List.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Task_List_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.Group_list = ((System.Windows.Controls.ListViewItem)(target));

            #line 262 "..\..\..\View\MainWindow.xaml"
                this.Group_list.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Group_list_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 277 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

            #line 286 "..\..\..\View\MainWindow.xaml"
                this.Roll_Up.Click += new System.Windows.RoutedEventHandler(this.Roll_Up_Click);

            #line default
            #line hidden
                return;

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

            #line 287 "..\..\..\View\MainWindow.xaml"
                this.maxsizeButton.Click += new System.Windows.RoutedEventHandler(this.MaxsizeButton_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:

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:
                this.frame1 = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#59
0
 public void SetResultsPage(ref System.Windows.Controls.Frame pa)
 {
     pa.Content = Results;
 }
示例#60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frame1 = ((System.Windows.Controls.Frame)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.frame1.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.frame1_Navigated);

            #line default
            #line hidden
                return;

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

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

            #line 133 "..\..\MainWindow.xaml"
                this.btnMain.Click += new System.Windows.RoutedEventHandler(this.btnMain_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.btnkullanici.Click += new System.Windows.RoutedEventHandler(this.btnSicil_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 153 "..\..\MainWindow.xaml"
                this.GridBarraTitulo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GridBarraTitulo_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }