ObjectManager/UI/Common/Windows/Common_Windows_Login.xaml.cs

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using ObjectManager.Common;
using ObjectManager.Models;
using ObjectManager.Models.Other;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
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.Shapes;
using Util;

namespace ObjectManager.UI.Common.Windows
{
    /// <summary>
    /// Common_Windows_Login.xaml 的交互逻辑
    /// </summary>
    public partial class Common_Windows_Login : Window
    {
        private List<TCPUserInfo> tcpModelList = new List<TCPUserInfo>();

        private List<string> iplist = new List<string>();
        private List<string> backupIPList = new List<string>();
        private List<string> dataIPList = new List<string>();
        private List<string> forList = new List<string>();
        ManualResetEvent timeoutObject = null;
        AsyncTcpClient client;
        private bool isConnection = false;

        private List<string> adminList = new List<string>() { "linliang" };

        public Common_Windows_Login()
        {
            InitializeComponent();
        }

        private void Button_Login_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrEmpty(textbox_Account.Text))
            {
                MessageBox.Show("不能为空");
                return;
            }



            #region TCPClient 

            isConnection = false;

后面还有 194 行代码,解锁后查看完整代码

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

AI 解读

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

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