Пример #1
0
        private async void button2_Click(object sender, EventArgs e)
        {
            if (comboBox1.Text == "")
            {
                MessageBox.Show("Silahkan pilih Kecamatan!");
            }
            if (comboBox2.Text == "")
            {
                MessageBox.Show("Silahkan pilih Desa/Kelurahan!");
            }
            if (comboBox3.Text == "")
            {
                MessageBox.Show("Silahkan pilih TPS!");
            }
            else
            {
                FirebaseResponse resp1 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahLaki/");

                NoLaki           no       = resp1.ResultAs <NoLaki>();
                FirebaseResponse response = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPerempuan/");

                NoCewek          noCewek   = response.ResultAs <NoCewek>();
                FirebaseResponse response1 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahSM/");

                SM sM = response1.ResultAs <SM>();
                FirebaseResponse response2 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahBM/");

                BM bM = response2.ResultAs <BM>();
                FirebaseResponse response3 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPM/");

                PM pM = response3.ResultAs <PM>();
                FirebaseResponse response4 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahTK/");

                TK tK = response4.ResultAs <TK>();
                FirebaseResponse response5 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahSD/");

                SD sD = response5.ResultAs <SD>();
                FirebaseResponse response6 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahSMP/");

                SMP sMP = response6.ResultAs <SMP>();
                FirebaseResponse response7 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahSMA/");

                SMA sMA = response7.ResultAs <SMA>();
                FirebaseResponse response8 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahS1/");

                S1 s1 = response8.ResultAs <S1>();
                FirebaseResponse response9 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahS2/");

                S2 s2 = response9.ResultAs <S2>();
                FirebaseResponse response10 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahS3/");

                S3 s3 = response10.ResultAs <S3>();
                FirebaseResponse response11 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahTidaksekolah/");

                Tidaksekolah     tidaksekolah = response11.ResultAs <Tidaksekolah>();
                FirebaseResponse response12   = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahKK/");

                KKs kKs = response12.ResultAs <KKs>();
                FirebaseResponse response13 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahIslam/");

                Islam            islam      = response13.ResultAs <Islam>();
                FirebaseResponse response14 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahKristen/");

                Kristen          kristen    = response14.ResultAs <Kristen>();
                FirebaseResponse response15 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahKatholik/");

                Katholik         katholik   = response15.ResultAs <Katholik>();
                FirebaseResponse response16 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahBudha/");

                Bundha           bundha     = response16.ResultAs <Bundha>();
                FirebaseResponse response17 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahHindu/");

                Hindu            hindu      = response17.ResultAs <Hindu>();
                FirebaseResponse response18 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahKonghucu/");

                Konghucu         konghucu   = response18.ResultAs <Konghucu>();
                FirebaseResponse response19 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPetani/");

                Petani           petani     = response19.ResultAs <Petani>();
                FirebaseResponse response20 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahNelayan/");

                Nelayan          nelayan    = response20.ResultAs <Nelayan>();
                FirebaseResponse response21 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPedagang/");

                Pedagang         pedagang   = response21.ResultAs <Pedagang>();
                FirebaseResponse response22 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPTP/");

                PTP pTP = response22.ResultAs <PTP>();
                FirebaseResponse response23 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahSwasta/");

                Swasta           swasta     = response23.ResultAs <Swasta>();
                FirebaseResponse response24 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahBuruh/");

                Buruh            buruh      = response24.ResultAs <Buruh>();
                FirebaseResponse response25 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahWiraswasta/");

                Wiraswasta       wiraswasta = response25.ResultAs <Wiraswasta>();
                FirebaseResponse response26 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPensiunan/");

                Pensiunan        pensiunan  = response26.ResultAs <Pensiunan>();
                FirebaseResponse response27 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahPelajar/");

                Pelajar          pelajar    = response27.ResultAs <Pelajar>();
                FirebaseResponse response28 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahTidakkerja/");

                Tidakkerja       tidakkerja = response28.ResultAs <Tidakkerja>();
                FirebaseResponse response29 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahK/");

                K k = response29.ResultAs <K>();
                FirebaseResponse response30 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahS/");

                S s = response30.ResultAs <S>();
                FirebaseResponse response31 = await client.GetTaskAsync("Data User/" + label5.Text + comboBox1.Text + comboBox2.Text + comboBox3.Text + "/JumlahM/");

                M m = response31.ResultAs <M>();

                label10.Text = no.jmlLaki;
                label11.Text = noCewek.jmlcewek;
                label16.Text = pM.jmlPM;
                label17.Text = bM.jmlBM;
                label18.Text = pM.jmlPM;
                label20.Text = kKs.jmlkk;
                label25.Text = islam.jmlIslam;
                label26.Text = kristen.jmlKristen;
                label27.Text = katholik.jmlKatholik;
                label28.Text = bundha.jmlBudha;
                label29.Text = hindu.jmlHindu;
                label30.Text = konghucu.jmlKonghucu;
                label41.Text = petani.jmlPetani;
                label42.Text = nelayan.jmlNelayan;
                label43.Text = pedagang.jmlPedagang;
                label44.Text = pTP.jmlPTP;
                label45.Text = swasta.jmlSwasta;
                label46.Text = buruh.jmlburuh;
                label47.Text = wiraswasta.jmlWiraswasta;
                label48.Text = pensiunan.jmlPensiunan;
                label49.Text = pelajar.jmlpelajar;
                label50.Text = tidakkerja.jmlTidakkerja;

                chart1.Series["Pendidikan"].Points.Clear();
                chart1.Series["Pendidikan"].IsValueShownAsLabel = true;
                chart1.Series["Pendidikan"].Points.AddXY("TK", tK.jmlTK);
                chart1.Series["Pendidikan"].Points.AddXY("SD", sD.jmlSD);
                chart1.Series["Pendidikan"].Points.AddXY("SMP", sMP.jmlSMP);
                chart1.Series["Pendidikan"].Points.AddXY("SMA/SMK", sMA.jmlSMA);
                chart1.Series["Pendidikan"].Points.AddXY("S1", s1.jmlS1);
                chart1.Series["Pendidikan"].Points.AddXY("S2", s2.jmlS2);
                chart1.Series["Pendidikan"].Points.AddXY("S3", s3.jmlS3);
                chart1.Series["Pendidikan"].Points.AddXY("Tidak Sekolah", tidaksekolah.jmlTidaksekolah);

                chart2.Series["K"].Points.Clear();
                chart2.Series["K"].IsValueShownAsLabel = true;
                chart2.Series["K"].Points.AddXY("K", k.jmlK);
                chart2.Series["S"].Points.AddXY("S", s.jmlS);
                chart2.Series["M"].Points.AddXY("M", m.jmlM);
            }
        }
