1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

private void hideZoomButtons_button_Click(object sender, EventArgs e)
{
zoomButtonsInBack = !zoomButtonsInBack;
hideZoomButtons_button.Text = zoomButtonsInBack ? "Show Zoom buttons" : "Hide Zoom buttons";
var buttons = new[] { viewUp_button, viewDown_button, viewLeft_button, viewRight_button,
resetZoom_button, size1_button, zoomIn_button, zoomOut_button };
foreach (var b in buttons) if (zoomButtonsInBack) b.SendToBack(); else b.BringToFront();
}

private void hideZoomButtons_button_Click(object sender, EventArgs e)
{
if (zoomButtonsInBack == true)
{
hideZoomButtons_button.Text = "Hide Zoom buttons";
// -- zoom buttons --
viewUp_button.BringToFront();
viewDown_button.BringToFront();
viewLeft_button.BringToFront();
viewRight_button.BringToFront();
resetZoom_button.BringToFront();
size1_button.BringToFront();
zoomIn_button.BringToFront();
zoomOut_button.BringToFront();
zoomButtonsInBack = false;
return;
}
if (zoomButtonsInBack == false)
{
hideZoomButtons_button.Text = "Show Zoom buttons";
// -- zoom buttons --
viewUp_button.SendToBack();
viewDown_button.SendToBack();
viewLeft_button.SendToBack();
viewRight_button.SendToBack();
resetZoom_button.SendToBack();
size1_button.SendToBack();
zoomIn_button.SendToBack();
zoomOut_button.SendToBack();
zoomButtonsInBack = true;
}
}

private void hideZoomButtons_button_Click(object sender, EventArgs e)
{
zoomButtonsInBack = !zoomButtonsInBack;
hideZoomButtons_button.Text = zoomButtonsInBack ? "Show Zoom buttons" : "Hide Zoom buttons";
var buttons = new[] { viewUp_button, viewDown_button, viewLeft_button, viewRight_button,
resetZoom_button, size1_button, zoomIn_button, zoomOut_button };
foreach (var button in buttons)
button[zoomButtonsInBack ? nameof(SendToBack) : nameof(BringToFront)]();
}

The 'jai' programming language was designed in a very reality-based way to solve specific problems that we had when developing very complex software (in our case, video games). We'll demo some features of the language and explain why design decisions were made the way they were.
; 45 moves it about 1 inch right or down
set %AdjInitMenuX 0
set %AdjInitMenuY 0
set %AdjCountMenuX 0
set %AdjCountMenuY 0
set %fastStart #true ;--- added this , if set false script runs normal ----
set %materialSecure UWDDLMD ;--added this , material secure ----
menu setdef fontstyle 0
menu Text lblSelectedBods 150 30 Selected BODs:
menu List Create lstSelectedBods 7 55 283 180
menu Check chkOpenCont 298 58 270 20 #false Pull from Open Containers? ;-- added this
; -- made #false ;- %PullResourcesOpenCont changed to false
menu Check chkFreeShard 298 80 270 20 #false Freeshard? ;-- added this
; -- made #false ;- %freeshard changed to false
menu Check chkFillLBods 298 102 270 20 #true Fill Large Bods?
menu Button btnChooseSecure 298 126 200 28 Choose Secure
menu setprop btnFillAll visible #false
set %readyToGoAll #false
wait 1
if %fastStart = #true ;-- added this
{ ;-- added this
gosub chooseSecure ;-- added this
set #menubutton btnFill_all ;-- added this
} ;-- added this
}
set #lpc 100
return
sub chooseSecure
if %fastStart = #true ;-- added this
{ ;-- added this
set %s7BFTargetedSecure %materialSecure ;-- added this
goto skipThis ;-- added this
}
menu set s7BFMenuStatus Please target your secure:
gosub s7GetTarget
set %s7BFTargetedSecure #result
set %s7BFPackAnimalID N/A
skipThis: ;-- added this
finditem %s7BFTargetedSecure
if #findtype in bo_wn_zgb
Seems to have issues filling the larges, but if i stop and restart, it will add a few smalls to the large and error again



