Exemple #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CapGUI;component/TabPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.tempDragDrop = ((CapGUI.EditorDragDropTarget)(this.FindName("tempDragDrop")));
     this.tempListBox = ((System.Windows.Controls.ListBox)(this.FindName("tempListBox")));
     this.returnType = ((System.Windows.Controls.ComboBox)(this.FindName("returnType")));
     this.parDragDrop = ((CapGUI.VariableStructureDragDropTarget)(this.FindName("parDragDrop")));
     this.parameterBox = ((System.Windows.Controls.ListBox)(this.FindName("parameterBox")));
     this.returnDragDrop = ((CapGUI.VariableStructureDragDropTarget)(this.FindName("returnDragDrop")));
     this.returnBox = ((System.Windows.Controls.ListBox)(this.FindName("returnBox")));
     this.addParamBtn = ((ButtonControlLibrary.MyButton)(this.FindName("addParamBtn")));
     this.deleteParamBtn = ((ButtonControlLibrary.MyButton)(this.FindName("deleteParamBtn")));
 }
 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")));
 }