コード例 #1
0
        public frmCarbinetShow()
        {
            InitializeComponent();
            //carbinet = new Carbinet(this.Controls);
            //carbinet = new Carbinet(this.groupBox1.Controls);
            carbinet            = new Carbinet(this.pictureBox1.Controls);
            carbinet.Left       = 100;
            carbinet.Width      = 300;
            carbinet.Height     = 578;
            carbinet.LeftPading = 30;
            carbinet.ConfigFloor(1, 106, -1);
            carbinet.ConfigFloor(2, 106, -1);
            //carbinet.ConfigFloor(2);

            this.refreshTimer.Interval = this.refreshTimeSpan;
            this.refreshTimer.Tick    += new EventHandler(refreshTimer_Tick);


            this.tdjHelper = new TDJ_RFIDHelper();
        }
コード例 #2
0
 public CarbinetFloor(Carbinet carbinet, int floorNumber, System.Windows.Forms.Control.ControlCollection controls)
 {
     this.floorNumber = floorNumber;
     this.controls    = controls;
 }