Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
QuestionWeb enable a Windows C# app Pin
StrayGrey10-Sep-05 20:06
StrayGrey10-Sep-05 20:06 
AnswerRe: Web enable a Windows C# app Pin
Guffa11-Sep-05 0:02
Guffa11-Sep-05 0:02 
QuestionDataTable PlaceHolder Pin
Expert Coming10-Sep-05 18:40
Expert Coming10-Sep-05 18:40 
AnswerRe: DataTable PlaceHolder Pin
rudy.net11-Sep-05 16:41
rudy.net11-Sep-05 16:41 
QuestionUsing GDI+ functions in a class library Pin
Steve Messer10-Sep-05 17:43
Steve Messer10-Sep-05 17:43 
AnswerRe: Using GDI+ functions in a class library Pin
Andrew Kirillov10-Sep-05 21:03
Andrew Kirillov10-Sep-05 21:03 
GeneralRe: Using GDI+ functions in a class library Pin
Steve Messer10-Sep-05 21:39
Steve Messer10-Sep-05 21:39 
QuestionMessageBox erases lines drawn???? Pin
Anonymous10-Sep-05 16:00
Anonymous10-Sep-05 16:00 
AnswerRe: MessageBox erases lines drawn???? Pin
Dave Kreskowiak10-Sep-05 16:17
mveDave Kreskowiak10-Sep-05 16:17 
QuestionAnyway to be notified of time changes Pin
monrobot1310-Sep-05 13:27
monrobot1310-Sep-05 13:27 
AnswerRe: Anyway to be notified of time changes Pin
Mohamad Al Husseiny10-Sep-05 14:33
Mohamad Al Husseiny10-Sep-05 14:33 
GeneralRe: Anyway to be notified of time changes Pin
Dave Kreskowiak10-Sep-05 16:08
mveDave Kreskowiak10-Sep-05 16:08 
GeneralRe: Anyway to be notified of time changes Pin
Mohamad Al Husseiny11-Sep-05 7:22
Mohamad Al Husseiny11-Sep-05 7:22 
GeneralRe: Anyway to be notified of time changes Pin
Dave Kreskowiak12-Sep-05 1:25
mveDave Kreskowiak12-Sep-05 1:25 
AnswerRe: Anyway to be notified of time changes Pin
Dave Kreskowiak10-Sep-05 16:09
mveDave Kreskowiak10-Sep-05 16:09 
AnswerRe: Anyway to be notified of time changes Pin
Andy Brummer10-Sep-05 17:11
sitebuilderAndy Brummer10-Sep-05 17:11 
GeneralRe: Anyway to be notified of time changes Pin
monrobot1311-Sep-05 7:28
monrobot1311-Sep-05 7:28 
AnswerRe: Anyway to be notified of time changes Pin
Matt Gerrans10-Sep-05 20:03
Matt Gerrans10-Sep-05 20:03 
QuestionWhich treenode called the contextmenustrip? Pin
MrR_10-Sep-05 12:48
MrR_10-Sep-05 12:48 
Answer[Message Deleted] Pin
Mohamad Al Husseiny10-Sep-05 13:44
Mohamad Al Husseiny10-Sep-05 13:44 
AnswerRe: Which treenode called the contextmenustrip? Pin
Mohamad Al Husseiny10-Sep-05 13:57
Mohamad Al Husseiny10-Sep-05 13:57 
Select the node when write click it some thing like
private void treeView1_MouseUp(object sender, MouseEventArgs e)
{
    if (e.Button == MouseButtons.Right)
    {
        TreeViewHitTestInfo tvt = treeView1.HitTest(e.X, e.Y);
        treeView1.SelectedNode = tvt.Node;
       // MessageBox.Show(tvt.Node.Text);
    }
}

now if you want to add sub item to selected node
private void test1ToolStripMenuItem_Click(object sender, EventArgs e)
{
    treeView1.SelectedNode.Nodes.Add("Add Test Node");
}


MCAD

-- modified at 19:51 Saturday 10th September, 2005

MCAD

-- modified at 19:58 Saturday 10th September, 2005
GeneralRe: Which treenode called the contextmenustrip? Pin
MrR_10-Sep-05 17:38
MrR_10-Sep-05 17:38 
AnswerRe: Which treenode called the contextmenustrip? Pin
Mohamad Al Husseiny11-Sep-05 7:35
Mohamad Al Husseiny11-Sep-05 7:35 
QuestionNeed to pass a Pen into Form_1Paint Pin
Anonymous10-Sep-05 8:02
Anonymous10-Sep-05 8:02 
AnswerSorry, forgot to add the Function-> HERE Pin
...---...10-Sep-05 8:04
...---...10-Sep-05 8:04 

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.