MainWindow.xaml.cs
(开头部分) 24KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfBrowserApplication1;
using WpfApplication2.Helper;
using System.IO;
using System.Windows.Media.Animation;
using System.Threading;
using System.Windows.Threading;
namespace WpfApplication2
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow : Window
{
public List<NewButton> button_list = new List<NewButton>();
public String Checked = null;
public NewButton Blackjiang;
public NewButton Redshuai;
public Polyline L1 = new Polyline();
public Polyline L2 = new Polyline();
public Polyline L3 = new Polyline();
public Polyline L4 = new Polyline();
public MainWindow()
{
InitializeComponent();
DrawButton();
this.Drawing.Children.Add(L1);
this.Drawing.Children.Add(L2);
this.Drawing.Children.Add(L3);
this.Drawing.Children.Add(L4);
if (isBlack.IsChecked == true)
{
NewButton.CurrentCamps = "Black";
IsBlack();
}
else
{
NewButton.CurrentCamps = "Black";
IsRed();
}
}
public void DrawButton()
{
NewButton button;
DirectoryInfo dir = new DirectoryInfo(System.AppDomain.CurrentDomain.BaseDirectory);
dir = dir.Parent;
dir = dir.Parent;
后面还有 529 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
