Link between 2 interface

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • timon

    Link between 2 interface

    Can anyone tell me , how to link 2 interface together by using a button in
    C#, .net?


  • timon

    #2
    Re: Link between 2 interface

    e.g i have create 2 from(user interface) in .net which from A and from B
    I have create a Button in from A. what i want is that when I click the
    button the from B will come up
    is anyone can provide some sample code to me?>


    Comment

    • Morten Wennevik

      #3
      Re: Link between 2 interface

      Your question is still somewhat unclear.
      You have two user interfaces? And a button will change the user interface
      to something else?

      Well, one way to do it would be to place the interfaces in separate panels.
      Make B panel invisible, and if you click the button, make panel A invisible
      and panel B visible.

      private void button1_Click(o bject sender, System.EventArg s e)
      {
      panelA.Visible = false;
      panelB.Visible = true;
      }

      Another may be tabcontrols
      --
      Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

      Comment

      • timon

        #4
        Re: Link between 2 interface

        I mean I create 2 window form. eg "Login" and "ChangePassword ".
        "Login" window form has a button called "cahnge password"
        After I click the "change password" button, the "ChangePassword " window form
        will come up.
        I'm sorry for my unclear english........ ...


        Comment

        • james

          #5
          Re: Link between 2 interface

          ChangePasswordP anel p = new ChangePasswordP anel ();
          p.Show()


          "timon" <timon_so@hotma il.com> wrote in message
          news:#rkwxTicDH A.1808@TK2MSFTN GP11.phx.gbl...[color=blue]
          > I mean I create 2 window form. eg "Login" and "ChangePassword ".
          > "Login" window form has a button called "cahnge password"
          > After I click the "change password" button, the "ChangePassword " window[/color]
          form[color=blue]
          > will come up.
          > I'm sorry for my unclear english........ ...
          >
          >[/color]


          Comment

          • timon

            #6
            Re: Link between 2 interface

            thx.... and one more question?
            how to make the Login invisable?


            Comment

            • james

              #7
              Re: Link between 2 interface

              You mean the login button, login panel, login text field ??????
              You really need to be more explicit. Look up Show, Hide, Visible etc...


              good luck

              JIM


              "timon" <timon_so@hotma il.com> wrote in message
              news:#Wf7E7icDH A.1488@TK2MSFTN GP12.phx.gbl...[color=blue]
              > thx.... and one more question?
              > how to make the Login invisable?
              >
              >[/color]


              Comment

              Working...