Beispiel #1
0
        void _mrsClient_CopyEstimateCompleted(object sender, CopyEstimateCompletedEventArgs e)
        {
            List <ValidationErrorMessage> result = new List <ValidationErrorMessage>();

            if (e != null)
            {
                if (e.Error == null)
                {
                    if (e.Result == true)
                    {
                        CreateLog();
                        ValidationWin_Closed(sender, null);
                    }
                    else
                    {
                    }
                }
            }
        }
Beispiel #2
0
        void _mrsClient_CopyEstimateCompleted(object sender, CopyEstimateCompletedEventArgs e)
        {
            List <ValidationErrorMessage> result = new List <ValidationErrorMessage>();

            if (e != null)
            {
                if (e.Error == null)
                {
                    if (e.Result == true)
                    {
                        CreateLog();
                        RadWindow window = this.ParentOfType <RadWindow>();
                        if (window != null)
                        {
                            window.DialogResult = true;
                            window.Close();
                        }
                    }
                    else
                    {
                    }
                }
            }
        }