Esempio n. 1
0
 public virtual void Detach()
 {
     if (painter != null)
     {
         painter.stopShowingCircle();
     }
     this.electronPanel = null;
 }
Esempio n. 2
0
        public virtual void Attach(ElectronPanel cPanel)
        {
            try {
            this.electronPanel = cPanel;
            painter.setElectron(cPanel);
            } catch (Exception e) {
                debugOut("problem in attach: " + e.Message);

                throw new Exception("Problem in attach: " + e.Message);
            }
        }
Esempio n. 3
0
        public virtual void Attach(ElectronPanel cPanel)
        {
            try {
                this.electronPanel = cPanel;
                painter.setElectron(cPanel);
            } catch (Exception e) {
                debugOut("problem in attach: " + e.Message);

                throw new Exception("Problem in attach: " + e.Message);
            }
        }
Esempio n. 4
0
 /// <summary>
 /// The option to set the electron panel. I cannot set this during the construction, since it must be done while the InputReceiver is attached
 /// </summary>
 /// <param name="electron"></param>
 public void setElectron(ElectronPanel electron)
 {
     electronPanel = electron;
 }
Esempio n. 5
0
 public virtual void Detach()
 {
     if (painter != null)
         painter.stopShowingCircle();
     this.electronPanel = null;
 }
Esempio n. 6
0
 /// <summary>
 /// The option to set the electron panel. I cannot set this during the construction, since it must be done while the InputReceiver is attached
 /// </summary>
 /// <param name="electron"></param>
 public void setElectron(ElectronPanel electron)
 {
     electronPanel = electron;
 }