void Element_Selected(object sender, ElementEventArgs args) { HandleEnableStates(); if (args.Elements != null && args.Elements.Count > 0) { UpdateElementValues(args.Elements[0]); HandleTypeEnableStates(); } txtElementVariable.AcceptsTab = ProjectManager.Instance.LoadedProjectTranslatorType == TranslatorType.JavaScript; }
void ElementBounds_Updated(object sender, ElementEventArgs args) { if (null != args && args.Elements.Count > 0) { UpdateElementBoundsControlValues(args.Elements[0]); } }
void Element_Selected(object sender, ElementEventArgs args) { Redraw(); }
void Element_Selected(object sender, ElementEventArgs args) { if (null != args.Elements && args.Elements.Count == 1) { ChangeSelectedElement(args.Elements[0].name); } }
void Element_Selected(object sender, ElementEventArgs args) { HandleEnableStates(); if (args.Elements != null && args.Elements.Count > 0) { UpdateElementValues(args.Elements[0]); HandleTypeEnableStates(); } }