Esempio n. 1
0
        private void Recalculatedate()
        {
            GPEngine.CalcEndDate(location, startWesternTime, startVedicTime, out endWesternTime, out endVedicTime, unitType, CorrectedCount(nCount));

            string template = "Start date: [start.western] - [start.vedic]\nEnddate: [end.western] - [end.vedic]";

            template = template.Replace("[start.western]", startWesternTime.ToString());
            template = template.Replace("[start.vedic]", startVedicTime.ToString());
            template = template.Replace("[end.western]", endWesternTime.ToString());
            template = template.Replace("[end.vedic]", endVedicTime.ToString());

            label3.Text = startWesternTime.ToString();
            label4.Text = startVedicTime.ToString();

            label6.Text = endWesternTime.ToString();
            label7.Text = endVedicTime.ToString();
        }