Zexks
asked on
SelectedNodeChanged definition not found when compiled. Say What?
Ok so I've got this SQL DB browser in the works that I'm trying to implements a Tree structure for the Database/Table display. After several days of extensive research I've been left at an impasse as to why the CSC.exe compiler is telling me that this SelectedNodeChanged event is not a valid definition. I've set up all the using's that I believe are necessary and the rest of the program will compile just fine once the offending code is commented out. The only other references I've seen to this are in Web based apps. Being that this is being designed as a WinForm app these suggestions are of little substance to me. Even MSDN says it's there and should work. Any help with this would be greatly appriciated.
Please note: I'm not using any sort of GUI based dev system. This solution is being entirely coded through Notepad++ and compiled through DOS.
Please note: I'm not using any sort of GUI based dev system. This solution is being entirely coded through Notepad++ and compiled through DOS.
using System;
using System.Resources;
using System.Web;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Windows;
using System.IO;
using System.Xml;
//treDBs
this.treDBs.Name = "treDBs";
this.treDBs.Location = new System.Drawing.Point(0, 215);
this.treDBs.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
this.treDBs.Size = new System.Drawing.Size(250, 212);
this.treDBs.DoubleClick += new EventHandler(treDBs_DoubleClick);
this.treDBs.SelectedNodeChanged += new EventHandler(treDBs_SelectedNodeChanged);
private void treDBs_SelectedNodeChanged(object sender, EventArgs e)
{
this.btnQuery.Enabled = true;
MakeCon(this.treDBs.SelectedNode.ToString());
PopulateDBTable(this.treDBs.SelectedNode.ToString());
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER