Click here to Skip to main content
15,914,221 members
Home / Discussions / C#
   

C#

 
Questionchanging dataGrid data source by comboBox selection Pin
orlya26-Nov-05 23:14
orlya26-Nov-05 23:14 
AnswerRe: changing dataGrid data source by comboBox selection Pin
Stanciu Vlad27-Nov-05 5:27
Stanciu Vlad27-Nov-05 5:27 
GeneralRe: changing dataGrid data source by comboBox selection Pin
orlya28-Nov-05 6:33
orlya28-Nov-05 6:33 
GeneralRe: changing dataGrid data source by comboBox selection Pin
Stanciu Vlad28-Nov-05 9:06
Stanciu Vlad28-Nov-05 9:06 
GeneralRe: changing dataGrid data source by comboBox selection Pin
orlya28-Nov-05 20:06
orlya28-Nov-05 20:06 
QuestionCrystalReportViewer PageDown Pin
Bedevian26-Nov-05 21:22
Bedevian26-Nov-05 21:22 
QuestionC# DisplayComposeForm for Smartphone Pin
bklynjava126-Nov-05 19:43
bklynjava126-Nov-05 19:43 
AnswerRe: C# DisplayComposeForm for Smartphone Pin
bklynjava127-Nov-05 8:17
bklynjava127-Nov-05 8:17 
Here is the full source.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsMobile.PocketOutlook;

namespace TOYOURSPACE
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void menuItem1_Click(object sender, EventArgs e)
{
Microsoft.WindowsMobile.Forms.CameraCaptureDialog cameraDialog = new Microsoft.WindowsMobile.Forms.CameraCaptureDialog();
cameraDialog.Owner = this;
cameraDialog.Title = "Take a Picture";
if ((cameraDialog.ShowDialog() != DialogResult.OK)(cameraDialog.FileName == ""))
{
return;
}


string account = "ActiveSync";
string to = "";
string subject = "";
string body = "";
string[] attachments = new string[] { cameraDialog.filename };
Microsoft.WindowsMobile.PocketOutlook.MessagingApplication.DisplayComposeForm(Account);



label1.Text = "Hello Windows Forms!";

PictureBox1.image = new Bitmap(cameraDialog.filename);


}

}
}

Seems I am missing something - and I am fairly new to the C# smartphone Development.

It's Probably something very simple I'm overlooking.
Question[VERY URGENT]!! mouse position and screen resolution Pin
Sam 200626-Nov-05 16:38
Sam 200626-Nov-05 16:38 
AnswerRe: [VERY URGENT]!! mouse position and screen resolution Pin
Stanciu Vlad26-Nov-05 21:05
Stanciu Vlad26-Nov-05 21:05 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
leppie26-Nov-05 22:43
leppie26-Nov-05 22:43 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
Robert Rohde26-Nov-05 22:49
Robert Rohde26-Nov-05 22:49 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
leppie26-Nov-05 22:52
leppie26-Nov-05 22:52 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
Sam 200627-Nov-05 2:04
Sam 200627-Nov-05 2:04 
QuestionWindows User List Pin
rushed26-Nov-05 15:03
rushed26-Nov-05 15:03 
AnswerRe: Windows User List Pin
Curtis Schlak.26-Nov-05 16:02
Curtis Schlak.26-Nov-05 16:02 
QuestionHow to declare/set bool flag + button + NumericUpDown Pin
...---...26-Nov-05 14:22
...---...26-Nov-05 14:22 
AnswerRe: How to declare/set bool flag + button + NumericUpDown Pin
Curtis Schlak.26-Nov-05 14:56
Curtis Schlak.26-Nov-05 14:56 
QuestionHTTPModule and a Word Corpus Pin
brunoconde26-Nov-05 9:20
brunoconde26-Nov-05 9:20 
AnswerRe: HTTPModule and a Word Corpus Pin
Curtis Schlak.26-Nov-05 10:14
Curtis Schlak.26-Nov-05 10:14 
QuestionGet position(index) of the row when find in a datatable Pin
karllo26-Nov-05 8:54
karllo26-Nov-05 8:54 
QuestionNumericUpDown + Button + PaintEvent Q2. Pin
...---...26-Nov-05 8:13
...---...26-Nov-05 8:13 
AnswerRe: NumericUpDown + Button + PaintEvent Q2. Pin
Curtis Schlak.26-Nov-05 9:36
Curtis Schlak.26-Nov-05 9:36 
QuestionConvert string to int Pin
Myglaren26-Nov-05 7:47
Myglaren26-Nov-05 7:47 
AnswerRe: Convert string to int Pin
Guffa26-Nov-05 8:44
Guffa26-Nov-05 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.