コード例 #1
0
        private void DefaultControlPanel_Load(object sender, EventArgs e)
        {
            SceneItemEditor parent = (SceneItemEditor)Parent;

            checkBoxPreview.Checked = parent.PreviewItemOnScene;
        }
コード例 #2
0
        private void checkBoxPreview_CheckedChanged(object sender, EventArgs e)
        {
            SceneItemEditor parent = (SceneItemEditor)Parent;

            parent.PreviewItemOnScene = checkBoxPreview.Checked;
        }