View of /trunk/DefaultGUI/UCMessageSending.xaml.cs
Parent Directory
|
Revision Log
Revision 96 -
(download)
(annotate)
Wed Dec 17 11:13:19 2008 UTC (4 years, 5 months ago) by albert
File size: 1150 byte(s)
Wed Dec 17 11:13:19 2008 UTC (4 years, 5 months ago) by albert
File size: 1150 byte(s)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using OpenMetaverse;
using Xenki.DefaultAgent;
namespace Xenki.DefaultGUI
{
/// <summary>
/// Interaction logic for UCMessageSending.xaml
/// </summary>
public partial class UCMessageSending : UserControl
{
private DefaultNetwork.NetworkControl network;
public UCMessageSending(DefaultNetwork.NetworkControl imcontrol)
{
InitializeComponent();
network = imcontrol;
}
public UUID FriendID = UUID.Zero;
private void btnSendIM_Click(object sender, RoutedEventArgs e)
{
if(FriendID!= UUID.Zero)
{
if(txtMSG.Text.Length>0)
network.SendIM(FriendID, txtMSG.Text);
}
}
}
}
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

