public EditEventEkadasi() { InitializeComponent(); for (int i = 0; i < 12; i++) { comboBox1.Items.Add(string.Format("{0}", GCMasa.GetName(i))); } for (int i = 0; i < 2; i++) { comboBox2.Items.Add(string.Format("{0}", GCPaksa.GetName(i))); } }
public EditEventTithiMasa() { InitializeComponent(); for (int i = 0; i < 30; i++) { comboBox1.Items.Add(string.Format("{0} Tithi ({1} Paksa)", GCTithi.GetName(i), GCPaksa.GetName(i / 15))); } for (int i = 0; i < 12; i++) { comboBox2.Items.Add(string.Format("{0} Masa", GCMasa.GetName(i))); } }