Exemple #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneDirect3DXamlAppInterop;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DrawingSurface = ((System.Windows.Controls.DrawingSurface)(this.FindName("DrawingSurface")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Silverlight3dApp;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.myDrawingSurface = ((System.Windows.Controls.DrawingSurface)(this.FindName("myDrawingSurface")));
     this.ElevatorHud = ((System.Windows.Controls.DataGrid)(this.FindName("ElevatorHud")));
     this.FloorsGrid = ((System.Windows.Controls.DataGrid)(this.FindName("FloorsGrid")));
 }
Exemple #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OpenWARExample;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DrawingSurface = ((System.Windows.Controls.DrawingSurface)(this.FindName("DrawingSurface")));
 }
Exemple #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UVEngine2_1;component/Pages/GamePage/ONS.xaml", System.UriKind.Relative));
     this.GamePanel  = ((System.Windows.Controls.Grid)(this.FindName("GamePanel")));
     this.ONSSurface = ((System.Windows.Controls.DrawingSurface)(this.FindName("ONSSurface")));
 }
Exemple #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OpenWARExample;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.viewfinderCanvas = ((System.Windows.Controls.Canvas)(this.FindName("viewfinderCanvas")));
     this.viewfinderBrush  = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush")));
     this.focusBrackets    = ((System.Windows.Controls.TextBlock)(this.FindName("focusBrackets")));
     this.DrawingSurface   = ((System.Windows.Controls.DrawingSurface)(this.FindName("DrawingSurface")));
     this.AFButton         = ((System.Windows.Controls.Button)(this.FindName("AFButton")));
     this.ResButton        = ((System.Windows.Controls.Button)(this.FindName("ResButton")));
     this.txtDebug         = ((System.Windows.Controls.TextBlock)(this.FindName("txtDebug")));
 }
