public Form1() { argument = new Argument(this); nextLevelEffect = new NextLevelEffect(this); this.Controls.Add(nextLevelEffect); InitializeComponent(); InitializePokemon(); //this.FormBorderStyle = FormBorderStyle.None; this.BackColor = Color.FromArgb(2, 0, 1); timeway.Interval = Information.timeway; timeway.Tick += new EventHandler(timeway_Tick); time.Interval = 1000; time.Tick += new EventHandler(time_Tick); Information.directories = Directory.GetCurrentDirectory(); NewGame(); this.Paint += new PaintEventHandler(Form1_Paint); //this.BackgroundImage = global::UIT_Pokemon.Properties.Resources.Space; }
public Form1() { argument= new Argument(this); nextLevelEffect = new NextLevelEffect(this); this.Controls.Add(nextLevelEffect); InitializeComponent(); InitializePokemon(); //this.FormBorderStyle = FormBorderStyle.None; this.BackColor = Color.FromArgb(2, 0, 1); timeway.Interval = Information.timeway; timeway.Tick+=new EventHandler(timeway_Tick); time.Interval = 1000; time.Tick += new EventHandler(time_Tick); Information.directories = Directory.GetCurrentDirectory(); NewGame(); this.Paint+=new PaintEventHandler(Form1_Paint); //this.BackgroundImage = global::UIT_Pokemon.Properties.Resources.Space; }