public MainWindow()
        {
            InitializeComponent();

            instance = this;
            logsSystem = LogsSystem.Instance;
            BindShortcut();//绑定快捷键
        }
Esempio n. 2
0
 public UdpServer()
 {
     this.receiveClient = new UdpClient(localPort);
     this.sendClient = new UdpClient();
     log = LogsSystem.Instance;
     pp = new PacketProcess();
     cardManager = CardManager.Instance;
 }