示例#1
0
        private void btnTimeEdit_Click(object sender, EventArgs e)
        {
            var selectedTab = tabTimerDays.SelectedTab;

            if (selectedTab == null)
            {
                return;
            }
            var selectedTimer     = GetSelectedTimer();
            var adjustTimerWindow = new AdjustTimerWindow(gallifrey, selectedTimer.UniqueId);

            adjustTimerWindow.ShowDialog();
            RefreshInternalTimerList();
        }
示例#2
0
        private void btnTimeEdit_Click(object sender, EventArgs e)
        {
            var selectedTab = tabTimerDays.SelectedTab;

            if (selectedTab == null)
            {
                return;
            }
            var selectedTimer     = (JiraTimer)((ListBox)selectedTab.Controls[string.Format("lst_{0}", selectedTab.Name)]).SelectedItem;
            var adjustTimerWindow = new AdjustTimerWindow(gallifrey, selectedTimer.UniqueId);

            adjustTimerWindow.ShowDialog();
            RefreshTimerPages();
        }
示例#3
0
 private void btnTimeEdit_Click(object sender, EventArgs e)
 {
     var selectedTab = tabTimerDays.SelectedTab;
     if (selectedTab == null) return;
     var selectedTimer = GetSelectedTimer();
     var adjustTimerWindow = new AdjustTimerWindow(gallifrey, selectedTimer.UniqueId);
     adjustTimerWindow.ShowDialog();
     RefreshInternalTimerList();
 }
示例#4
0
 private void btnTimeEdit_Click(object sender, EventArgs e)
 {
     var selectedTab = tabTimerDays.SelectedTab;
     if (selectedTab == null) return;
     var selectedTimer = (JiraTimer)((ListBox)selectedTab.Controls[string.Format("lst_{0}", selectedTab.Name)]).SelectedItem;
     var adjustTimerWindow = new AdjustTimerWindow(gallifrey, selectedTimer.UniqueId);
     adjustTimerWindow.ShowDialog();
     RefreshTimerPages();
 }