Beispiel #1
0
 private void vIewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Usermanager.Connection.CurrentUser.Database != null)
     {
         var form = new NewView(tool, Usermanager);
         form.Show();
     }
     else
     {
         MessageBox.Show("You must Login to a Database", "Error!", MessageBoxButtons.OK,
                         MessageBoxIcon.Error);
     }
 }
Beispiel #2
0
    public static void OpenWindow()
    {
        NewView view = new NewView();

        view.Show();
    }