public About(MainForm mainForm)
 {
     this.InitializeComponent();
     base.Icon = mainForm.Icon;
     this.strFullName = mainForm.FullName;
     this.strVersion = mainForm.Version;
 }
 public Settings(MainForm formParentIn)
 {
     this.InitializeComponent();
     base.Icon = formParentIn.Icon;
     base.Icon = formParentIn.Icon;
     this.formParent = formParentIn;
     this.textBox1.Text = this.formParent.ProxyServer;
     this.textBox2.Text = this.formParent.ProxyDomain;
     this.textBox3.Text = this.formParent.ProxyUserid;
     this.textBox4.Text = this.formParent.ProxyPassword;
     this.radioButton0.Checked = this.formParent.ProxyType == 0;
     this.radioButton1.Checked = this.formParent.ProxyType == 1;
     this.radioButton2.Checked = this.formParent.ProxyType == 2;
     this.radioButton2_CheckedChanged(null, null);
 }