Esempio n. 1
0
        private void Save_Click(object sender, EventArgs e)
        {
            double p1 = 0;
            double p2 = 0;
            double p3 = 0;
            double p4 = 0;
            double p5 = 0;
            double p6 = 0;

            p1 = GetDigit(txtCategory1.Text);
            p2 = GetDigit(txtCategory2.Text);
            p3 = GetDigit(txtCategory3.Text);
            p4 = GetDigit(txtLittle.Text);
            p5 = GetDigit(txtBigWithout.Text);
            p6 = GetDigit(txtWith.Text);

            SetService.AddSettingLab(new SettingLab(CatService.FindByIndex(cmbCategoryOrg.SelectedIndex), p1, p2, p3, p4, p5, p6));
            SetService.SaveSettingLab();
            ShowSetting();
        }