コード例 #1
0
        public void ShowInformationMessage(object sender, PropertyErrorDescription description)
        {
            _controller.SetCurrentError(description);

            if (description == null || !description.IsError)
            {
                InformationMessageControl.Hide();
                return;
            }

            InformationMessageControl.Owner = sender;
            InformationMessageControl.Show(description);
            InformationMessageControl.HorizontalAlignment = HorizontalAlignment.Center;
            InformationMessageControl.BringIntoView();
        }