public TelnetClient(DXClusterClient form) { try { ClusterForm = form; } catch (Exception ex) { Debug.Write(ex.ToString()); } }
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(); }
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()); } }