LogMessage() private method

private LogMessage ( string message ) : void
message string
return void
Exemplo n.º 1
0
 void AttachToolbarEvents(SearchBar bar)
 {
     bar.Changed += (o, e) => {
         bar.LogMessage("Text changed");
         if (SearchEntryChanged != null)
         {
             SearchEntryChanged(o, e);
         }
     };
     bar.KeyPressed += (o, e) => {
         if (SearchEntryKeyPressed != null)
         {
             SearchEntryKeyPressed(o, e);
         }
     };
     bar.LostFocus += (o, e) => {
         if (SearchEntryLostFocus != null)
         {
             SearchEntryLostFocus(o, e);
         }
     };
     bar.SelectionActivated += (o, e) => {
         if (SearchEntryActivated != null)
         {
             SearchEntryActivated(o, e);
         }
     };
 }
Exemplo n.º 2
0
		void AttachToolbarEvents (SearchBar bar)
		{
			bar.Changed += (o, e) => {
				bar.LogMessage("Text changed");
				if (SearchEntryChanged != null)
					SearchEntryChanged (o, e);
			};
			bar.KeyPressed += (o, e) => {
				if (SearchEntryKeyPressed != null)
					SearchEntryKeyPressed (o, e);
			};
			bar.LostFocus += (o, e) => {
				if (SearchEntryLostFocus != null)
					SearchEntryLostFocus (o, e);
			};
			bar.SelectionActivated += (o, e) => {
				if (SearchEntryActivated != null)
					SearchEntryActivated (o, e);
			};
		}