Beispiel #1
0
        /// <summary>
        /// OnInitialized 方法
        /// </summary>
        protected override void OnInitialized()
        {
            base.OnInitialized();

            // 注册 Toast 弹窗事件
            if (ToastService != null)
            {
                ToastService.Register(Show);
            }
        }
Beispiel #2
0
        /// <summary>
        /// OnInitialized 方法
        /// </summary>
        protected override void OnInitialized()
        {
            base.OnInitialized();

            Placement = Placement.BottomEnd;

            // 注册 Toast 弹窗事件
            if (ToastService != null)
            {
                ToastService.Register(this, Show);
            }
        }