예제 #1
0
        private void btn_tcpserversettings_Click(object sender, EventArgs e)
        {
            box_database.Visible   = false;
            box_mailserver.Visible = false;
            box_tcpserver.Visible  = true;

            panel.Controls.Clear();
            TcpServerSettings tcpsettings = new TcpServerSettings();

            tcpsettings.TopLevel = false;

            panel.Controls.Add(tcpsettings);
            tcpsettings.Show();
        }
예제 #2
0
        public Settings()
        {
            InitializeComponent();

            box_database.Visible   = false;
            box_mailserver.Visible = false;
            box_tcpserver.Visible  = true;

            panel.Controls.Clear();
            TcpServerSettings tcpsettings = new TcpServerSettings();

            tcpsettings.TopLevel = false;

            panel.Controls.Add(tcpsettings);
            tcpsettings.Show();
        }