示例#1
0
        private void CreateSolution(object sender, EventArgs e)
        {
            var appDialog = new AppDialog {
                Title = "Create a new Solution"
            };
            var result = WindowHelper.ShowModal(appDialog);

            if (result == DialogResult.OK)
            {
                CreateSolution(appDialog.ViewModel);
            }
        }
示例#2
0
        private void CreateSolution(object sender, EventArgs e)
        {
            var appDialog = new AppDialog { Title = "Create a new Solution" };
            var result = WindowHelper.ShowModal(appDialog);

            if (result == DialogResult.OK)
            {
                CreateSolution(appDialog.ViewModel);
            }
        }