예제 #1
0
 public Control MakeButtons()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.Add( MakeItemButton());
     p.Add( MakeNestButton());
     return p;
 }
예제 #2
0
 //# __________ PROTOCOL :: VARIABLES __________ #//
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwHorizontalBreakingLayout hbl = new JwHorizontalBreakingLayout();
     hbl.Add(MakeItemPictureButton());
     hbl.Add(MakeNestPictureButton());
     return hbl;
 }
예제 #3
0
 //# __________ PROTOCOL :: PRIVATE (BUTTON PANEL) __________ #//
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     p.Add(MakeTakeHandoverButton());
     p.Add(MakeGiveHandoverButton());
     p.ResumeLayout(false);
     return p;
 }
예제 #4
0
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( Engine.ShouldOfferMix() )                   AddMixedNestButton(p);
     if( Engine.ShouldOfferSortManyDestinations() )  AddSortManyDestinationsButton(p);
     if( Engine.ShouldOfferSortOneDestination() )    AddSortOneDestinationButton(p);
     p.ResumeLayout(false);
     return p;
 }
예제 #5
0
 //# __________ PROTOCOL :: FRAMEWORK __________ #//
 public override Control MakeBody()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     SuspendLayout();
     if (ShouldAllowScan() )
         p.Add(MakeScanPB());
     if( VmProperties.Default.ShouldAllowNestIdentifyKnown() )
         p.Add(MakeOnDevicePB());
     ResumeLayout(false);
     return p;
 }
예제 #6
0
 //# __________ PROTOCOL :: PRIVATE (BUTTON PANEL) __________ #//
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( Engine.AllowScanItem() )        p.Add(MakeScanItemButton());
     if( Engine.AllowScanNest() )        p.Add(MakeScanNestButton());
     if( Engine.AllowScanDelegate() )    p.Add(MakeScanDelegateButton());
     if( Engine.AllowScanMixed() )       p.Add(MakeScanMixedButton());
     if( Engine.AllowRecordFlight() )    p.Add(MakeRecordFlightButton());
     p.ResumeLayout(false);
     return p;
 }
예제 #7
0
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( VmProperties.Default.ShouldAllowNestItemAdd())      p.Add(MakeAddItemToNestButton());
     if( VmProperties.Default.ShouldAllowNestItemRemove())   p.Add(MakeRemoveItemFromNestButton());
     if( VmProperties.Default.ShouldAllowNestNestAdd())      p.Add(MakeAddNestToNestButton());
     if( VmProperties.Default.ShouldAllowNestNestRemove())   p.Add(MakeRemoveNestFromNestButton());
     if( VmProperties.Default.ShouldAllowNestMoveItems())    p.Add(MakeMoveItemsButton());
     if( VmProperties.Default.ShouldAllowNestTopOff() )      p.Add(MakeTopOffNestButton());
     if( VmProperties.Default.ShouldAllowNestBreak())        p.Add(MakeBreakNestButton());
     if( VmProperties.Default.ShouldAllowNestView())         p.Add(MakeViewAllNestsButton());
     p.ResumeLayout(false);
     return p;
 }
예제 #8
0
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( Engine.MayUseUld() )                    AddUldButton(p);
     if( Engine.MayUseCart() )                   AddCartButton(p);
     if( Engine.MayUseContainer() )              AddContainerButton(p);
     if( Engine.MayUseVirtual() )                AddVirtualButton(p);
     if( Engine.MayUseFlight() )                 AddFlightButton(p);
     if( Engine.MayUseFlightDestination() )      AddFlightDestinationButton(p);
     p.ResumeLayout(false);
     return p;
 }
예제 #9
0
 //# __________ PROTOCOL :: PRIVATE (BUTTON PANEL) __________ #//
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( VmProperties.Default.ShouldAllowReceive())                  p.Add(MakeReceivePictureButton());
     if( VmProperties.Default.ShouldAllowReceiveFromTruck())         p.Add(MakeReceiveFromTruckPictureButton());
     if( VmProperties.Default.ShouldAllowLoad())                     p.Add(MakeLoadPictureButton());
     if( VmProperties.Default.ShouldAllowDeliver())                  p.Add(MakeDeliverPictureButton());
     AddHandoverButton(p);
     if( VmProperties.Default.ShouldAllowNest())         p.Add(MakeNestPictureButton());
     if( VmProperties.Default.ShouldAllowSynchronize())  p.Add(MakeSynchronizePictureButton());
     //            p.Add(MakeExitPictureButton());
     p.ResumeLayout(false);
     return p;
 }
예제 #10
0
 public Control MakeNavigationPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.Add(MakeDoneButton());
     if( VmProperties.Default.ShouldAllowMistakeFix() )
         p.Add(MakeScanMistakeButton());
     return p;
 }
 public Panel MakeButtonPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.SuspendLayout();
     if( Engine.MayIdentifyByName() )                    AddRecordNestButton(p);
     if( Engine.WillAllowLoose() )                       AddLooseButton(p);
     if( Engine.MayIdentifyByChoosingKnownNest() )       AddKnownButton(p);
     if( Engine.MayIdentifyByFloorNest() )               AddFloorNestButton(p);
     if( Engine.MayIdentifyByDelegate() )                AddDelegateButton(p);
     p.ResumeLayout(false);
     return p;
 }