This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static IEnumerable<string> _allScreens; | |
static BuildingBlockProvider() | |
{ | |
List<string> screens = new List<string>(); | |
foreach (var screenModel in ServiceProxy.Instance.ModelService.Items.OfType<IScreenDefinition>()) | |
{ | |
if (screenModel.Members.Any(m => m.Attributes.OfType<IIsParameterAttribute>().Any(att => !(att.Parent as IScreenPropertyDefinition).PropertyType.Name.EndsWith("?")))) { | |
continue; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="JQuery/jquery-1.6.1.js" /> | |
/// <reference path="JQueryMobile/jquery.mobile-1.0.js" /> | |
/// <reference path="../Libraries/MsLs/msls-1.0.0.js" /> | |
/// <reference path="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0" /> | |
/* | |
Usage example | |
myapp.AddEditCustomer.HowDoIGetThere_execute = function (screen) { | |
$("#addressMap").lightswitchBingMapsControl("getLocationOfUser", $("#directions")); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function () { | |
var supported = $.mobile.gradeA(); | |
if (!supported) { | |
$(".ui-icon-loading").hide(); | |
$(".ui-bottom-load").append('<div class="msls-header">This browser is not supported. Please upgrade to a more recent, <a href="http://jquerymobile.com/gbs/">supported</a> version.</div>'); | |
} else { | |
msls._run() | |
.then(null, function failure(error) { | |
alert(error); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace LightSwitchApplication | |
{ | |
public partial class SchedulingViewDiagram | |
{ | |
partial void SchedulingViewDiagram_Created() | |
{ | |
this.FindControl("ReallyCoolImageButton").ControlAvailable += SchedulingViewDiagram_ControlAvailable; | |
} | |
void SchedulingViewDiagram_ControlAvailable(object sender, ControlAvailableEventArgs e) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<EntityProperty | |
Name="Color" | |
PropertyType=":String"> | |
<EntityProperty.Attributes> | |
<Required /> | |
<MaxLength | |
Value="255" /> | |
<SupportedValue | |
DisplayName="Aero" | |
Value="#7CB9E8" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
$.widget("switchtory.lightswitchsearchbox", { | |
_create: function () { | |
}, | |
_init: function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="jquery-1.7.1.js" /> | |
/// <reference path="jquery.mobile-1.1.1.js" /> | |
/// <reference path="msls-1.0.0.js" /> | |
(function ($) { | |
$.widget("switchtory.lightswitchSlider", { | |
options: { | |
timerInterval: 4000 | |
}, |
NewerOlder