private void tsmiCatFix_Click(object sender, EventArgs e)
 {
     using (ActivityRssRegistAddCat arra = new ActivityRssRegistAddCat(this, 0, this.Left + this.Width / 2, this.Top + this.Height / 2))
     {
         arra.ShowDialog();
     }
 }
        private void tsmiCatFix_Click(object sender, EventArgs e)
        {
            //選択中のTreeNodeを取得する
            TreeNode target = this.tvRss.SelectedNode;

            //マウス下のNodeがドロップ先として適切か調べる
            if (target != null)
            {
                LiplisTreeNodePar par = null;

                //ペアレントか子か
                if (IsParentNode(target))
                {
                    //ドロップ先のTreeNodeを取得する
                    par = (LiplisTreeNodePar)target;
                }
                else if (IsCldNode(target))
                {
                    par = (LiplisTreeNodePar)target.Parent;
                }

                using (ActivityRssRegistAddCat arra = new ActivityRssRegistAddCat(this, 1, par.Text, this.Left + this.Width / 2, this.Top + this.Height / 2))
                {
                    arra.ShowDialog();
                }
            }
        }