Example #1
0
        public DXClusterClient(string host, string call, string name, string qth)
        {
            this.AutoScaleMode = AutoScaleMode.Inherit;
            InitializeComponent();
            float  dpi       = this.CreateGraphics().DpiX;
            float  ratio     = dpi / 96.0f;
            string font_name = this.Font.Name;
            float  size      = 8.25f / ratio;

            System.Drawing.Font new_font = new System.Drawing.Font(font_name, size);
            this.Font = new_font;

            telnet_client = new TelnetClient(this);
            CALL          = call;
            HOST          = host;
            NAME          = name;
            QTH           = qth;
            GetOptions();
            ClusterSetupForm = new ClusterSetup(this);

            if (comboDXCluster.Items.Count > 0)
            {
                comboDXCluster.SelectedIndex = 0;
            }
        }
Example #2
0
        public DXClusterClient(string host, string call, string name, string qth)
        {
            this.AutoScaleMode = AutoScaleMode.Inherit;
            InitializeComponent();
            float dpi = this.CreateGraphics().DpiX;
            float ratio = dpi / 96.0f;
            string font_name = this.Font.Name;
            float size = 8.25f / ratio;
            System.Drawing.Font new_font = new System.Drawing.Font(font_name, size);
            this.Font = new_font;

            telnet_client = new TelnetClient(this);
            CALL = call;
            HOST = host;
            NAME = name;
            QTH = qth;
            GetOptions();
            ClusterSetupForm = new ClusterSetup(this);

            if (comboDXCluster.Items.Count > 0)
                comboDXCluster.SelectedIndex = 0;
        }