private void uxDebugBtn_Click(object sender, EventArgs e) { DateTime theDate = new DateTime(); TimeSpan theEnd = new TimeSpan(); Parsetime parser = new Parsetime(); theEnd = parser.ParseTS("01:00:00"); theDate = DateTime.Now; theDate = theDate.AddMinutes(1 + m_Container.Timers.Count()); //MessageBox.Show(theDate.ToString()); String newDate = Convert.ToDateTime(theDate).ToString("MM/dd/yyyy hh:mm:ss tt"); actionClockControl scc = new actionClockControl(newDate, "00:01:00", "Test " + m_Container.Timers.Count()); scc.Parent = uxFlowPanel; scc.Show(); }
private void uxClockSet_Click(object sender, EventArgs e) { Parsetime pt = new Parsetime(); Timers.MasterTime.SetClock(pt.ParseDT(uxTimeOfAction.Text)); }