Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();
            Terminal.Enabled = false;       // Disable keyboard input until ready.
            Legend.Source    = Terminal;

            AcceptedCertificates = new RegistryCertificateStore(Registry.CurrentUser, AccCertRegSubKey);
        }
Esempio n. 2
0
 public Slave_Connection(string HostName, RegistryCertificateStore AcceptedCertificateStore)
 {
     this.HostName             = HostName;
     this.AcceptedCertificates = AcceptedCertificateStore;
 }
Esempio n. 3
0
 public Slave(string HostName, RegistryCertificateStore AcceptedCertificates)
 {
     Connection = new Slave_Connection(HostName, AcceptedCertificates);
     lock (NextIDLock) { ID = NextID++; }
     DarkColor = DarkColors[ID % DarkColors.Length];
 }