Ejemplo n.º 1
0
        private void main_Load(object sender, EventArgs e)
        {
            //HttpRequest req = new HttpRequest();
            //req.Get();

            WeekEffect weekEffect = ErinnTimer.getWeekEffect();

            string title = string.Join(" ", new string[] {
                weekEffect.RealWeekJp,
                weekEffect.ErinnWeekJp,
                weekEffect.ErinnWeekEn,
            });

            toolWeekEffect.ToolTipTitle = title;

            string effects = string.Join("\n  ", weekEffect.Effects);
            string items   = string.Join("\n  ", weekEffect.FlcItems);
            string toolTip =
                "[曜日効果]\n  " + effects +
                "\n\n" +
                "[FLCアイテム]\n  " + items;

            toolWeekEffect.SetToolTip(labelRealTime, toolTip);
            toolWeekEffect.SetToolTip(labelErinnTime, toolTip);
        }
Ejemplo n.º 2
0
        private void erinnTimer_Tick(object sender, EventArgs e)
        {
            DateTime erinnTime = ErinnTimer.getErinnTime();

            labelErinnTime.Text = erinnTime.ToString("[ET] H:mm");
        }