示例#1
0
        private void ArtificialTransAdd_Item_Click(object sender, RoutedEventArgs e)
        {
            dtimer.Stop();
            ArtificialTransAddWindow win = new ArtificialTransAddWindow(_currentsrcText, FirstTransText.Text, SecondTransText.Text);

            win.ShowDialog();
            dtimer.Start();
        }
示例#2
0
        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();
        }