private void EditToolStripMenuItemClick(object sender, EventArgs e)
{
var window = ContextTarget as CameraWindow;
if (window != null)
{
EditCamera(window.Camobject);
}
var level = ContextTarget as VolumeLevel;
if (level != null)
{
EditMicrophone(level.Micobject);
}
var target = ContextTarget as FloorPlanControl;
if (target != null)
{
EditFloorplan(target.Fpobject);
}
}