示例#1
0
文件: WOL2Timer.cs 项目: Minguh/WOL2
        public WOL2Timer( WOL2Timer t )
        {
            for( int i = 0; i < 7 ; i++ )
                m_Days.Add( new WOL2TimerDay( t.GetTimeForDay( i ) ) );

            m_bIsEnabled = t.IsEnabled();
        }
示例#2
0
文件: WOL2Timer.cs 项目: sschoen/WOL2
        public WOL2Timer(WOL2Timer t)
        {
            for (int i = 0; i < 7; i++)
            {
                m_Days.Add(new WOL2TimerDay(t.GetTimeForDay(i)));
            }

            m_bIsEnabled = t.IsEnabled();
        }
示例#3
0
        public DlgEditTimer( WOL2Timer t )
        {
            // The InitializeComponent() call is required for Windows Forms designer support.
            InitializeComponent();

            m_Timer = t;
            m_theTimer = new WOL2Timer( t );

            chkTimerEnabled.Checked = m_theTimer.IsEnabled();

            UpdateDescription();
        }
示例#4
0
        public DlgEditTimer(WOL2Timer t)
        {
            // The InitializeComponent() call is required for Windows Forms designer support.
            InitializeComponent();

            m_Timer    = t;
            m_theTimer = new WOL2Timer(t);

            chkTimerEnabled.Checked = m_theTimer.IsEnabled();

            UpdateDescription();
        }