Пример #1
0
        public MainForm()
        {
            InitializeComponent();
            Terminal.Enabled = false;       // Disable keyboard input until ready.
            Legend.Source    = Terminal;

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