private void MainForm_Load(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; Cursor.Show(); try { _presenter.Initialize(); _presenter.LoadServers(true); } finally { Cursor.Current = Cursors.Default; Cursor.Hide(); } }
private void MainForm_Shown(object sender, EventArgs e) { if (!_isLoaded) { _isLoaded = true; Cursor.Current = Cursors.WaitCursor; try { _presenter.Initialize(); _presenter.LoadServers(true); } finally { Cursor.Current = Cursors.Default; } } }