예제 #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;
 }
예제 #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;
 }