protected virtual void OnSelectType(TypeSelectEventArgs e) { if (SelectTypeMsg != null) { SelectTypeMsg(this, e); } }
public void SimulateSelectType() { int type = 0; if (rbSingle.Checked) { type = 1; } else { type = 0; } TypeSelectEventArgs e = new TypeSelectEventArgs(type); OnSelectType(e); }