Ejemplo n.º 1
0
        private void rs(string zp)
        {
            string for_rez;

            string[] arr_for_time;
            @base    @base = new @base(zp);

            for_rez      = @base.dealshear();
            arr_for_time = for_rez.Split('@');
            label4.Text  = (Convert.ToDouble(label2.Text) / 100 * Convert.ToDouble(arr_for_time[0])).ToString();//
            label10.Text = arr_for_time.Length == 1 ? (Convert.ToDouble(label8.Text) / 100 * Convert.ToDouble(arr_for_time[0])).ToString() : (Convert.ToDouble(label8.Text) / 100 * Convert.ToDouble(arr_for_time[1])).ToString();
            label6.Text  = (Convert.ToDouble(label2.Text) - Convert.ToDouble(label4.Text)).ToString();
            label12.Text = (Convert.ToDouble(label8.Text) - Convert.ToDouble(label10.Text)).ToString();
        }