/// <summary> /// Raises the <see cref="E:System.Windows.Forms.Form.Load"/> event. /// </summary> /// <param name="e">An <see cref="T:System.EventArgs"/> that contains the event data.</param> protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (DesignMode) { return; } MapScreenControl.MapChanged += MapScreenControl_MapChanged; MapScreenControl.Disposed += MapScreenControl_Disposed; if (FormLoaded != null) { FormLoaded.Raise(this, e); } }
private void FormMain_Load(object sender, EventArgs e) { FormLoaded?.Invoke(); }
private void LoginForm_Load(object sender, EventArgs e) { FormLoaded?.Invoke(sender, e); cmbTradeFrontSvr.SelectedIndex = -1; }
private void FormQuizSolver_Load(object sender, EventArgs e) { FormLoaded?.Invoke(); }
private void MainForm_Load(object sender, EventArgs e) { FormLoaded?.Invoke(this, e); }
public void Raise_FormLoaded() { FormLoaded.Invoke(this, new EventArgs()); }