Beispiel #1
0
        private void setSuccessCreatePolyclinic(HttpResponseBundle _response)
        {
            Console.WriteLine("sukses: " + _response.getJObject());

            Polyclinic polyclinic = _response.getParsedObject <RootPolyclinic>().data;

            getView().callMethod("setSuccessCreatePolyclinic", polyclinic);
        }
        public void setSuccessCreatePolyclinic(Polyclinic polyclinic)
        {
            this.Dispatcher.Invoke(() =>
            {
                errorCreateSchedule_txt.setText("");
                successCreatePolyclinic_txt.setText("Sukses Membuat Poli " + polyName);
                polyclinicId = polyclinic.id;

                Day_Cb.Visibility         = Visibility.Visible;
                SaveSchedule_bt.IsEnabled = true;
            });
        }