Esempio n. 1
0
 public MainForm()
 {
     InitializeComponent();
     partOps = new Hashtable();
     partOps.Add(t1part1, t1opr1);
     partOps.Add(t2part1, t2opr1);
     partOps.Add(t2part2, t2opr2);
     partOps.Add(t2part3, t2opr3);
     partOps.Add(t2part4, t2opr4);
     partOps.Add(t3part1, t3opr1);
     partOps.Add(t4part1, t4opr1);
     partOps.Add(t4part2, t4opr2);
     partOps.Add(t4part3, t4opr3);
     partOps.Add(t4part4, t4opr4);
     partOps.Add(t5part1, t5opr1);
     partOps.Add(t6part1, t6opr1);
     partOps.Add(t6part2, t6opr2);
     partOps.Add(t7part1, t7opr1);
     partOps.Add(t7part2, t7opr2);
     _manifest = new Dictionary<string, ControlContainer>();
     this.StartPosition = FormStartPosition.CenterScreen;
     Init_Login();
     com = new ControlManifest();
     ManifestControls();
     cmd = new Commands(com);
     tcp = new TcpActions();
     tcp.ClientCountChanged += new TcpActions.ClientCountChangedEventHandler(tcp_ClientCountChanged);
     string port = Properties.Settings.Default.port.ToString();
     sockStatLbl.Text = "Listening on port " + port;
     MultiProgTblInit();
 }
Esempio n. 2
0
 public Commands(ControlManifest cmf)
 {
     this.cmf = cmf;
 }
Esempio n. 3
0
 private void MainfestionComboBoxes()
 {
     ComboBox[] parts = new ComboBox[] {
         t1part1,t2part1,t2part2,t2part3,t2part4,t3part1,t4part1,t4part2,t4part3,t4part4,t5part1,t6part1,t6part2,t7part1,t7part2
     };
     ComboBox[] opr = new ComboBox[] {
         t1opr1,t2opr1,t2opr2,t2opr3,t2opr4,t3opr1,t4opr1,t4opr2,t4opr3,t4opr4,t5opr1,t6opr1,t6opr2,t7opr1,t7opr2
     };
     ControlManifest cm = new ControlManifest(parts, opr, appCat);
 }