示例#1
0
        /// <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);
            }
        }
示例#2
0
 private void FormMain_Load(object sender, EventArgs e)
 {
     FormLoaded?.Invoke();
 }
示例#3
0
 private void LoginForm_Load(object sender, EventArgs e)
 {
     FormLoaded?.Invoke(sender, e);
     cmbTradeFrontSvr.SelectedIndex = -1;
 }
示例#4
0
 private void FormQuizSolver_Load(object sender, EventArgs e)
 {
     FormLoaded?.Invoke();
 }
示例#5
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     FormLoaded?.Invoke(this, e);
 }
示例#6
0
 public void Raise_FormLoaded()
 {
     FormLoaded.Invoke(this, new EventArgs());
 }