/[EmuXPortal]/branches/mono/EmuXPortal/PlatformControl.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/PlatformControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- branches/mono/EmuXPortal/PlatformControl.cs	2019/05/06 02:26:16	395
+++ branches/mono/EmuXPortal/PlatformControl.cs	2019/06/23 23:32:26	396
@@ -37,9 +37,9 @@
 			InitializeComponent ();
 			platformImage.SizeMode = PictureBoxSizeMode.StretchImage;
 		}
-		public void UpdatePlatformImage (Image img)
+		public void UpdatePlatformImage (Bitmap img)
 		{
-			this.PlatformImage = img;
+			this.platformImage.Image = img;
 		}
 		public void UpdatePlatformImage (string filename)
 		{
@@ -48,14 +48,14 @@
 				this.UpdatePlatformImage (new Bitmap (bmpTemp));
 			}
 		}
-		private Image PlatformImage {
+		/*private Bitmap PlatformImage {
 			get { lock (image_lock) { return platformImage.Image; } }
 			set {
 				lock (image_lock) {
 					platformImage.Image = value;
 				}
 			}
-		}
+		}*/
 		public string PlatformName { get { return platformName.Text; } set { platformName.Text = value; Application.DoEvents (); } }
 		private void PlatformControl_Load (object sender, EventArgs e)
 		{

 

  ViewVC Help
Powered by ViewVC 1.1.22