Exemplo n.º 1
0
        /// <summary>
        /// Обработчик нажатия кнопки "Описание конфигурации"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void configurationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CA_Configuration configur = new CA_Configuration(config);

            configur.FormClosing += (sender1, e1) =>
            {
                config = configur.GetConfig();
            };

            configur.ShowDialog();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Обработчик нажатия кнопки "Описание конфигурации"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void configurationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CA_Configuration configur = new CA_Configuration(config);

            configur.FormClosing += (sender1, e1) =>
            {
                config = configur.GetConfig();
            };

            configur.ShowDialog();
        }