private void EditSceneBT_Click(object sender, EventArgs e) { if (InputControler.ControlOwnForm(sceneOutput.Text, imageOutput.Text, sceneWidth.Text, sceneHeight.Text, superSamples.Text, lightSamples.Text, indirectLightSamples.Text, recursionDepth.Text, true)) { Close(); } }
private void SaveOwnSceneBT_Click(object sender, EventArgs e) { if (InputControler.ControlOwnForm(sceneOutput.Text, imageOutput.Text, sceneWidth.Text, sceneHeight.Text, superSamples.Text, lightSamples.Text, indirectLightSamples.Text, recursionDepth.Text, false)) { ImageControler.FileManipulator.SaveSceneToXML(); Close(); } }