code/Dashboard.php
public function ConfigureForm() {
		$form = Form::create(
			$this,
			"ConfigureForm",
			$this->panel->getConfiguration(),
			FieldList::create(
				FormAction::create("saveConfiguration",_t('Dashboard.SAVE','Save'))
					->setUseButtonTag(true)
					->addExtraClass('ss-ui-action-constructive'),
				FormAction::create("cancel",_t('Dashboard.CANCEL','Cancel'))
					->setUseButtonTag(true)
			)
		);
		$form->loadDataFrom($this->panel);
		$form->setHTMLID("Form_ConfigureForm_".$this->panel->ID);
		$form->addExtraClass("configure-form");
		return $form;
	}
public function ConfigureForm() {
		$form = Form::create(
			$this,
			"ConfigureForm",
			$this->panel->getConfiguration(),
			FieldList::create(
				FormAction::create("saveConfiguration",_t('Dashboard.SAVE','Save'))
					->setUseButtonTag(true)
					->addExtraClass('ss-ui-action-constructive'),
				FormAction::create("cancel",_t('Dashboard.CANCEL','Cancel'))
					->setUseButtonTag(true)
			)
		);
		$form->loadDataFrom($this->panel);
		$form->setHTMLID("Form_ConfigureForm_".$this->panel->ID);
		$form->addExtraClass("configure-form");
		return $form;
	}
Gets the configuration form for this panel and handles the form input

@return Form