Esempio n. 1
0
        private void _connectionForm_ConnectionLost(object sender, EventArgs e)
        {
            _iconPictureBox.Image = new Icon(Resources.EasyConnect, 16, 16).ToBitmap();

            Icon = Resources.Disconnected;
            ParentTabs.RedrawTabs();
        }
Esempio n. 2
0
        private void _connectionForm_Connected(object sender, EventArgs e)
        {
            Icon = ConnectionFactory.GetProtocol(_connection).ProtocolIcon;
            _iconPictureBox.Image = new Icon(Icon, 16, 16).ToBitmap();

            ParentTabs.RedrawTabs();
        }