Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - How can use DialogResult & button click events
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can use DialogResult & button click events

 Post Reply Post Reply
Author
Message
varun View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2011
Location: Hyderabad
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote varun Quote  Post ReplyReply Direct Link To This Post Topic: How can use DialogResult & button click events
    Posted: 21 February 2011 at 4:59am
I am new be using COdeJock

Can any one help me how to use following functionality

if (DialogResult.OK == frmNewServer.Show())
{
}

I have created a Ribbon MDI Form which has 2 SDI forms too

1. Add server Form
2. Edit server Form

When I click on Add Server Ribbon Command bar menu item, I have done some functionality to open Add Server Form.

When I click on Edit Server Ribbon Command bar menu Item, I have to open Edit server Form with a List View item and 4 buttons. In that  I need to create Add button & this should be linked with the 1st option code functionality

Questions:

1. When I click Add Button in Edit Server Form then it should open Add Server Form with functionality applied for Add Server Ribbon Command bar menu item.

I have used DialogResult statement in windows application but i dont know how to use this here
can any one help me...?

V
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.