C# and hardware interface

I have written a gui in c# and am using color picker to populate a button background for a chosen color to send to a jeelabs jeenode with dimmerplug (an i2c device). I would like to read the current rgb color when the gui is opened and make the button background that color. Then when i choose the new color, send it to the jeenode and update the led color to the button background again. I have gotten this far without requesting help but am now stuck. Like i said, the gui is written, just not the button handlers for this part of the gui. I have a jeelink, jeenode, and dimmerplug, as well as the driver and rgb led all done. I am currently having issues even getting the. rf12demo to even compile in arduino ide.