if (`window -ex ExampleWindow1`)
deleteUI ExampleWindow1;
window ExampleWindow1;
columnLayout;
button -label "Button 1";
button -l "Button 2";
rowColumnLayout -numberOfColumns 2;
text -label "Name:";
textField;
text -l "City:";
textField;
//setParent ..;
checkBox -l "Lights ";
checkBox -l "Camera ";
checkBox -l "Action ";
showWindow ExampleWindow1;
if (`window -ex ExampleWindow1`)
deleteUI ExampleWindow1;
window ExampleWindow1;
columnLayout;
button -label "Button 1";
button -l "Button 2";
rowColumnLayout -numberOfColumns 2;
text -label "Name:";
textField;
text -l "City:";
textField;
setParent ..;
checkBox -l "Lights ";
checkBox -l "Camera ";
checkBox -l "Action ";
showWindow ExampleWindow1;