Posts

Showing posts from March, 2014

C# code for Android logo

Image
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace Androidlogo { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; SolidBrush b1 = new SolidBrush(Color.LightGreen); SolidBrush b2 = new SolidBrush(Color.White); Rectangle r = new Rectangle(50, 50, 250, 300); Rectangle r2 = new Rectangle(100, 100, 20, 20); Rectangle r3 = new Rectangle(230, 100, 20, 20); Rectangle r4= new Rectangle(50,470,50,50); Rectangle r5= new Rectangle(250, 470, 50, 50); Rectangle r6 = new Rectangle(10, 220, 30, 30); Rectan
welcome