예제 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CapGUI;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.roboGrid          = ((System.Windows.Controls.Grid)(this.FindName("roboGrid")));
     this.roboLoadBtn       = ((ButtonControlLibrary.MyButton)(this.FindName("roboLoadBtn")));
     this.robotPalette      = ((System.Windows.Controls.ListBox)(this.FindName("robotPalette")));
     this.blockGrid         = ((System.Windows.Controls.Grid)(this.FindName("blockGrid")));
     this.blockPalette      = ((System.Windows.Controls.ListBox)(this.FindName("blockPalette")));
     this.variableGrid      = ((System.Windows.Controls.Grid)(this.FindName("variableGrid")));
     this.createVariableBtn = ((ButtonControlLibrary.MyButton)(this.FindName("createVariableBtn")));
     this.deleteVariableBtn = ((ButtonControlLibrary.MyButton)(this.FindName("deleteVariableBtn")));
     this.variablePalette   = ((System.Windows.Controls.ListBox)(this.FindName("variablePalette")));
     this.methodGrid        = ((System.Windows.Controls.Grid)(this.FindName("methodGrid")));
     this.createMethodBtn   = ((ButtonControlLibrary.MyButton)(this.FindName("createMethodBtn")));
     this.deleteMethodBtn   = ((ButtonControlLibrary.MyButton)(this.FindName("deleteMethodBtn")));
     this.methodPalette     = ((System.Windows.Controls.ListBox)(this.FindName("methodPalette")));
     this.editorPanelGrid   = ((System.Windows.Controls.Grid)(this.FindName("editorPanelGrid")));
     this.editorPanel       = ((System.Windows.Controls.StackPanel)(this.FindName("editorPanel")));
     this.editorTabControl  = ((ExtendedTabControl.ExtendedTabControl)(this.FindName("editorTabControl")));
     this.editorMain        = ((System.Windows.Controls.TabItem)(this.FindName("editorMain")));
     this.editorDragDrop    = ((CapGUI.EditorDragDropTarget)(this.FindName("editorDragDrop")));
     this.editorPalette     = ((System.Windows.Controls.ListBox)(this.FindName("editorPalette")));
     this.exCodeBtn         = ((ButtonControlLibrary.MyButton)(this.FindName("exCodeBtn")));
     this.btnLabel          = ((System.Windows.Controls.TextBlock)(this.FindName("btnLabel")));
     this.sendCodeBtn       = ((ButtonControlLibrary.MyButton)(this.FindName("sendCodeBtn")));
     this.loadProgramBtn    = ((ButtonControlLibrary.MyButton)(this.FindName("loadProgramBtn")));
     this.saveBtn           = ((ButtonControlLibrary.MyButton)(this.FindName("saveBtn")));
     this.runSimBtn         = ((ButtonControlLibrary.MyButton)(this.FindName("runSimBtn")));
     this.trashGrid         = ((System.Windows.Controls.Grid)(this.FindName("trashGrid")));
     this.errorMsg          = ((System.Windows.Controls.TextBlock)(this.FindName("errorMsg")));
     this.trashImage        = ((System.Windows.Controls.Image)(this.FindName("trashImage")));
     this.clearBtn          = ((ButtonControlLibrary.MyButton)(this.FindName("clearBtn")));
     this.trashDragDrop     = ((CapGUI.TrashDragDropTarget)(this.FindName("trashDragDrop")));
     this.trash             = ((System.Windows.Controls.ListBox)(this.FindName("trash")));
 }
