Example #1
0
        /// <summary>
        /// StatusTextChangedイベントを発生させる
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected virtual void OnStatusTextChanged(string text)
        {
            if (StatusTextChanged != null)
            {
                StatusTextEventArgs e =
                    new StatusTextEventArgs(text);

                if (InvokeRequired)
                {
                    Invoke(new StatusTextEventHandler(StatusTextChanged),
                           new object[] { this, e });
                }
                else
                {
                    StatusTextChanged(this, e);
                }
            }
        }
Example #2
0
		/// <summary>
		/// Raises the show status text event.
		/// </summary>
		/// <param name="sender">Sender of event.</param>
		/// <param name="args">Status text event arguments.</param>
		public void OnShowStatusText(object sender, StatusTextEventArgs args)
		{
		}
		/// <summary>
		/// Show 
		/// </summary>
		/// <param name="sender">Sender.</param>
		/// <param name="e">E.</param>
		public void OnShowStatusText (Object sender, StatusTextEventArgs e)
		{
			Toast.MakeText (this, e.Text, ToastLength.Long);
		}
Example #4
0
 /// <summary>
 /// Show
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 public void OnShowStatusText(Object sender, StatusTextEventArgs e)
 {
     Toast.MakeText(this, e.Text, ToastLength.Long);
 }
Example #5
0
 private void Core_ShowStatusTextRequested(object sender, StatusTextEventArgs e)
 {
     // Displays or hides the status text depending on its value.
     SystemTrayManager.StatusText = e.Text;
 }
		private void Core_ShowStatusTextRequested(object sender, StatusTextEventArgs e)
		{
			// Displays or hides the status text depending on its value.
			SystemTrayManager.StatusText = e.Text;
		}
Example #7
0
 /// <summary>
 /// Tell engine to fire StatusTextEvent with given arguments
 /// </summary>
 /// <param name="e"></param>
 public void TriggerStatusTextUpdated(StatusTextEventArgs e)
 {
     StatusTextUpdated?.Invoke(this, e);
 }
Example #8
0
 /// <summary>
 /// Tell engine to fire StatusTextEvent with given arguments
 /// </summary>
 /// <param name="e"></param>
 public void TriggerStatusTextUpdated(StatusTextEventArgs e)
 {
     StatusTextUpdated?.Invoke(this, e);
 }
Example #9
0
 public void OnShowStatusText(Object sender, StatusTextEventArgs args)
 {
 }