示例#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")));
 }
示例#2
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")));
 }