Esempio n. 1
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;
 }
 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;
 }
Esempio n. 3
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;
 }
Esempio n. 4
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;
 }
 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;
 }
Esempio n. 6
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;
 }
 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;
 }