41 |
|
this.platform_flow.Size = new System.Drawing.Size (191, 160); |
42 |
|
this.platform_flow.TabIndex = 0; |
43 |
|
this.platform_flow.Visible = false; |
44 |
< |
this.platform_flow.VisibleChanged += new System.EventHandler (this.platform_flow_VisibleChanged); // |
44 |
> |
this.platform_flow.VisibleChanged += new System.EventHandler (this.platform_flow_VisibleChanged); |
45 |
> |
this.platform_flow.controlsRendered += ControlsRendered; |
46 |
> |
this.platform_flow.switchControls += SwitchControls; |
47 |
> |
// |
48 |
|
// rom_flow |
49 |
|
// |
50 |
|
this.rom_flow.AutoSize = false; |
54 |
|
this.rom_flow.Size = new System.Drawing.Size (191, 160); |
55 |
|
this.rom_flow.TabIndex = 1; |
56 |
|
this.rom_flow.Visible = false; |
57 |
< |
this.rom_flow.VisibleChanged += new System.EventHandler (this.rom_flow_VisibleChanged); |
57 |
> |
this.rom_flow.VisibleChanged += new System.EventHandler (this.rom_flow_VisibleChanged); |
58 |
> |
this.rom_flow.controlsRendered += ControlsRendered; |
59 |
> |
this.rom_flow.switchControls += SwitchControls; |
60 |
> |
this.rom_flow.RomLaunched += Rom_Flow_RomLaunched; |
61 |
> |
// |
62 |
> |
// cache_worker |
63 |
|
// |
64 |
< |
// Form1 |
64 |
> |
this.cache_worker = new System.ComponentModel.BackgroundWorker (); |
65 |
> |
this.cache_worker.DoWork += Cache_Worker_DoWork; |
66 |
> |
this.cache_worker.RunWorkerCompleted += Cache_Worker_RunWorkerCompleted; |
67 |
> |
// |
68 |
> |
// config_worker |
69 |
|
// |
70 |
< |
//this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
71 |
< |
//this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
72 |
< |
//this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
70 |
> |
this.config_worker = new System.ComponentModel.BackgroundWorker (); |
71 |
> |
this.config_worker.DoWork += Config_Worker_DoWork; |
72 |
> |
this.config_worker.RunWorkerCompleted += Config_Worker_RunWorkerCompleted; |
73 |
> |
// |
74 |
> |
// splash |
75 |
> |
// |
76 |
> |
this.splash = new Splash (); |
77 |
> |
// |
78 |
> |
// Form1 |
79 |
> |
// |
80 |
|
this.BackColor = System.Drawing.Color.Black; |
81 |
+ |
this.ForeColor = System.Drawing.Color.LimeGreen; |
82 |
|
this.ClientSize = new System.Drawing.Size (421, 193); |
83 |
|
this.Controls.Add (this.rom_flow); |
84 |
|
this.Controls.Add (this.platform_flow); |
91 |
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler (this.Form1_FormClosing); |
92 |
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler (this.Form1_FormClosed); |
93 |
|
this.Load += new System.EventHandler (this.Form1_Load); |
94 |
< |
this.Shown += new System.EventHandler (this.Form1_Shown); |
94 |
> |
|
95 |
> |
this.platform_flow.Font = this.Font; |
96 |
> |
this.rom_flow.Font = this.Font; |
97 |
> |
this.platform_flow.Parent = this; |
98 |
> |
this.rom_flow.Parent = this; |
99 |
> |
this.platform_flow.BackColor = this.BackColor; |
100 |
> |
this.platform_flow.ForeColor = this.ForeColor; |
101 |
> |
this.rom_flow.BackColor = this.BackColor; |
102 |
> |
this.rom_flow.ForeColor = this.ForeColor; |
103 |
|
this.ResumeLayout (false); |
104 |
|
|
105 |
|
} |
108 |
|
|
109 |
|
//private PlatformContainer platform_flow; |
110 |
|
private GameGridContainer rom_flow; |
83 |
– |
|
111 |
|
private PlatformGridContrainer platform_flow; |
112 |
+ |
private System.ComponentModel.BackgroundWorker cache_worker; |
113 |
+ |
private System.ComponentModel.BackgroundWorker config_worker; |
114 |
+ |
private Splash splash; |
115 |
|
|
116 |
|
} |
117 |
|
} |