コード例 #1
0
 public OneGridPanel(LocIdx locIdx, AllBoxesManager ptrToAllBoxesManager, int maxColRowIdx)
 {
     this.LocIdx          = locIdx;
     PtrToAllBoxesManager = ptrToAllBoxesManager;
     this.maxColRowIdx    = maxColRowIdx;
     BuildOneGridPanelControls();
 }
コード例 #2
0
        private void buildBoxes()
        {
            int gridWidth = (int)numericUpDown1.Value;

            AllBoxesMan = new AllBoxesManager(gridWidth);
            GamePanelTarget.Controls.Add(AllBoxesMan.MasterPanel);
            // AllBoxesMan.PutBoxesOnScreen(this.GamePanelTarget);
        }