Thread: Visual Studio
View Single Post
Old 04-03-09, 10:52 AM   #5
thor1182
Spelling Expert?!?
 
thor1182's Avatar
 
Join Date: Oct 2003
Location: Indy, IN
Posts: 812
Default Re: Visual Studio

Code:
_Login = new LogIn();
            _Login.MdiParent = this;
            _Login.WindowState = FormWindowState.Maximized;
            _Login.UserLogIn += this.LogUserIn;
  if (ActiveMdiChild != _LuaFinder)
            {
                if (ActiveMdiChild != null)
                {
                    ActiveMdiChild.Hide();
                }
                _LuaFinder.Show();
            }
I think is something close to what you are looking for the midi stuff. Thats with 3.5, and I don't know how different it is in the older frameworks (and I don't know if what I am doing is "correct", but it works).

Also if you are using 3.5, open up google and look up LINQ, do not pass go, do not collect $200. When you generate your DataContext object it should auto create the connection string for you.
__________________
-"Aqua 2": Water Cooled Intel i7 960, 12 GB DDR3 PC 12800, 3x Intel X-25-M 80 GB SSD RAID 0, SATA 1.5TB WD, EVGA GeForce GTX 470 Supper Clocked Water Cooled, ASUS P6X58D, Corsair 800D w/ Koolance cooling
thor1182 is offline   Reply With Quote