Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();
            this.Text  = "Dust Collector";
            RSForm     = new RoomSizeForm(this);
            SRForm     = new SetRandomForm(this);
            SFForm     = new SetForwardForm(this);
            Processing = Process.None;

            RoomDisplay            = new DBLayoutPanel();
            RoomDisplay.Parent     = MainPanel;
            RoomDisplay.Dock       = DockStyle.Fill;
            RoomDisplay.CellPaint += Environment_CellPaint;
            RoomDisplay.BackColor  = Color.White;

            Room            = new RoomEnvironment(RoomDisplay, this);
            this.timePassed = 0;
        }
Exemplo n.º 2
0
 public RoomEnvironment(DBLayoutPanel d, MainForm MF)
 {
     Display         = d;
     MForm           = MF;
     UpdatableObject = new List <RoomObject>();
 }