public KitchenCallBackUI() { kitchenCallBack = new KitchenCallBack(); lockObj = new object(); t = new Thread(listenToServer); isFinish = false; //kitchenCallBack.ChangeItemEvent += kitchenCallBack_ChangeItemEvent; //kitchenCallBack.ChangeTableEvent += new HandleEvent(kitchenCallBack_ChangeTableEvent); //kitchenCallBack.DeorderItemEvent += new HandleEvent(kitchenCallBack_DeorderItemEvent); }