if (!string.IsNullOrEmpty (xaa.AttributeName))
name = xaa.AttributeName;
}
- if (value.StartsWith("{")) {
+ if (value.StartsWith("{",StringComparison.Ordinal)) {
//binding
- if (!value.EndsWith("}"))
+ if (!value.EndsWith("}", StringComparison.Ordinal))
throw new Exception (string.Format("GOML:Malformed binding: {0}", value));
this.Bindings.Add (new Binding (new MemberReference(this, pi), value.Substring (1, value.Length - 2)));
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
-using System.Xml.Serialization;
+using System.Collections.Generic;
+using System.Diagnostics;
using System.IO;
using System.Reflection;
-using System.Diagnostics;
-using System.Collections.Generic;
-using System.Xml;
-using System.Linq;
-using System.Reflection.Emit;
-using System.CodeDom;
-using Microsoft.CSharp;
-using System.CodeDom.Compiler;
using System.Threading;
+using System.Xml;
+using System.Xml.Serialization;
using Cairo;
namespace Crow
internal static bool XmlSerializerInit = false;
/// <summary> keep ressource path for debug msg </summary>
internal static string CurrentGOMLPath = "";
+ //used in templatedControl
internal static int XmlLoaderCount = 0;
public static int TabSize = 4;
public void Update(){
+ CurrentInterface = this;
+
if (mouseRepeatCount > 0) {
int mc = mouseRepeatCount;
mouseRepeatCount -= mc;