public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CircularRecorderApp;component/AudioLoop.xaml", System.UriKind.Relative));
     this._animation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("_animation")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Backgroundellipse = ((System.Windows.Shapes.Ellipse)(this.FindName("Backgroundellipse")));
     this.arc_1 = ((Microsoft.Expression.Shapes.Arc)(this.FindName("arc_1")));
     this.arc_2 = ((Microsoft.Expression.Shapes.Arc)(this.FindName("arc_2")));
     this.FrontEllipse = ((System.Windows.Shapes.Ellipse)(this.FindName("FrontEllipse")));
     this.TimeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("TimeTextBlock")));
 }
示例#2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FstnUserControl;component/Shape/ShapeLibrary.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Star = ((Microsoft.Expression.Shapes.RegularPolygon)(this.FindName("Star")));
     this.Ring = ((Microsoft.Expression.Shapes.Arc)(this.FindName("Ring")));
     this.Pie = ((Microsoft.Expression.Shapes.Arc)(this.FindName("Pie")));
     this.Pentagon = ((Microsoft.Expression.Shapes.RegularPolygon)(this.FindName("Pentagon")));
     this.Exagon = ((Microsoft.Expression.Shapes.RegularPolygon)(this.FindName("Exagon")));
     this.Round = ((System.Windows.Shapes.Ellipse)(this.FindName("Round")));
     this.CallOut = ((Microsoft.Expression.Controls.Callout)(this.FindName("CallOut")));
     this.Cloud = ((Microsoft.Expression.Controls.Callout)(this.FindName("Cloud")));
 }
示例#3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Kinect.Wpf.Controls.HoverButton)(target));
     return;
     case 2:
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
     return;
     case 3:
     this.Normal = ((System.Windows.VisualState)(target));
     return;
     case 4:
     this.Checked = ((System.Windows.VisualState)(target));
     return;
     case 5:
     this.uxContentHolder = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.uxButtonImage = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.uxButtonActiveImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.uxRing = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((EzMon_V0._01.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((EzMon_V0._01.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ChartGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GraphicalDisplayGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.sliderGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.youPointer = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.TBHRDisplay_secondary = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.tbHRStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.ChartHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 9:
     this.leftColumn = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.HRGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.tbHeartRate = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.tempGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.tbTemperature = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.AccGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.arcActivity = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     case 17:
     this.txtActivityIndex = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.txtActivityStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.Grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.xVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.yVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.zVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.fallGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 24:
     this.debugText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.top = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.ConnectDisconnectButton = ((System.Windows.Controls.Button)(target));
     
     #line 186 "..\..\..\MainWindow.xaml"
     this.ConnectDisconnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectDisconnectButton_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.cbPort = ((System.Windows.Controls.ComboBox)(target));
     
     #line 189 "..\..\..\MainWindow.xaml"
     this.cbPort.DropDownOpened += new System.EventHandler(this.cbPort_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 29:
     this.timerTick_LABEL = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.timerTick = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.datacount_LABEL = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.datacount = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.vmax_LABEL = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.vmax = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.vmin_LABEL = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.vmin = ((System.Windows.Controls.Label)(target));
     return;
     case 37:
     this.vpp_LABEL = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.vpp = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     
     #line 200 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.DevModeChecked);
     
     #line default
     #line hidden
     
     #line 200 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.DevModeUnChecked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.grid00 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grid11 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.arc = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Apollo.ssBlock)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.arc = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BlurP = ((System.Windows.Media.Effects.BlurEffect)(target));
                return;

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

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

            #line 374 "..\..\..\Pages\MainPage.xaml"
                this.StartServerBtn.Click += new System.Windows.RoutedEventHandler(this.StartServerBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 375 "..\..\..\Pages\MainPage.xaml"
                this.StopServerBtn.Click += new System.Windows.RoutedEventHandler(this.StopServerBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 376 "..\..\..\Pages\MainPage.xaml"
                this.RestartServerBtn.Click += new System.Windows.RoutedEventHandler(this.RestartServerBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 378 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 379 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn1.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 380 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn2.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 381 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn3.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 382 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn5.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 383 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn4.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 384 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn6.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 385 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn7.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 386 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn8.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 387 "..\..\..\Pages\MainPage.xaml"
                this.CommandBtn9.Click += new System.Windows.RoutedEventHandler(this.CommandBtn_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 397 "..\..\..\Pages\MainPage.xaml"
                this.ServerInput.KeyDown += new System.Windows.Input.KeyEventHandler(this.ServerInput_KeyDown);

            #line default
            #line hidden
                return;

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

            case 21:
                this.IMainFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            case 24:
                this.Arc1 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 25:
                this.Arc2 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 26:
                this.Arc3 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 27:
                this.Arc4 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 28:
                this.Arc5 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Title_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.Title_line = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.line2 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 12:
                this.line3 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.line4 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.line5 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 15:
                this.line6 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            case 18:
                this.cpu_bar_background = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 19:
                this.cpu_usage_bar = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

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

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

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

            case 23:
                this.mem_bar_background = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 24:
                this.mem_usage_bar = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

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

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

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

            case 28:
                this.virtualMem_bar_background = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 29:
                this.virtualMem_usage_bar = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 46:
                this.Output_sock_label = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.Total_sock_label = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 50:
                this.Output_Maxbyte_label = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.Input_Maxsock_label = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.Output_Maxsock_label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BlurP = ((System.Windows.Media.Effects.BlurEffect)(target));
                return;

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

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

            case 4:
                this.DrawCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

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

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

            case 11:
                this.Arc1 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 12:
                this.Arc2 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 13:
                this.Arc3 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 14:
                this.Arc4 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 15:
                this.Arc5 = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 16:
                this.Samplebutton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }