<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>among_ev</author_name>
  <author_url>https://blog.hatena.ne.jp/among_ev/</author_url>
  <blog_title>amongの雑記</blog_title>
  <blog_url>https://among-ev.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>フォームをマウスでドラッグして移動させる方法。 タイトルバーのないウィンドウも、この方法で移動させることが出来ます。マウスのボタンが押されたとき、マウスポインタの位置を保存しておきます。 次にマウスが動いたとき、保存しておいたマウスポインタの位置と今の座標の差（移動距離）を計算し、フォームを移動させます。 // マウスポインタの位置を保存する private Point mousePoint; //マウスのボタンが押されたとき private void Form1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famong-ev.hatenadiary.org%2Fentry%2F20101023%2F1287829524&quot; title=&quot;フォームをドラッグして移動させる方法（C#用メモ） - amongの雑記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-23 19:25:24</published>
  <title>フォームをドラッグして移動させる方法（C#用メモ）</title>
  <type>rich</type>
  <url>https://among-ev.hatenadiary.org/entry/20101023/1287829524</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
