private void DefaultControlPanel_Load(object sender, EventArgs e) { SceneItemEditor parent = (SceneItemEditor)Parent; checkBoxPreview.Checked = parent.PreviewItemOnScene; }
private void checkBoxPreview_CheckedChanged(object sender, EventArgs e) { SceneItemEditor parent = (SceneItemEditor)Parent; parent.PreviewItemOnScene = checkBoxPreview.Checked; }