private void Form1_Load(object sender, EventArgs e) { UI.LogIn lg = new UI.LogIn(); this.Cursor = UI.LogIn.CreateCursor((Bitmap)lg.imageList1.Images[0], new Size(25, 25)); pbCanvas.BackgroundImage = imageList1.Images[UI.LogIn.LabelofVAriables.MapID - 1]; }