Example #1
0
        private void fullScreenBtn_Click(object sender, EventArgs e)
        {
            FullScreenView frm = new FullScreenView();

            if (currBot == null)
            {
                return;
            }
            frm.Init(currBot, 0);

            frm.Show();
        }
Example #2
0
        private void openVNCBtn_Click(object sender, EventArgs e)
        {
            FullScreenView frm = new FullScreenView();

            if (currBot == null)
            {
                return;
            }
            if (currBot.ports == "")
            {
                MessageBox.Show("Порт VNC не открыт!");
                return;
            }
            frm.Init(currBot, 1);

            frm.Show();
        }