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(); }
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(); }
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(); }
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(); }