private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                controller.Connect(ipBox.Text, usernameBox.Text, passwordBox.Text);
                //ContentBox.ReadOnly = false;
                //this.ActiveControl = ContentBox;

                ipBox.Visible   = false;
                label5.Visible  = false;
                button1.Visible = false;

                usernameBox.Visible = true;
                passwordBox.Visible = true;
                label3.Visible      = true;
                label4.Visible      = true;
                listBox1.Visible    = true;


                filenameBox.Visible    = true;
                filenamebutton.Visible = true;
                newfilename.Visible    = true;

                //spreadsheetPanel1.SelectionChanged += OnSelectionChanged;
                //// Set the current cell in the panel to A1
                // spreadsheetPanel1.SetSelection(0, 0);
                //// Update the view of the panel
                //  OnSelectionChanged(spreadsheetPanel1);
            }
            catch (Exception)
            {
                ContentBox.ReadOnly = true;
            }
        }