RoundButton2.cs

(完整代码) 1KB

using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace WpfMind
{
    public partial class RoundButton : System.Windows.Forms.Button
    {
        public Point leftPoint { get => new Point(Left, (int)(Top + Height / 2)); set => Console.WriteLine("hihihihi"); }
        public Point rightPoint { get => new Point((int)(Margin.Left + Width), (int)(Margin.Top + Height / 2)); set => Console.WriteLine("hihihihi"); }
        public bool isRootTopic { get; set; }
        public JObject Jref { get; set; }
        //public int Left { get => (int)Margin.Left; set => Canvas.SetLeft(this,value); }
        //public int Top { get => (int)Margin.Top; set => Canvas.SetTop(this, value); }
        //public Size Size { get; internal set; }
        //public Point Location { get; internal set; }

        public RoundButton()
        {

        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。