Ejemplo n.º 1
0
        static void Manager_TaskSearchWindow(SearchWindow sw, object queryName)
        {
            if (IsolationEntity.Default != null)
            {
                return;
            }

            var iso = IsolationEntity.Current;

            if (iso == null)
            {
                return;
            }

            var tb = sw.Child <TextBox>(a => a.Name == "tbEntityType");

            tb.Before(new Image {
                Stretch = Stretch.None, SnapsToDevicePixels = true, Source = GetIsolationIcon(iso)
            });
        }