예제 #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CapGUI;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.roboGrid = ((System.Windows.Controls.Grid)(this.FindName("roboGrid")));
     this.roboLoadBtn = ((ButtonControlLibrary.MyButton)(this.FindName("roboLoadBtn")));
     this.robotPalette = ((System.Windows.Controls.ListBox)(this.FindName("robotPalette")));
     this.blockGrid = ((System.Windows.Controls.Grid)(this.FindName("blockGrid")));
     this.blockPalette = ((System.Windows.Controls.ListBox)(this.FindName("blockPalette")));
     this.variableGrid = ((System.Windows.Controls.Grid)(this.FindName("variableGrid")));
     this.createVariableBtn = ((ButtonControlLibrary.MyButton)(this.FindName("createVariableBtn")));
     this.deleteVariableBtn = ((ButtonControlLibrary.MyButton)(this.FindName("deleteVariableBtn")));
     this.variablePalette = ((System.Windows.Controls.ListBox)(this.FindName("variablePalette")));
     this.methodGrid = ((System.Windows.Controls.Grid)(this.FindName("methodGrid")));
     this.createMethodBtn = ((ButtonControlLibrary.MyButton)(this.FindName("createMethodBtn")));
     this.deleteMethodBtn = ((ButtonControlLibrary.MyButton)(this.FindName("deleteMethodBtn")));
     this.methodPalette = ((System.Windows.Controls.ListBox)(this.FindName("methodPalette")));
     this.editorPanelGrid = ((System.Windows.Controls.Grid)(this.FindName("editorPanelGrid")));
     this.editorPanel = ((System.Windows.Controls.StackPanel)(this.FindName("editorPanel")));
     this.editorTabControl = ((ExtendedTabControl.ExtendedTabControl)(this.FindName("editorTabControl")));
     this.editorMain = ((System.Windows.Controls.TabItem)(this.FindName("editorMain")));
     this.editorDragDrop = ((CapGUI.EditorDragDropTarget)(this.FindName("editorDragDrop")));
     this.editorPalette = ((System.Windows.Controls.ListBox)(this.FindName("editorPalette")));
     this.exCodeBtn = ((ButtonControlLibrary.MyButton)(this.FindName("exCodeBtn")));
     this.btnLabel = ((System.Windows.Controls.TextBlock)(this.FindName("btnLabel")));
     this.sendCodeBtn = ((ButtonControlLibrary.MyButton)(this.FindName("sendCodeBtn")));
     this.loadProgramBtn = ((ButtonControlLibrary.MyButton)(this.FindName("loadProgramBtn")));
     this.saveBtn = ((ButtonControlLibrary.MyButton)(this.FindName("saveBtn")));
     this.runSimBtn = ((ButtonControlLibrary.MyButton)(this.FindName("runSimBtn")));
     this.trashGrid = ((System.Windows.Controls.Grid)(this.FindName("trashGrid")));
     this.errorMsg = ((System.Windows.Controls.TextBlock)(this.FindName("errorMsg")));
     this.trashImage = ((System.Windows.Controls.Image)(this.FindName("trashImage")));
     this.clearBtn = ((ButtonControlLibrary.MyButton)(this.FindName("clearBtn")));
     this.trashDragDrop = ((CapGUI.TrashDragDropTarget)(this.FindName("trashDragDrop")));
     this.trash = ((System.Windows.Controls.ListBox)(this.FindName("trash")));
 }
예제 #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CapGUI;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.roboGrid = ((System.Windows.Controls.Grid)(this.FindName("roboGrid")));
     this.robotPalette = ((System.Windows.Controls.ListBox)(this.FindName("robotPalette")));
     this.blockGrid = ((System.Windows.Controls.Grid)(this.FindName("blockGrid")));
     this.blockPalette = ((System.Windows.Controls.ListBox)(this.FindName("blockPalette")));
     this.variableGrid = ((System.Windows.Controls.Grid)(this.FindName("variableGrid")));
     this.createVariableBtn = ((System.Windows.Controls.Button)(this.FindName("createVariableBtn")));
     this.editVariableBtn = ((System.Windows.Controls.Button)(this.FindName("editVariableBtn")));
     this.variablePalette = ((System.Windows.Controls.ListBox)(this.FindName("variablePalette")));
     this.methodGrid = ((System.Windows.Controls.Grid)(this.FindName("methodGrid")));
     this.createMethodBtn = ((System.Windows.Controls.Button)(this.FindName("createMethodBtn")));
     this.editMethodBtn = ((System.Windows.Controls.Button)(this.FindName("editMethodBtn")));
     this.methodPalette = ((System.Windows.Controls.ListBox)(this.FindName("methodPalette")));
     this.editorPanel = ((System.Windows.Controls.StackPanel)(this.FindName("editorPanel")));
     this.editorTabControl = ((System.Windows.Controls.TabControl)(this.FindName("editorTabControl")));
     this.editorMain = ((System.Windows.Controls.TabItem)(this.FindName("editorMain")));
     this.editorDragDrop = ((CapGUI.EditorDragDropTarget)(this.FindName("editorDragDrop")));
     this.editorPalette = ((System.Windows.Controls.ListBox)(this.FindName("editorPalette")));
     this.connectToRobotBtn = ((System.Windows.Controls.Button)(this.FindName("connectToRobotBtn")));
     this.loadProgramBtn = ((System.Windows.Controls.Button)(this.FindName("loadProgramBtn")));
     this.runBtn = ((System.Windows.Controls.Button)(this.FindName("runBtn")));
     this.stopBtn = ((System.Windows.Controls.Button)(this.FindName("stopBtn")));
     this.trashGrid = ((System.Windows.Controls.Grid)(this.FindName("trashGrid")));
     this.tblText = ((System.Windows.Controls.TextBlock)(this.FindName("tblText")));
     this.undoBtn = ((System.Windows.Controls.Button)(this.FindName("undoBtn")));
     this.redoBtn = ((System.Windows.Controls.Button)(this.FindName("redoBtn")));
     this.trashImage = ((System.Windows.Controls.Image)(this.FindName("trashImage")));
     this.trashDragDrop = ((CapGUI.TrashDragDropTarget)(this.FindName("trashDragDrop")));
     this.trash = ((System.Windows.Controls.ListBox)(this.FindName("trash")));
     this.infoTabs = ((System.Windows.Controls.TabControl)(this.FindName("infoTabs")));
     this.infoTest = ((System.Windows.Controls.ListBox)(this.FindName("infoTest")));
 }