Exemple #6
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RepRap%20Phone%20Host;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.XnaMediaElement            = ((System.Windows.Controls.MediaElement)(this.FindName("XnaMediaElement")));
     this.MainPivot                  = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot")));
     this.StlPivot                   = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("StlPivot")));
     this.stlpivot_Scroller          = ((System.Windows.Controls.ScrollViewer)(this.FindName("stlpivot_Scroller")));
     this.StlSurface                 = ((System.Windows.Controls.DrawingSurface)(this.FindName("StlSurface")));
     this.rotateUpButtonStl          = ((System.Windows.Controls.Button)(this.FindName("rotateUpButtonStl")));
     this.rotateLeftButtonStl        = ((System.Windows.Controls.Button)(this.FindName("rotateLeftButtonStl")));
     this.rotateRightButtonStl       = ((System.Windows.Controls.Button)(this.FindName("rotateRightButtonStl")));
     this.rotateDownButtonStl        = ((System.Windows.Controls.Button)(this.FindName("rotateDownButtonStl")));
     this.moveUpButtonStl            = ((System.Windows.Controls.Button)(this.FindName("moveUpButtonStl")));
     this.moveLeftButtonStl          = ((System.Windows.Controls.Button)(this.FindName("moveLeftButtonStl")));
     this.moveRightButtonStl         = ((System.Windows.Controls.Button)(this.FindName("moveRightButtonStl")));
     this.moveDownButtonStl          = ((System.Windows.Controls.Button)(this.FindName("moveDownButtonStl")));
     this.zoomButtonStl              = ((System.Windows.Controls.Button)(this.FindName("zoomButtonStl")));
     this.unZoomButtonStl            = ((System.Windows.Controls.Button)(this.FindName("unZoomButtonStl")));
     this.saveButtonStl              = ((System.Windows.Controls.Button)(this.FindName("saveButtonStl")));
     this.stl_Filelist               = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("stl_Filelist")));
     this.xRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("xRotation_Slider")));
     this.xRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("xRotation_TextBlock")));
     this.yRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("yRotation_Slider")));
     this.yRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("yRotation_TextBlock")));
     this.zRotation_Slider           = ((System.Windows.Controls.Slider)(this.FindName("zRotation_Slider")));
     this.zRotation_TextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("zRotation_TextBlock")));
     this.scale_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("scale_Textbox")));
     this.SlicerPivot                = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("SlicerPivot")));
     this.Slice_Button               = ((System.Windows.Controls.Button)(this.FindName("Slice_Button")));
     this.CancelButton               = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.outputStackPanel           = ((System.Windows.Controls.StackPanel)(this.FindName("outputStackPanel")));
     this.slicer_Filelist            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("slicer_Filelist")));
     this.GCodePivot                 = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("GCodePivot")));
     this.GCodeSurface               = ((System.Windows.Controls.DrawingSurface)(this.FindName("GCodeSurface")));
     this.rotateUpButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("rotateUpButtonGCode")));
     this.rotateLeftButtonGCode      = ((System.Windows.Controls.Button)(this.FindName("rotateLeftButtonGCode")));
     this.rotateRightButtonGCode     = ((System.Windows.Controls.Button)(this.FindName("rotateRightButtonGCode")));
     this.rotateDownButtonGCode      = ((System.Windows.Controls.Button)(this.FindName("rotateDownButtonGCode")));
     this.moveUpButtonGCode          = ((System.Windows.Controls.Button)(this.FindName("moveUpButtonGCode")));
     this.moveLeftButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("moveLeftButtonGCode")));
     this.moveRightButtonGCode       = ((System.Windows.Controls.Button)(this.FindName("moveRightButtonGCode")));
     this.moveDownButtonGCode        = ((System.Windows.Controls.Button)(this.FindName("moveDownButtonGCode")));
     this.zoomButtonGCode            = ((System.Windows.Controls.Button)(this.FindName("zoomButtonGCode")));
     this.unZoomButtonGCode          = ((System.Windows.Controls.Button)(this.FindName("unZoomButtonGCode")));
     this.gcode_Filelist             = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcode_Filelist")));
     this.min_Slider                 = ((System.Windows.Controls.Slider)(this.FindName("min_Slider")));
     this.max_Slider                 = ((System.Windows.Controls.Slider)(this.FindName("max_Slider")));
     this.bottomLayer_TextBlock      = ((System.Windows.Controls.TextBlock)(this.FindName("bottomLayer_TextBlock")));
     this.topLayer_TextBlock         = ((System.Windows.Controls.TextBlock)(this.FindName("topLayer_TextBlock")));
     this.GCode_TextPivot            = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("GCode_TextPivot")));
     this.gcodeScroller              = ((System.Windows.Controls.ScrollViewer)(this.FindName("gcodeScroller")));
     this.gcodePanel                 = ((System.Windows.Controls.StackPanel)(this.FindName("gcodePanel")));
     this.gcodetext_Filelist         = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcodetext_Filelist")));
     this.ControlPivot               = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("ControlPivot")));
     this.print_Button               = ((System.Windows.Controls.Button)(this.FindName("print_Button")));
     this.printing_ProgressBar       = ((System.Windows.Controls.ProgressBar)(this.FindName("printing_ProgressBar")));
     this.printing_TextBlock         = ((System.Windows.Controls.TextBlock)(this.FindName("printing_TextBlock")));
     this.x_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("x_Radiobutton")));
     this.y_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("y_Radiobutton")));
     this.z_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("z_Radiobutton")));
     this.e_Radiobutton              = ((System.Windows.Controls.RadioButton)(this.FindName("e_Radiobutton")));
     this.distance_Textbox           = ((System.Windows.Controls.TextBox)(this.FindName("distance_Textbox")));
     this.up_Button                  = ((System.Windows.Controls.Button)(this.FindName("up_Button")));
     this.down_Button                = ((System.Windows.Controls.Button)(this.FindName("down_Button")));
     this.distance_Textblock         = ((System.Windows.Controls.TextBlock)(this.FindName("distance_Textblock")));
     this.xhome_Button               = ((System.Windows.Controls.Button)(this.FindName("xhome_Button")));
     this.yhome_Button               = ((System.Windows.Controls.Button)(this.FindName("yhome_Button")));
     this.zhome_Button               = ((System.Windows.Controls.Button)(this.FindName("zhome_Button")));
     this.allhome_Button             = ((System.Windows.Controls.Button)(this.FindName("allhome_Button")));
     this.home_Textblock             = ((System.Windows.Controls.TextBlock)(this.FindName("home_Textblock")));
     this.emergencystop_Button       = ((System.Windows.Controls.Button)(this.FindName("emergencystop_Button")));
     this.speed_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("speed_Textbox")));
     this.speed_Textblock            = ((System.Windows.Controls.TextBlock)(this.FindName("speed_Textblock")));
     this.heat_Checkbox              = ((System.Windows.Controls.CheckBox)(this.FindName("heat_Checkbox")));
     this.temperature_Textbox        = ((System.Windows.Controls.TextBox)(this.FindName("temperature_Textbox")));
     this.temperatureTitle_Textblock = ((System.Windows.Controls.TextBlock)(this.FindName("temperatureTitle_Textblock")));
     this.gcode_Textbox              = ((System.Windows.Controls.TextBox)(this.FindName("gcode_Textbox")));
     this.gcode_Textblock            = ((System.Windows.Controls.TextBlock)(this.FindName("gcode_Textblock")));
     this.temperature_Textblock      = ((System.Windows.Controls.TextBlock)(this.FindName("temperature_Textblock")));
     this.eta_TextBlock              = ((System.Windows.Controls.TextBlock)(this.FindName("eta_TextBlock")));
     this.gcodeprint_Filelist        = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("gcodeprint_Filelist")));
     this.ConnectionPivot            = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("ConnectionPivot")));
     this.device_Listpicker          = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("device_Listpicker")));
     this.connect_Button             = ((System.Windows.Controls.Button)(this.FindName("connect_Button")));
     this.comlog_Stackpanel          = ((System.Windows.Controls.StackPanel)(this.FindName("comlog_Stackpanel")));
     this.SettingsPivot              = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("SettingsPivot")));
     this.SettingStackPanel          = ((System.Windows.Controls.StackPanel)(this.FindName("SettingStackPanel")));
     this.FilesPivot                 = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("FilesPivot")));
     this.FilesScroller              = ((System.Windows.Controls.ScrollViewer)(this.FindName("FilesScroller")));
     this.stlFiles_StackPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("stlFiles_StackPanel")));
     this.gcodeFiles_StackPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("gcodeFiles_StackPanel")));
 }