public void loadMainStaff() { rsafile = new RSA_File_manager(); panel1.Controls.Add(rsafile); panel2.Hide(); rsafile.Show(); dt = new DecryptText(); panel1.Controls.Add(dt); dt.Hide(); serverm = new ServerMonitor(); panel1.Controls.Add(serverm); serverm.Hide(); }
private void button2_Click(object sender, EventArgs e) { dt.Show(); rsafile.Hide(); serverm.Hide(); }