Пример #2
0
        private async void button1_Click(object sender, EventArgs e)
        {
            FirebaseResponse resp1 = await client.GetTaskAsync("Data User/" + label4.Text + "/JumlahKecamatan/");

            NoKecamatan      get1  = resp1.ResultAs <NoKecamatan>();
            FirebaseResponse resp2 = await client.GetTaskAsync("Data User/" + label4.Text + "/JumlahDesa/");

            NoDesa get2 = resp2.ResultAs <NoDesa>();

            var DataKecamatan = new InTambahData
            {
                NoKec   = (Convert.ToInt32(get1.jmlKecamatan) + 1).ToString(),
                NamaKec = textBox1.Text
            };

            var DataDesa = new InTambahDataDesa
            {
                NoDes   = (Convert.ToInt32(get2.jmlDesa) + 1).ToString(),
                NamaDes = textBox2.Text
            };
            var obj2 = new NoDesa
            {
                jmlDesa = DataDesa.NoDes
            };
            var obj1 = new NoKecamatan
            {
                jmlKecamatan = DataKecamatan.NoKec
            };

            if (textBox1.Text == "")
            {
                SetResponse resp4 = await client.SetTaskAsync("Data User/" + label4.Text + "/Desa/" + DataDesa.NoDes, DataDesa);

                InTambahDataDesa re4   = resp4.ResultAs <InTambahDataDesa>();
                SetResponse      resp6 = await client.SetTaskAsync("Data User/" + label4.Text + "/JumlahDesa/", obj2);
            }
            else if (textBox2.Text == "")
            {
                SetResponse resp3 = await client.SetTaskAsync("Data User/" + label4.Text + "/Kecamatan/" + DataKecamatan.NoKec, DataKecamatan);

                InTambahData res3  = resp3.ResultAs <InTambahData>();
                SetResponse  resp5 = await client.SetTaskAsync("Data User/" + label4.Text + "/JumlahKecamatan/", obj1);
            }
            else
            {
                SetResponse resp3 = await client.SetTaskAsync("Data User/" + label4.Text + "/Kecamatan/" + DataKecamatan.NoKec, DataKecamatan);

                InTambahData re3 = resp3.ResultAs <InTambahData>();

                SetResponse resp4 = await client.SetTaskAsync("Data User/" + label4.Text + "/Desa/" + DataDesa.NoDes, DataDesa);

                InTambahDataDesa res4 = resp4.ResultAs <InTambahDataDesa>();

                SetResponse resp5 = await client.SetTaskAsync("Data User/" + label4.Text + "/JumlahKecamatan/", obj1);

                SetResponse resp6 = await client.SetTaskAsync("Data User/" + label4.Text + "/JumlahDesa/", obj2);
            }

            var isidata = new IsiData
            {
                jmlIsiandata = "0"
            };

            var kec = new NoKecamatan
            {
                jmlKecamatan = "0"
            };

            var des = new NoDesa
            {
                jmlDesa = "0"
            };

            var nam = new NoNama
            {
                jmlNama = "0"
            };

            var genderlaki = new GenderLaki
            {
                jmlLaki = "0"
            };
            var gendercewek = new GenderCewek
            {
                jmlcewek = "0"
            };
            var islam = new Islam
            {
                jmlIslam = "0"
            };
            var kristen = new Kristen
            {
                jmlKristen = "0"
            };
            var katholik = new Katholik
            {
                jmlKatholik = "0"
            };
            var hindu = new Hindu
            {
                jmlHindu = "0"
            };
            var budha = new Bundha
            {
                jmlBudha = "0"
            };
            var konghucu = new Konghucu
            {
                jmlKonghucu = "0"
            };
            var petani = new Petani
            {
                jmlPetani = "0"
            };
            var nelayan = new Nelayan
            {
                jmlNelayan = "0"
            };
            var pedagang = new Pedagang
            {
                jmlPedagang = "0"
            };
            var ptp = new PTP
            {
                jmlPTP = "0"
            };
            var swasta = new Swasta
            {
                jmlSwasta = "0"
            };
            var buruh = new Buruh
            {
                jmlburuh = "0"
            };
            var wiraswasta = new Wiraswasta
            {
                jmlWiraswasta = "0"
            };
            var pensiunan = new Pensiunan
            {
                jmlPensiunan = "0"
            };
            var pelajar = new Pelajar
            {
                jmlpelajar = "0"
            };
            var tidakkerja = new Tidakkerja
            {
                jmlTidakkerja = "0"
            };
            var tk = new TK
            {
                jmlTK = "0"
            };
            var sd = new SD
            {
                jmlSD = "0"
            };
            var smp = new SMP
            {
                jmlSMP = "0"
            };
            var sma = new SMA
            {
                jmlSMA = "0"
            };
            var s1 = new S1
            {
                jmlS1 = "0"
            };
            var s2 = new S2
            {
                jmlS2 = "0"
            };
            var s3 = new S3
            {
                jmlS3 = "0"
            };
            var tidaksekolah = new Tidaksekolah
            {
                jmlTidaksekolah = "0"
            };
            var sm = new SM
            {
                jmlSM = "0"
            };
            var bm = new BM
            {
                jmlBM = "0"
            };
            var pm = new PM
            {
                jmlPM = "0"
            };
            var k = new K
            {
                jmlK = "0"
            };
            var s = new S
            {
                jmlS = "0"
            };
            var m = new M
            {
                jmlM = "0"
            };
            var kk = new KKs
            {
                jmlkk = textBox3.Text
            };


            SetResponse response0 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahKK/", kk);

            data        result0   = response0.ResultAs <data>();
            SetResponse response1 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahKecamatan/", kec);

            data        result1   = response1.ResultAs <data>();
            SetResponse response2 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahDesa/", des);

            data        result2   = response2.ResultAs <data>();
            SetResponse response3 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahNama/", nam);

            NoNama      result3   = response3.ResultAs <NoNama>();
            SetResponse response4 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahLaki/", genderlaki);

            GenderLaki  result4   = response4.ResultAs <GenderLaki>();
            SetResponse response5 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPerempuan/", gendercewek);

            GenderCewek result5   = response5.ResultAs <GenderCewek>();
            SetResponse response6 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahIslam/", islam);

            Islam       islam1    = response6.ResultAs <Islam>();
            SetResponse response7 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahKristen/", kristen);

            Kristen     kristen1  = response7.ResultAs <Kristen>();
            SetResponse response8 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahKatholik/", katholik);

            Katholik    katholik1 = response8.ResultAs <Katholik>();
            SetResponse response9 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahHindu/", hindu);

            Hindu       hindu1     = response9.ResultAs <Hindu>();
            SetResponse response10 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahBudha/", budha);

            Bundha      bundha     = response10.ResultAs <Bundha>();
            SetResponse response11 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahKonghucu/", konghucu);

            Konghucu    konghucu1  = response11.ResultAs <Konghucu>();
            SetResponse response12 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPetani/", petani);

            Petani      petani1    = response12.ResultAs <Petani>();
            SetResponse response13 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahNelayan/", nelayan);

            Nelayan     nelayan1   = response13.ResultAs <Nelayan>();
            SetResponse response14 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPedagang/", pedagang);

            Pedagang    pedagang1  = response14.ResultAs <Pedagang>();
            SetResponse response15 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPTP/", ptp);

            PTP         pTP        = response15.ResultAs <PTP>();
            SetResponse response16 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahSwasta/", swasta);

            Swasta      swasta1    = response16.ResultAs <Swasta>();
            SetResponse response17 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahBuruh/", buruh);

            Buruh       buruh1     = response17.ResultAs <Buruh>();
            SetResponse response18 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahWiraswasta/", wiraswasta);

            Wiraswasta  wiraswasta1 = response18.ResultAs <Wiraswasta>();
            SetResponse response19  = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPensiunan/", pensiunan);

            Pensiunan   pensiunan1 = response19.ResultAs <Pensiunan>();
            SetResponse response20 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPelajar/", pelajar);

            Pelajar     pelajar1   = response20.ResultAs <Pelajar>();
            SetResponse response21 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahTidakkerja/", tidakkerja);

            Tidakkerja  tidakkerja1 = response21.ResultAs <Tidakkerja>();
            SetResponse response22  = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahTK/", tk);

            TK          tK         = response22.ResultAs <TK>();
            SetResponse response23 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahSD/", sd);

            SD          sD         = response23.ResultAs <SD>();
            SetResponse response24 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahSMP/", smp);

            SMP         sMP        = response24.ResultAs <SMP>();
            SetResponse response25 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahSMA/", sma);

            SMA         sMA        = response25.ResultAs <SMA>();
            SetResponse response26 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahS1/", s1);

            S1          s11        = response26.ResultAs <S1>();
            SetResponse response27 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahS2/", s2);

            S2          s21        = response27.ResultAs <S2>();
            SetResponse response28 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahS3/", s3);

            S3          s31        = response28.ResultAs <S3>();
            SetResponse response29 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahTidaksekolah/", tidaksekolah);

            Tidaksekolah tidaksekolah1 = response29.ResultAs <Tidaksekolah>();
            SetResponse  response30    = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahSM/", sm);

            SM          sM         = response30.ResultAs <SM>();
            SetResponse response31 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahBM/", bm);

            BM          bM         = response31.ResultAs <BM>();
            SetResponse response32 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahPM/", pm);

            PM          pM         = response32.ResultAs <PM>();
            SetResponse response33 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahK/", k);

            K           ks         = response33.ResultAs <K>();
            SetResponse response34 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahS/", s);

            S           ss         = response34.ResultAs <S>();
            SetResponse response35 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahM/", m);

            M           ms         = response35.ResultAs <M>();
            SetResponse response36 = await client.SetTaskAsync("Data User/" + label4.Text + textBox1.Text + textBox2.Text + comboBox1.Text + "/JumlahIsidata", isidata);

            this.Close();
            Peringatan peringatan = new Peringatan();

            peringatan.Show();
        }