Пример #1
0
 private void connectionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (formLogin == null || formLogin.IsDisposed)
     {
         formLogin = new DatabaseLoginForm(ref bindingSource);
     }
     ShowForm(formLogin);
 }
Пример #2
0
        public SolidSBCResultViewer()
        {
            InitializeComponent();

            SetStatusText("connecting to database...");

            formLogin = new DatabaseLoginForm(ref bindingSource);
            formLogin.LoggedInEvent += new DatabaseLoginForm.LoggedInHandler(LoggedInHandler);
            ShowForm(formLogin);
        }