protected void Page_Load(object sender, EventArgs e)
    {
        SetupMappings();
        ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);
        Labeller.AddLabels(this.ASPxScheduler1.Storage);
        Statusser.AddStatuses(this.ASPxScheduler1.Storage);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.DataBind();
    }
Esempio n. 2
0
 public PaintLineManager(CustomForm customForm)
 {
     this.customForm = customForm;
     hopper          = new Hopper(this);
     casePacker      = new CasePacker(this);
     weighStation    = new WeighStation(this);
     fillHead        = new FillHead(this);
     labeller        = new Labeller(this);
     sealer          = new Sealer(this);
 }
Esempio n. 3
0
        static void Main(string[] args)
        {
            var tree = Build();
            tree.Show();

            var labeledTree = new Labeller().Label(tree);
            labeledTree.Show();

            var labeledWithMonads = new MonadicLabeller().Label(tree);
            labeledWithMonads.Show();
        }
Esempio n. 4
0
    // Use this for initialization
    void Start()
    {
        GameObject boardContainer = Generator.Generate(cell, numberOfRows, numberOfColumns);

        GameObject[] cellList = FindByTag("Cell");
        map = fillMap(cellList);
        Placer.PlaceEnemies(cellList, numberOfMines, mine);
        Labeller.Label(map, numberOfRows, numberOfColumns);
        flaggedCells  = 0;
        totalCells    = numberOfRows * numberOfColumns;
        revealedCells = 0;
        gameOver      = false;
        boardRevealed = false;
        gameWon       = false;
    }