コード例 #1
0
ファイル: Main.cs プロジェクト: nathantownsend/DALAPI
        /// <summary>
        /// Loads the solution editor to edit an existing solution
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EditSolution_Click(object sender, EventArgs e)
        {
            _settings.LastSelectedApplicationId = _solutionId.Value;
            ClientData.SaveSettings(_settings);

            SolutionDetails details = new SolutionDetails(_solutionId.Value);
            details.SolutionDeleted += details_SolutionDeleted;
            details.Show();
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: nathantownsend/DALAPI
 /// <summary>
 /// Loads the solution editor to create a new solution
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddNew_Click(object sender, EventArgs e)
 {
     SolutionDetails details = new SolutionDetails();
     details.SolutionCreated += details_SolutionCreated;
     details.Show();
 }