コード例 #1
0
        public static void Instance(Window parent, EncodingCompletedEventArgs jobInfo)
        {
            EncodingFailedWindow NewForm = new EncodingFailedWindow();

            NewForm.Owner   = parent;
            NewForm.jobInfo = jobInfo;
            NewForm.Show();
        }
コード例 #2
0
 private void business_EncodingFailed(object sender, EncodingCompletedEventArgs e)
 {
     Application.Current.Dispatcher.Invoke(() => EncodingFailedWindow.Instance(this, e));
 }