コード例 #1
0
        /// <summary>
        /// Handles the Click event of the btn_CurrProjCritStruShow control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        /// Erstellt von Veit Berg, am 27.01.16

        /*private void btn_CurrProjCritStruShow_Click(object sender, EventArgs e)
         * {
         *  try{
         *  ProjCritShow_View ProjCritShow = new ProjCritShow_View();
         *  ProjCritShow.Show();
         *  }
         *  catch (Exception x)
         *  {
         *      MessageBox.Show("Ups da lief was schief");
         *  }
         * }*/

        /// <summary>
        /// Handles the Click event of the btn_CurrProjCritStruUpdate control.
        /// Öffnet die Maske der Kriterienstruktur
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        /// Erstellt von Veit Berg, am 27.01.16
        private void btn_CurrProjCritStruUpdate_Click(object sender, EventArgs e)
        {
            try
            {
                ProjCritStruUpdate_View ProjCritStruUpdate = new ProjCritStruUpdate_View(this, Project.Project_Id);
                ProjCritStruUpdate.Show();
                Hide();
            }
            catch (Exception x)
            {
                MessageBox.Show(x.Message);
            }
        }
コード例 #2
0
 /// <summary>
 /// Handles the Click event of the btn_CurrProjCritStruShow control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 /// Erstellt von Veit Berg, am 27.01.16
 /*private void btn_CurrProjCritStruShow_Click(object sender, EventArgs e)
 {
     try{
     ProjCritShow_View ProjCritShow = new ProjCritShow_View();
     ProjCritShow.Show();
     }
     catch (Exception x)
     {
         MessageBox.Show("Ups da lief was schief");
     }
 }*/
 /// <summary>
 /// Handles the Click event of the btn_CurrProjCritStruUpdate control.
 /// Öffnet die Maske der Kriterienstruktur 
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 /// Erstellt von Veit Berg, am 27.01.16
 private void btn_CurrProjCritStruUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         ProjCritStruUpdate_View ProjCritStruUpdate = new ProjCritStruUpdate_View(this, Project.Project_Id);
         ProjCritStruUpdate.Show();
         Hide();
     }
     catch (Exception x)
     {
         MessageBox.Show(x.Message);
     }
 }