EpiComboChanged Triggering on Form Load?

I am attempting to trigger some code to execute when a EpiCombo value changes…

this.ProjectID.EpiComboChanged += new Ice.Lib.Framework.EpiComboChanged(this.ProjectID_EpiComboChanged);

I was under the impression that the above code would call “this.ProjectID_EpiComboChanged” when the EpiCombo ProjectID changed… But the code is always executing, without the user changing the EpiCombo value - for example, when the UI loads…

For example, if I reduce the function to:

private void ProjectID_EpiComboChanged(object sender, System.EventArgs args)
{
MessageBox.Show("Hi I just opened this UI");
}

I get a MessageBox when I open the SO Entry form… What?!

How do I craft this so that it only triggers when appropriate - ie when the user selects a new EpiCombo value?

I would move the logic to After or Before field change. Take advantage of the Epimagic here and work on the data, not the control.

Worked like a charm, thanks.

Please mark Jose’s post as the solution.