Example #1
0
        private void setup_Click(object sender, EventArgs e)
        {
            frmSetTime frm = new frmSetTime(frmSetTime.Type.TimeOnly, SceneTiming);

            frm.timeChanged += sceneTimeChanged;
            frm.ShowDialog();
        }
Example #2
0
        public void showfrmSetTime(string time)
        {
            if (InvokeRequired)
            {
                this.Invoke(new Action <string>(showfrmSetTime), new object[] { time });
                return;
            }

            frmSetTime frm = new frmSetTime(frmSetTime.Type.DataTime, time);

            frm.timeChanged += boxTimeChanged;
            frm.ShowDialog();
        }