Bonjour à tous, je rencontre actuellement un soucis avec Visual Studio 2013, je souhaite mettre en oeuvre mon projet mais j'ai un soucis lorsque je souhaite passer la valeur "BackColor" en "Transparent", un message d'erreur survient, j'ai tenté de regarder un peu partout sur internet mais rien à faire. je vous fournis l'image pour plus de précision et le code.

http://zupimages.net/up/15/31/ir9l.jpg

Code : Sélectionner tout - Visualiser dans une fenêtre à part
Le contrôle ne prend pas en charge les couleurs d'arrière-plan transparentes.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Security.Cryptography;
 
 
namespace teraLauncher
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            this.BackColor = Color.Transparent;
            InitializeComponent();
 
        }
 
 
 
        /// <summary> 
        /// 取得 MD5 編碼後的 Hex 字串 
        /// 加密後為 32 Bytes Hex String (16 Byte) 
        /// </summary> 
        /// <span  name="original" class="mceItemParam"></span>原始字串</param> 
        /// <returns></returns> 
 
        public static string GetMD5(string original)
        {
            MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
            byte[] b = md5.ComputeHash(Encoding.UTF8.GetBytes(original));
            return BitConverter.ToString(b).Replace("-", string.Empty).ToLower();
        }
 
 
        private void button1_Click(object sender, EventArgs e)
        {
 
            //this.Text = GetMD5(textBox2.Text);
            Process.Start("tera.exe","1 " + GetMD5(textBox2.Text) + " 0 1 " + textBox1.Text + " en");
 
        }
 
        private void Form1_Load(object sender, EventArgs e)
        {
 
        }
 
        private void label2_Click(object sender, EventArgs e)
        {
 
 
        }
 
        private void label1_Click(object sender, EventArgs e)
        {
 
 
        }
 
        private void textBox1_TextChanged(object sender, EventArgs e)
        {
 
        }
 
        private void textBox2_TextChanged(object sender, EventArgs e)
        {
 
        }
    }
}
Cordialement.