public void ShowCursorLoadImage() { Form frm = new Form(); PictureBox pb = new PictureBox() { Image = Image.FromFile(@"C:\Users\bfernandes\Documents\KinectMControl\src\KinectV2MouseControl\bin\Release\Images\lamp1.bmp") }; frm.Cursor = new Cursor(((Bitmap)pb.Image).GetHicon()); frm.WindowState = FormWindowState.Maximized; frm.TransparencyKey = frm.BackColor = System.Drawing.Color.Turquoise; frm.FormBorderStyle = FormBorderStyle.None; frm.ShowDialog(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)