Cześć ucze sie C# i mam problem bo chciałbym aby celownik był srodku myszki a jest tak ze myszka jest na górze a obrazek jakby ciągnął sie za celownikiem mozna to jakos zmienic ?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp14 {
public partial class Form1 : Form
{
protected int pkt = 0;
public Form1()
{
InitializeComponent();
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
cel.Location = new Point(e.X, e.Y);
}
private void Mole_Click(object sender, EventArgs e)
{
pkt++;
label1.Text = pkt.ToString();
}
}
}