private void Area_Load(object sender, EventArgs e) { IPainter p = new GDIPainter(this); propertyGrid1.SelectedObject = p; ApplyStyles(_style); }