Esempio n. 1
0
 public TelnetClient(DXClusterClient form)
 {
     try
     {
         ClusterForm = form;
     }
     catch (Exception ex)
     {
         Debug.Write(ex.ToString());
     }
 }
Esempio n. 2
0
        public ClusterSetup(DXClusterClient form)
        {
            this.AutoScaleMode = AutoScaleMode.Inherit;
            InitializeComponent();
            int dpi = (int)this.CreateGraphics().DpiX;

            if (dpi > 96)
            {
                string font_name             = this.Font.Name;
                System.Drawing.Font new_font = new System.Drawing.Font(font_name, 6.5f);
                this.Font = new_font;
            }

            ParrentForm = form;
            GetOptions();
        }
Esempio n. 3
0
        public ClusterSetup(DXClusterClient form)
        {
            this.AutoScaleMode = AutoScaleMode.Inherit;
            InitializeComponent();
            int dpi = (int)this.CreateGraphics().DpiX;

            if (dpi > 96)
            {
                string font_name = this.Font.Name;
                System.Drawing.Font new_font = new System.Drawing.Font(font_name, 6.5f);
                this.Font = new_font;
            }

            ParrentForm = form;
            GetOptions();
        }
Esempio n. 4
0
 public TelnetClient(DXClusterClient form)
 {
     try
     {
         ClusterForm = form;
     }
     catch (Exception ex)
     {
         Debug.Write(ex.ToString());
     }
 }
Esempio n. 5
0
 private void dXToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (DXClusterForm != null && !DXClusterForm.IsDisposed)
             DXClusterForm.Show();
         else
         {
             DXClusterForm = new DXClusterClient(SetupForm.txtStnCALL.Text.ToString(),
                 SetupForm.txtStnName.Text.ToString(), SetupForm.txtStnQTH.Text.ToString());
             DXClusterForm.Show();
         }
     }
     catch (Exception ex)
     {
         Debug.Write(ex.ToString());
     }
 }