/// <summary>
 /// Handle configure button click
 /// </summary>
 /// <param name="sender">sender</param>
 /// <param name="e">attributes</param>
 private void Configure_Click(object sender, EventArgs e)
 {
     using (ConfigureForm frm = new ConfigureForm())
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             foreach (IHandler Handler in m_handlers)
             {
                 Handler.OnConfigurationChanged(this, EventArgs.Empty);
             }
         }
     }
 }
Beispiel #2
0
        private void Configure_Click(object sender, EventArgs e)
        {
            using (var frm = new ConfigureForm())
            {
                if (frm.ShowDialog() != DialogResult.OK)
                {
                    return;
                }

                foreach (var handler in _handlers)
                {
                    handler.OnConfigurationChanged(this, EventArgs.Empty);
                }
            }
        }
		/// <summary>
		/// Handle configure button click 
		/// </summary>
		/// <param name="sender">sender</param>
		/// <param name="e">attributes</param>
		private void Configure_Click(object sender, EventArgs e)
		{
			using (var frm = new ConfigureForm())
			{
				if (frm.ShowDialog() != DialogResult.OK)
					return;

				foreach (var handler in _handlers)
					handler.OnConfigurationChanged(this, EventArgs.Empty);
			}
		}
 /// <summary>
 /// Handle configure button click 
 /// </summary>
 /// <param name="sender">sender</param>
 /// <param name="e">attributes</param>
 private void Configure_Click(object sender, EventArgs e)
 {
     using (ConfigureForm frm = new ConfigureForm())
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             foreach (IHandler Handler in m_handlers)
             {
                 Handler.OnConfigurationChanged(this, EventArgs.Empty);
             }
         }
     }
 }