Beispiel #1
0
        private void ChangeModel(object sender, EventArgs e)
        {
            var dialog = new FormChangeModel(sceneView4.Camera);

            if (DialogResult.OK != dialog.ShowDialog())
            {
                return;
            }
            if (null == dialog.SelectedModel)
            {
                return;
            }
            CurrentDrawable = dialog.SelectedModel;
        }
Beispiel #2
0
        private void ChangeModel(object sender, EventArgs e)
        {
            var dialog = new FormChangeModel();

            if (DialogResult.OK != dialog.ShowDialog())
            {
                return;
            }
            if (null == dialog.SelectedModel)
            {
                return;
            }
            Model = dialog.SelectedModel;
        }