DLL with UI in c#.net

Discussion in 'C#' started by anshuman singh, Jan 17, 2009.

Thread Status:
Not open for further replies.
  1. anshuman singh

    anshuman singh New Member

    Joined:
    Jan 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software developer
    Location:
    Kanpur
    i have to make an encapsulated User Login module as a dll in c# which will be used in main application. in which say an object is created as
    usermodule userx=new usermodule();
    // then login function will be called which will prompt a standard Ui for login and will be
    // closed if login successful and will return true if login is fails after a 3 tries UI will
    //automatically get closed returning false value
    ...
    userx.Login();
    ......
    // like wise other functions like userx.changepwd(), will prompt an UI for login and will
    //return true or false accordingly
    the main thing is that all function to be called from main application will not have any parameters example
    Boolean Login(),etc;
    also one thing that i got is confusing me
    i had i conversation via mail to the programer company
    and he gave me this and added more to my confusion
    here it is
    "
    Hi,
    It should have with UI. It can be application based (prefer .net 2.0 or above) or web based. Note that the system will be in .net 3.5 windows application (not likely to be WPF).
    The idea for this module is to totally isolate it from other modules. Please take note on what happen when PC is disconnected or power cut off, how can the module know user is re-login and not multiple login.
    "
    Can you give me some hint what should i do and how i should start with my project
    my problem is how dll can be used for prompting a UI.
    like usermodule.login() will prompt a UI for login
    uermodule.changepassword() will prompt a for chaning password
    etc.
     
  2. neo_vi

    neo_vi Member

    Joined:
    Feb 1, 2008
    Messages:
    720
    Likes Received:
    16
    Trophy Points:
    18
    Occupation:
    Software engineer
    Location:
    Earth
    Home Page:
    http://computertipaday.blogspot.com
    duplicate thread.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice