Exemplo n.º 1
0
 public DemonForm()
 {
     InitializeComponent();
     base.Width = BASEWIDTH;
     base.Height = BASEHEIGHT;
     mainPanel.Width = WIDTH;
     mainPanel.Height = HEIGHT;
     demon = new DrawDemon(mainPanel);
     PaletteComBox.SelectedIndex = 0;
     RulesComBox.SelectedIndex = 0;
     seedBox.Text = "0";
     genBox.Text = GENERATION;
 }
Exemplo n.º 2
0
 public DemonForm()
 {
     InitializeComponent();
     base.Width                  = BASEWIDTH;
     base.Height                 = BASEHEIGHT;
     mainPanel.Width             = WIDTH;
     mainPanel.Height            = HEIGHT;
     demon                       = new DrawDemon(mainPanel);
     PaletteComBox.SelectedIndex = 0;
     RulesComBox.SelectedIndex   = 0;
     seedBox.Text                = "0";
     genBox.Text                 = GENERATION;
 }