示例#1
0
    public override void OnBlockRemoved()
    {
        base.OnBlockRemoved();

        if (clientDialog != null)
        {
            clientDialog.TryClose();
            if (clientDialog != null)
            {
                clientDialog.Dispose();
                clientDialog = null;
            }
        }
    }