MainWindow.xaml.cs
(开头部分) 28KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using HandyControl.Controls;
using HandyControl.Themes;
using HandyControl.Tools;
using Mind;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using Application = System.Windows.Application;
using Color = System.Drawing.Color;
using DragDropEffects = System.Windows.DragDropEffects;
using FontFamily = System.Drawing.FontFamily;
using Pen = System.Drawing.Pen;
using Point = System.Drawing.Point;
using Size = System.Drawing.Size;
using TextBox = HandyControl.Controls.TextBox;
using TreeNode = System.Windows.Forms.TreeNode;
//using RoundButton = System.Windows.Controls.Button;
namespace WpfMind
{
public partial class MainWindow
{
private System.Windows.Forms.PictureBox img;
private Point lastLocation; // 画布上次被放置的位置
public MainWindow()
{
InitializeComponent();
this.DataContext = this;
// 画布控件初始化(winform版迁移)
img = new System.Windows.Forms.PictureBox();
img.Paint += img_Paint;
var imgPanel = new System.Windows.Forms.Panel();
pictureBoxHost.Child = imgPanel;
imgPanel.Controls.Add(img);
img.Width = 3000;
img.Height = 3000;
//当前选中节点赋初值null
//H,2021/11/14/11:48
myJref = new MyJref
{
tempJref = null
};
myJref.OnMyChange += new TmpChanged(JrefChanged);
后面还有 701 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。