示例#1
0
 public CreateZone()
 {
     InitializeComponent();
     panel1.BackColor = Color.White;
     panel1.Click    += new EventHandler(this.panelClick);
     string[] propList = Fonction.getAllColor();
     string[] selected = { "Red" };
     propList = Fonction.getColorNoSelected(propList, selected);
     colors   = propList;
     foreach (string c in propList)
     {
         comboBox1.Items.Add(c);
     }
 }