>>751先生と>>753先生のでやってみたのですが正確に円のところでtrueにならず(ぇ
どこか数字の設定の仕方がおかしかったりしますかね
private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
e.Graphics.FillEllipse(Brushes.Red, 0, 0, 100, 100);
}

private void pictureBox1_Click(object sender, EventArgs e)
{
int cx = 50;
int cy = 50;
int r = 50;
int x = System.Windows.Forms.Cursor.Position.X;
int y = System.Windows.Forms.Cursor.Position.Y;
int a = x - (this.Location.X + 50);
int b = y - (this.Location.Y + 50);
int cc = a * a + b * b;
if (cc <= r * r)
{
MessageBox.Show("true");
}
else
{
MessageBox.Show("false");
}
>>753先生のが奥義PointToClientで座標を取得しろということで
>>754先生のRegionはコメントを使えって意味でしょうか?#region 〜#endregionでコメントを書けという事でしょうか (?_?)?
>>756先生のカーソル位置っていうはなんだか自分でも出来そうな気がしますので数学コードで書いたら勉強で試してみたいと誓いました
>>757先生のを検索してみたのですがシェイプコントロールがよく分からずorz
http://www.google.com/search?num=50&hl=ja&lr=lang_ja&tbs=lr%3Alang_1ja&q=c%23+%E3%82%B7%E3%82%A7%E3%82%A4%E3%83%97%E3%82%B3%E3%83%B3%E3%83%88%E3%83%AD%E3%83%BC%E3%83%AB&aq=f&aqi=&aql=&oq=