- windowsmobile.zip
- WindowsMobile
- FileTransfer.Core
- FileTransfer
- WindowsMobile.sln
- WindowsMobileDXCore.Solution
- AssemblyCache
- 2f77ac75ae6d31d51d97939560b8ab.cache
- 309feae0753ff650e63ee408b82ab36.cache
- 3510f6dfbaf43e3f0f6e13c7833df66.cache
- 355d230db4eb910dd52c432d797e30.cache
- 3b1c59f56f52a2c7d5f3bedaec6f53.cache
- 70584e332ff1ec8ce0d8af57e8d5b54.cache
- 7ff78eda7087b727d3b3e761d80eda7.cache
- a367f2f0a771278850a4236d80aced8.cache
- b9c3ea739c4b4b642d5dc6e2337c1be.cache
- c47f85a4333a8aa89d56cebf5ca05e66.cache
- da8aae92a375baafa973d384d62826a.cache
- daedf418ea1bd9ad1be07859893bf8.cache
- db182eb99632bbdc87a7d6a110945bcb.cache
- def91fe868c626af2c2247de1708cb.cache
- windowsmobileservice.zip
- WindowsMobileService
- Service
- WindowsMobileService.Core
- WindowsMobileService.sln
- WindowsMobileServiceDXCore.Solution
- AssemblyCache
- 12a01da074648ea1185455cfae8fa365.cache
- 2627823dbc7746889387248946c.cache
- 59f4b4d6f26c45a48b549edf7a322.cache
- 64e947902ee5ddf87dafcbe0cf4afa61.cache
- 6e4eeb558eef8d81c6866fad411899ea.cache
- 803f9439f94a3a86b02964225eac2cbe.cache
- df39d9ae8af205f3fe14a9ede4d6cd4.cache
- ed472c622f5e32aadaa4550cabb20.cache
|
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using FileTransfer.Core;
using RRaveCon.OutLookControl;
namespace FileTransfer
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}
private void frmMain_Load(object sender, EventArgs e)
{
FileReader reader = new FileReader();
List<Message> collection = reader.GetListOfMessages(UserCredinalManager.Username, UserCredinalManager.Password);
if (collection != null)
{
ListViewItem items = null;
foreach (Message message in collection)
{
items = new ListViewItem(message.Name);
items.SubItems.Add(message.Content);
items.SubItems.Add(message.Date);
items.SubItems.Add(message.Time);
lstviewMsgs.Items.Add(items);
}
}
}
private void lstviewMsgs_ItemActivate(object sender, EventArgs e)
{
ListView view = (ListView)sender;
ListViewItem item = view.Items[view.SelectedIndices[0]];
txtName.Text = item.SubItems[0].Text;
txtmsg.Text = item.SubItems[1].Text;
txtdate.Text = item.SubItems[2].Text;
txttime.Text = item.SubItems[3].Text;
}
private void txtmsg_GotFocus(object sender, EventArgs e)
{
}
private void menuExit_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Do you want to exit?", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
{
Application.Exit();
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
- B.Sc. degree in Computer Science.
- 4+ years experience in Visual C#.net and VB.net
- Obsessed in OOP style design and programming.
- Designing and developing Network security tools.
- Designing and developing a client/server application for sharing files among users in a way other than FTP protocol.
- Designing and implementing GSM gateway applications and bulk messaging.
- Windows Mobile and Symbian Programming
- Having knowledge with ERP solutions
The summary of my skills:
C#, VB.Net#,ASP.net, VC++, Java, WPF,WCF, Oracle, SQL Server, MS Access, Windows NT administration
Cheers
RRave
MCPD,MCTS
http://codegain.com