public override void updateListBoxEntry(GCListBoxEntry lb)
 {
     base.updateListBoxEntry(lb);
     if (nMasaMax == nMasaMin)
     {
         lb.Subtitle = string.Format("Event active in {0} Masa", GCMasa.GetName(nMasaMin));
     }
     else
     {
         lb.Subtitle = string.Format("Event active from {0} to {1} Masa", GCMasa.GetName(nMasaMin),
                                     GCMasa.GetName(nMasaMax));
     }
 }
Beispiel #2
0
 public virtual void updateListBoxEntry(GCListBoxEntry lb)
 {
     lb.Tag   = this;
     lb.Title = Text;
 }
Beispiel #3
0
 public override void updateListBoxEntry(GCListBoxEntry lb)
 {
     base.updateListBoxEntry(lb);
     lb.Subtitle = string.Format("Offset in days: {0}", DayOffset);
 }
 public override void updateListBoxEntry(GCListBoxEntry lb)
 {
     base.updateListBoxEntry(lb);
     lb.Subtitle = string.Format("{0} Tithi, {1} Masa", GCTithi.GetName(nTithi), GCMasa.GetName(nMasa));
 }
Beispiel #5
0
 public override void updateListBoxEntry(GCListBoxEntry lb)
 {
     base.updateListBoxEntry(lb);
     lb.Subtitle = string.Format("{0} Sankranti, {1} days offset", GCRasi.GetName(RasiOfSun), DayOffset);
 }
Beispiel #6
0
 public override void updateListBoxEntry(GCListBoxEntry lb)
 {
     base.updateListBoxEntry(lb);
     lb.Subtitle = string.Format("Ekadasi in {0} Masa, {1} Paksa", GCMasa.GetName(nMasa), GCPaksa.GetName(nPaksa));
 }