Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 13:34
diialer29-Dec-09 13:34 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
Luc Pattyn29-Dec-09 14:29
sitebuilderLuc Pattyn29-Dec-09 14:29 
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
OriginalGriff29-Dec-09 10:12
mveOriginalGriff29-Dec-09 10:12 
QuestionWord Bookmark Value Pin
Member 230798429-Dec-09 9:42
Member 230798429-Dec-09 9:42 
AnswerRe: Word Bookmark Value Pin
Rick Shaub30-Dec-09 3:57
Rick Shaub30-Dec-09 3:57 
Questiondisplay detail view form when click on a row Pin
duce1nik29-Dec-09 8:09
duce1nik29-Dec-09 8:09 
AnswerRe: display detail view form when click on a row Pin
#realJSOP29-Dec-09 8:14
mve#realJSOP29-Dec-09 8:14 
GeneralRe: display detail view form when click on a row Pin
duce1nik29-Dec-09 16:50
duce1nik29-Dec-09 16:50 
 <big> ///EmployeesViewForm.cs ////This the GridviewForm</big><br />
<br />
class EmployeesViewForm : Form <br />
{<br />
<br />
void addToolStripButton_Click(object sender, EventArgs e) <br />
{<br />
 this.EditEmployee(this.employeesBindingSource.AddNew());<br />
}<br />
<br />
void updateToolStripButton_Click(object sender, EventArgs e) <br />
{<br />
  this.EditEmployee((DataRowView)this.employeesBindingSource.Current);<br />
}<br />
<br />
void EditEmployee(DataRowView item) <br />
{<br />
// Pass to child employee details form<br />
EmployeesEditForm dlg = new EmployeesEditForm(item);<br />
if( dlg.ShowDialog() == DialogResult.OK ) <br />
{<br />
// Reset to reflect changes automatically<br />
this.employeesBindingSource.ResetCurrentItem()<br />
}<br />
}<br />
<br />
<br />
<big> ////EmployeesEditForm.cs //// This the form with detail View</big><br />
partial class EmployeesEditForm : Form <br />
{<br />
<br />
void EmployeeItemForm_FormClosing(<br />
object sender, FormClosingEventArgs e) <br />
{<br />
// Cancel edit if Cancel button is pressed or form is closed from<br />
// either the system menu or close box<br />
if( (e.CloseReason == CloseReason.UserClosing) ||<br />
(this.DialogResult == DialogResult.Cancel) ) {<br />
this.employeesBindingSource.CancelEdit();<br />
}<br />
}<br />
<br />
<br />
<br />
<big>///EmployeesEditForm.cs</big><br />
<br />
partial class EmployeesEditForm : Form <br />
{<br />
<br />
public EmployeeItemForm(object item) <br />
{<br />
<br />
// Check that item is a DataRowView for an EmployeesRow<br />
if( (item is DataRowView) &amp;&amp;<br />
(((DataRowView)item).Row is NorthwindDataSet.EmployeesRow) ) <br />
{<br />
InitializeComponent();<br />
<br />
// Acquire employee list data source item<br />
this.employeesBindingSource.DataSource = item;<br />
}<br />
else throw new ArgumentException("Incorrect type");<br />
}<br />
<br />
}

QuestionCheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:00
professionalKevin Marois29-Dec-09 8:00 
AnswerRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:05
darkelv29-Dec-09 8:05 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:19
professionalKevin Marois29-Dec-09 8:19 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:24
darkelv29-Dec-09 8:24 
GeneralC# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:23
Wheels01229-Dec-09 5:23 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 5:45
TheFoZ29-Dec-09 5:45 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:56
Wheels01229-Dec-09 5:56 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 5:59
TheFoZ29-Dec-09 5:59 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 6:10
Wheels01229-Dec-09 6:10 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 21:30
TheFoZ29-Dec-09 21:30 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01230-Dec-09 1:34
Wheels01230-Dec-09 1:34 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Luc Pattyn29-Dec-09 6:23
sitebuilderLuc Pattyn29-Dec-09 6:23 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 21:24
TheFoZ29-Dec-09 21:24 
QuestionSorting using generic classes + c# Pin
abcurl29-Dec-09 5:17
abcurl29-Dec-09 5:17 
AnswerRe: Sorting using generic classes + c# Pin
Eddy Vluggen29-Dec-09 6:20
professionalEddy Vluggen29-Dec-09 6:20 
Questionc# multiple forms communication Pin
ikurtz29-Dec-09 4:31
ikurtz29-Dec-09 4:31 
AnswerRe: c# multiple forms communication Pin
Saksida Bojan29-Dec-09 4:48
Saksida Bojan29-Dec-09 4:48 

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.