//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeText(); tb.BottomControl = MakeNavigationButtons(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeTextArea(); tb.BottomControl = MakeDoneButtonPanel(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeSummaryArea(); tb.BottomControl = MakeOkButton(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeInputPanel(); tb.BottomControl = MakeTwinButton(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout p = new JwTopBottomLayout(); p.CenterControl = MakeInputArea(); p.BottomControl = MakeNavigationButtons(); return p; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeAccountChooser(); tb.BottomControl = MakeOkButton(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeFlightControl(); tb.CenterControl = MakeText(); tb.BottomControl = MakeButtons(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeNestSummary(); tb.CenterControl = MakeItemListBox(); tb.BottomControl = MakeOkButton(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeNestArea(); tb.BottomControl = VmUiBuilder.MakeOkCancelTwinButton( new EventHandler(OkClicked), new EventHandler(CancelClicked)); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeTagSubpanel(); tb.CenterControl = MakeItemListBox(); tb.BottomControl = MakeNavigationPanel(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwVerticalDistributedLayout p = new JwVerticalDistributedLayout(); p.Add(MakeTopControl()); JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = p; tb.BottomControl = MakeNavigationButtons(); return tb; }
public Control MakeItemListBox() { _itemLB = VmUiBuilder.MakeListBox(); _itemLB.DisplayMember = "TagValue"; JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeItemSummmary(); VmUiBuilder.MakeFieldLabel( //kludge (err) language "Items"); tb.CenterControl = _itemLB; return tb; }
//# __________ PROTOCOL :: FRAMEWORK __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeInputArea(); EventHandler okClicked = new EventHandler(OkClicked); _twinButton = VmUiBuilder.MakeOkCancelTwinButton( okClicked, new EventHandler(CancelClicked)); tb.BottomControl = _twinButton; _inputControlManager.AddButton( _twinButton.LeftButton, 4, HandleOk); return tb; }
public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); // tb.TopControl = MakeStartStopPanel(); tb.TopControl = MakeStartButton(); tb.CenterControl = MakeMonitorArea(); tb.BottomControl = MakeDoneButtonPanel(); return tb; }
public Control MakeTopControl() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeWarningText(); return tb; }
public Control MakeTopControl() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeSummaryLabel(); tb.BottomControl = MakeWarningText(); return tb; }
public override Control MakeBody() { JwTopBottomLayout p = new JwTopBottomLayout(); p.CenterControl = CreateCenterControl(); p.BottomControl = CreateBottomControl(); return p; }
//# __________ PROTOCOL :: PRIVATE __________ #// public Control CreateCenterControl() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeEnterTrainingModeLabel(); tb.CenterControl = CreateInfoPanel(); return tb; }
//# __________ PROTOCOL :: PROPERTIES __________ #// //# __________ PROTOCOL :: INITIALIZE COMPONENTS __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeScanArea(); tb.CenterControl = MakeDisplayArea(); tb.BottomControl = MakeNavigationPanel(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeButtonPanel(); tb.BottomControl = GetItemLocationPanel(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeButtonPanel(); tb.BottomControl = MakeNestDestinationNotePanel(); return tb; }
//# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #// public override Control MakeBody() { _scanSubpanel = new VmScanItemSubpanel( this, Engine.ShowNestFlag, Engine.ShouldShowStatistics()); JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = _scanSubpanel; tb.BottomControl = MakeNavigationPanel(); return tb; }
public Control MakeTopControl() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.CenterControl = MakeSearchArea(); return tb; }
public Control MakeAccountCodePanel() { if( ! VmAccountData.Default.HasAccount() ) return null; if( ! VmProperties.Default.ShouldShowAccountCode() ) return null; Color darkishGray = Color.FromArgb(82,82,82); Color borderColor = darkishGray; String value = VmAccountData.Default.Account.Code.ToUpper(); JwTopBottomLayout p = new JwTopBottomLayout(); Font font = new System.Drawing.Font("Arial", 12f, System.Drawing.FontStyle.Bold); JwLabel label = VmUiUtility.MakeLabel(font, value); label.AlignCenter(); label.ForeColor = Color.White; p.BottomControl = label; JwMargin margin = new JwMargin(2, 2, 0, 0); JwEmptyBorder emptyBorder = new JwEmptyBorder(p, margin); JwSolidBorder border = new JwSolidBorder( emptyBorder, 1, borderColor); border.BackColor = VmUiConstants.ORANGISH_BACK_COLOR; return border; }
public Control MakeSummaryArea() { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeItemSummmary(); tb.CenterControl = MakeNestListBox(); return tb; }
//# __________ PROTOCOL :: INITIALIZE (TOP BAR) __________ #// public Panel MakeTopBar() { JwTopBottomLayout p = new JwTopBottomLayout(); p.TopControl = MakeLogoBar(); p.CenterControl = MakeCenterControl(); p.BottomControl = MakeInstructionsArea(); return p; }
public Control MakeNestListBox() { JwHorizontalLayout h = new JwHorizontalLayout(); h.AlignBottom(); // kludge(err) - langauge JwLabel l1 = VmUiBuilder.MakeIdentifierLabel("Nests"); l1.AlignLeft(); h.Add( VmUiBuilder.MakeIdentifierLabel("Nests (")); _nestCountLabel = VmUiBuilder.MakeValueLabel(""); h.Add(_nestCountLabel); JwLabel l2 = VmUiBuilder.MakeIdentifierLabel("):"); l2.AlignLeft(); h.Add(l2); _nestLB = VmUiBuilder.MakeListBox(); _nestLB.DisplayMember = "DisplayNestName"; JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = h; tb.CenterControl = _nestLB; return tb; }
public Control MakeWrappedBody() { Control normalBody = MakeBody(); if( IsScanPanel() ) { JwTopBottomLayout tb = new JwTopBottomLayout(); tb.TopControl = MakeScanArea(); tb.CenterControl = normalBody; _body = tb; } else { _body = normalBody; } return new JwEmptyBorder(_body, new JwMargin(5, 5, 0, 0)); }