private void ArtificialTransAdd_Item_Click(object sender, RoutedEventArgs e) { dtimer.Stop(); ArtificialTransAddWindow win = new ArtificialTransAddWindow(_currentsrcText, FirstTransText.Text, SecondTransText.Text); win.ShowDialog(); dtimer.Start(); }
private void ArtificialTransAdd_Item_Click(object sender, RoutedEventArgs e) { if (Common.ATPermission == 0) { HandyControl.Controls.Growl.InfoGlobal(Application.Current.Resources["ArtificialTransWin_Error_Permission"].ToString()); return; } dtimer.Stop(); ArtificialTransAddWindow win = new ArtificialTransAddWindow(_currentsrcText, FirstTransText.Text, SecondTransText.Text); win.ShowDialog(); dtimer.Start(); }