Exemple #1
0
 private void OnfunctionFormClosed(object sender, FormClosedEventArgs e)
 {
     AddFunctionform.Dispose();
     AddFunctionform = null;
     UpdateFunctionList();
     // Update current form
 }
Exemple #2
0
        /// <summary>
        ///  Add & delete functions related
        /// </summary>

        private void btn_addfunction_Click(object sender, EventArgs e)
        {
            AddFunctionform             = new PCCDAddFunction(listOfFunctions);
            AddFunctionform.FormClosed += OnfunctionFormClosed;
            AddFunctionform.Show();
        }