Esempio n. 1
0
        public DmxOutPut(DmxFramework.Framework pFrameWork)
        {
            mFrameWork = pFrameWork;
            InitializeComponent();
            mFixture = null;
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.AutoScroll  = true;

            for (int i = 0; i < 20; i++)
            {
                Control.DmxOutputCtrl ctrl = new DmxSoft.Control.DmxOutputCtrl(i + 1);
                ctrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
                ctrl.MaximumSize = new System.Drawing.Size(49, 0);
                ctrl.MinimumSize = new System.Drawing.Size(49, 100);
                ctrl.Name        = "dmxOutputCtrl" + i;
                ctrl.Size        = new System.Drawing.Size(49, 100);
                ctrl.TabIndex    = i;
                tableLayoutPanel1.Controls.Add(ctrl);

                this.tableLayoutPanel1.ColumnCount++;
            }
        }