示例#1
0
    protected override void OnHandleCreated(EventArgs e)
    {
        // Use e.g. Color.FromArgb(128, Color.Lime) for a 50% opacity green tint.
        WindowUtils.EnableAcrylic(this, Color.Transparent);

        base.OnHandleCreated(e);
    }
示例#2
0
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);

            try
            {
                WindowUtils.EnableAcrylic(this);
            }
            catch (Exception ex)
            {
                WinFormium.GetLogger().Error(ex);
            }
        }
    protected override void OnHandleCreated(EventArgs e)
    {
        WindowUtils.EnableAcrylic(this, Color.Transparent);

        base.OnHandleCreated(e);
    }