Example #1
0
 private void btnCast_Click(object sender, EventArgs e)
 {
     if (this.Cast != null)
     {
         this.Cast.Close();
         this.Cast.Dispose();
     }
     this.Cast = new CastTime();
     this.Cast.Show();
 }
Example #2
0
 public Settings()
 {
     this.InitializeComponent();
     this.LoadSettingsData();
     this.RefreshSettings();
     if (this.Cast != null)
     {
         this.Cast.Close();
         this.Cast.Dispose();
     }
     this.Cast = new CastTime();
 }