User Profile

Collapse

Profile Sidebar

Collapse
diki k
diki k
Last Activity: May 13 '08, 10:27 AM
Joined: May 13 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • diki k
    replied to How to show a form without it getting focus?
    in .NET
    I created 2 forms (form1 and form2). form1 has a button called button1
    Code:
    private void button1_Click(object sender, EventArgs e)
    {
         Form2 newForm = new Form2();
         newForm.Show();
         this.Activate();
    }
    This code creates a new form2 instance and shows it, however the syntax this.Activate() will set the focus to form1 so form2 will not have the focus.

    I hope...
    See more | Go to post

    Leave a comment:


  • diki k
    started a topic Data Access Layer Question
    in .NET

    Data Access Layer Question

    Dear all,

    I'm currently studying C#, and i'm fairly new to .NET programming. I've been trying to create a client server (desktop) application to connect to a database. However there are some things i don't quite understand. I was hoping someone can answer some of my questions.

    I've read that it's better to separate between user interface logic and data access logic. So I tried to create a data access class library (ex....
    See more | Go to post
No activity results to display
Show More
Working...