示例#1
0
 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;
 }
示例#2
0
 void ElementBounds_Updated(object sender, ElementEventArgs args)
 {
     if (null != args && args.Elements.Count > 0)
     {
         UpdateElementBoundsControlValues(args.Elements[0]);
     }
 }
示例#3
0
 void Element_Selected(object sender, ElementEventArgs args)
 {
     Redraw();
 }
示例#4
0
 void Element_Selected(object sender, ElementEventArgs args)
 {
     if (null != args.Elements && args.Elements.Count == 1)
     {
         ChangeSelectedElement(args.Elements[0].name);
     }
 }
示例#5
0
 void Element_Selected(object sender, ElementEventArgs args)
 {
     HandleEnableStates();
     if (args.Elements != null && args.Elements.Count > 0)
     {
         UpdateElementValues(args.Elements[0]);
         HandleTypeEnableStates();
     }
 }