void SubscribeRefresh(object sender, EventArgs e)
 {
     if (_3bandViewer != null)
     {
         _3bandViewer.UpdateView();
     }
 }
Exemple #2
0
 void SubscribeRefresh(object sender, EventArgs e)
 {
     if (_3bandViewer != null)
     {
         _3bandViewer.UpdateView();
     }
     else
     {
         ck3BandView.Checked = false;
     }
 }
Exemple #3
0
 private void ck3BandView_CheckedChanged(object sender, EventArgs e)
 {
     if (ck3BandView.Checked)
     {
         if (_3bandViewer == null)
         {
             _3bandViewer = new frm3BandViewer();
         }
         _3bandViewer.Owner    = this;
         _3bandViewer.Location = new Point(this.Location.X + this.Width, this.Location.Y);
         _3bandViewer.Show();
         _3bandViewer.UpdateView();
         _3bandViewer.FormClosed += new FormClosedEventHandler(_3bandViewer_FormClosed);
     }
     else
     {
         if (_3bandViewer != null)
         {
             (_3bandViewer as frm3BandViewer).Close();
             _3bandViewer = null;
         }
     }
 }