예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

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