[Last Call] Learn how to a build a cloud-first strategyRegister Now


Windows Form + Search Interface

Posted on 2007-08-05
Medium Priority
Last Modified: 2010-05-18
I want all grid to implement the same sort functionality, effectively each grid launches a find form, the user sets certain values and these are set on the owning form.

Also if the find form  recieves the the owner form as a paramter, do I need to cast it to set its values, if so would I need to know the form name as well.
Question by:rocky050371
  • 2
  • 2
LVL 96

Accepted Solution

Bob Learned earned 1000 total points
ID: 19634099
I am not quite sure what you are looking for here.  What is the question?


Author Comment

ID: 19634129
If I add a form which has a grid which I want the user to be able to use a seperate always shown search form. Can I inherit an interface which will tie together the find form and the view form with the grid on it. The find form gets properties from the grid form (column selected etc) and visa versa (search string, search direction), so I need to pass the grid form to the search form so it can set the users selection .

Author Comment

ID: 19634176
Can a form inherit an interface as it already inherits from its base class. Or is there a workaround to this. The worst case scenario is I have to reproduce the same methods in all view screens
LVL 96

Expert Comment

by:Bob Learned
ID: 19634185
1) You can have visual inheritance.

2) You can have hierarchical inheritance, just not multiple inheritance.


     Control, WebControl

LVL 86

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 1000 total points
ID: 19634306
"Can a form inherit an interface as it already inherits from its base class."

Technically you don't "inherit" an Interface...you IMPLEMENT an Interface.

A class can only Inherit from ONE class, but can Implement as MANY Interfaces as you want.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 22 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question