Пример #1
0
 //# __________ PROTOCOL :: VARIABLES __________ #//
 //# __________ PROTOCOL :: FRAMEWORK (BODY) __________ #//
 public override Control MakeBody()
 {
     JwHorizontalBreakingLayout hbl = new JwHorizontalBreakingLayout();
     hbl.Add(MakeItemPictureButton());
     hbl.Add(MakeNestPictureButton());
     return hbl;
 }
Пример #2
0
 public Control MakeButtons()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.Add( MakeItemButton());
     p.Add( MakeNestButton());
     return p;
 }
Пример #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
 //# __________ 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;
 }
Пример #5
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;
 }
Пример #6
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;
 }
Пример #7
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;
 }
Пример #8
0
 public Control MakeNavigationPanel()
 {
     JwHorizontalBreakingLayout p = new JwHorizontalBreakingLayout();
     p.Add(MakeDoneButton());
     if( VmProperties.Default.ShouldAllowMistakeFix() )
         p.Add(MakeScanMistakeButton());
     return p;
 }