예제 #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;
        }
예제 #2
0
파일: Form1.cs 프로젝트: xittz/compGraph
        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;
        }