Exemplo n.º 1
0
 private void onAddAsNewClick(object sender, RoutedEventArgs e)
 {
     Toggl.DiscardTimeAt(this.guid, this.started, true);
     this.Hide();
     if (this.AddedIdleTimeAsNewEntry != null)
     {
         this.AddedIdleTimeAsNewEntry(this, EventArgs.Empty);
     }
 }
 private void buttonSplitIdleTimeIntoNewEntry_Click(object sender, EventArgs e)
 {
     Toggl.DiscardTimeAt(time_entry_guid, idle_started_at, true);
     Close();
 }
 private void buttonDiscardTime_Click(object sender, EventArgs e)
 {
     Toggl.DiscardTimeAt(time_entry_guid, idle_started_at, false);
     Close();
 }
Exemplo n.º 4
0
 private void onDiscardTimeClick(object sender, RoutedEventArgs e)
 {
     Toggl.DiscardTimeAt(this.guid, this.started, false);
     this.Hide();
 }