Esempio n. 1
0
        public SearchBar()
        {
            Cell = new DarkSkinSearchFieldCell();

            Initialize();
            var debugFilePath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), ".xs-searchbar-debug");

            debugSearchbar = System.IO.File.Exists(debugFilePath);

            Ide.Gui.Styles.Changed += (o, e) => UpdateLayout();
            UpdateLayout();
        }
Esempio n. 2
0
		public SearchBar ()
		{
			Cell = new DarkSkinSearchFieldCell ();

			Initialize ();
			var debugFilePath = System.IO.Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal), ".xs-searchbar-debug");
			debugSearchbar = System.IO.File.Exists (debugFilePath);

			Ide.Gui.Styles.Changed +=  (o, e) => UpdateLayout ();
			UpdateLayout ();
		}