//# __________ 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;
 }
Ejemplo n.º 3
0
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.CenterControl = MakeSummaryArea();
     tb.BottomControl = MakeOkButton();
     return tb;
 }
Ejemplo n.º 4
0
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.CenterControl = MakeInputPanel();
     tb.BottomControl = MakeTwinButton();
     return tb;
 }
Ejemplo n.º 5
0
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwTopBottomLayout p = new JwTopBottomLayout();
     p.CenterControl = MakeInputArea();
     p.BottomControl = MakeNavigationButtons();
     return p;
 }
Ejemplo n.º 6
0
 //# __________ 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;
 }
Ejemplo n.º 8
0
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.TopControl    = MakeNestSummary();
     tb.CenterControl = MakeItemListBox();
     tb.BottomControl = MakeOkButton();
     return tb;
 }
Ejemplo n.º 9
0
 //# __________ 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;
 }
Ejemplo n.º 10
0
        //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
        public override Control MakeBody()
        {
            JwTopBottomLayout tb = new JwTopBottomLayout();
            tb.TopControl = MakeTagSubpanel();
            tb.CenterControl = MakeItemListBox();
            tb.BottomControl = MakeNavigationPanel();

            return tb;
        }
Ejemplo n.º 11
0
        //# __________ 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;
        }
Ejemplo n.º 12
0
 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;
 }
Ejemplo n.º 13
0
 //# __________ 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;
 }
Ejemplo n.º 14
0
 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;
 }
Ejemplo n.º 17
0
 public override Control MakeBody()
 {
     JwTopBottomLayout p = new JwTopBottomLayout();
     p.CenterControl = CreateCenterControl();
     p.BottomControl = CreateBottomControl();
     return p;
 }
Ejemplo n.º 18
0
 //# __________ PROTOCOL :: PRIVATE __________ #//
 public Control CreateCenterControl()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.TopControl = MakeEnterTrainingModeLabel();
     tb.CenterControl = CreateInfoPanel();
     return tb;
 }
Ejemplo n.º 19
0
 //# __________ 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;
 }
Ejemplo n.º 21
0
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.CenterControl = MakeButtonPanel();
     tb.BottomControl = MakeNestDestinationNotePanel();
     return tb;
 }
Ejemplo n.º 22
0
        //# __________ 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;
        }
Ejemplo n.º 23
0
 public Control MakeTopControl()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.CenterControl = MakeSearchArea();
     return tb;
 }
Ejemplo n.º 24
0
        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;
        }
Ejemplo n.º 25
0
 public Control MakeSummaryArea()
 {
     JwTopBottomLayout tb = new JwTopBottomLayout();
     tb.TopControl    = MakeItemSummmary();
     tb.CenterControl = MakeNestListBox();
     return tb;
 }
Ejemplo n.º 26
0
 //# __________ PROTOCOL :: INITIALIZE (TOP BAR) __________ #//
 public Panel MakeTopBar()
 {
     JwTopBottomLayout p = new JwTopBottomLayout();
     p.TopControl = MakeLogoBar();
     p.CenterControl = MakeCenterControl();
     p.BottomControl = MakeInstructionsArea();
     return p;
 }
Ejemplo n.º 27
0
        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;
        }
Ejemplo n.º 28
0
        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));
        }