Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

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