コード例 #1
0
ファイル: ChannelSection.cs プロジェクト: neiz/JabbR.Eto
		void HandleOwnerRemoved (object sender, UserEventArgs e)
		{
			Application.Instance.AsyncInvoke(delegate {
				UserList.OwnerRemoved(e.User);
			});
			AddNotification (new NotificationMessage (
				DateTimeOffset.Now,
				string.Format ("{0} was removed as an owner", e.User.Name)
			));
		}
コード例 #2
0
ファイル: Channel.cs プロジェクト: neiz/JabbR.Eto
		protected virtual void OnOwnerRemoved (UserEventArgs e)
		{
			if (OwnerRemoved != null)
				OwnerRemoved (this, e);
		}
コード例 #3
0
ファイル: Channel.cs プロジェクト: neiz/JabbR.Eto
		protected virtual void OnUserJoined (UserEventArgs e)
		{
			if (UserJoined != null)
				UserJoined (this, e);
		}
コード例 #4
0
ファイル: Channel.cs プロジェクト: neiz/JabbR.Eto
		protected virtual void OnUserLeft (UserEventArgs e)
		{
			if (UserLeft != null)
				UserLeft (this, e);
		}
コード例 #5
0
ファイル: ChannelSection.cs プロジェクト: jschell/JabbR.Eto
 void HandleUserJoined(object sender, UserEventArgs e)
 {
     Application.Instance.AsyncInvoke(delegate
     {
         UserList.UserJoined(e.User);
     });
     AddNotification(new NotificationMessage(
         DateTimeOffset.Now,
         string.Format("{0} just entered {1}", e.User.Name, Channel.Name)
     ));
 }