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