473,396 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Interface and TabSheets

I have an interface I wrote, IMyInterface. Once of the methods that
must be implemented returns a TabSheet. This is added to the settings
TabControl at run time when the implemented interface is loaded.

Currently I have something like the following:

TabSheet curSheet = new TabSheet();
create controls, place them, etc....
return curSheet
I don't want to have to play with the left/top and then run it to see
the results. How can I do this via a designer? Push in the right
direction is all I need, not sre what to look in the help for.

Thanks
Wayne

Nov 28 '05 #1
3 1617
Hi,

Not sure if this will help you, but you could create a temp form with a
tabcontrol/tabpage, create the UI you want visually and then go to the code,
copy the code the designer generated and paste it in your class

You should leave this temp form until you deploy your system, it;s easier to
make changes this way

cheers.

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"ThisBytes5" <Th********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I have an interface I wrote, IMyInterface. Once of the methods that
must be implemented returns a TabSheet. This is added to the settings
TabControl at run time when the implemented interface is loaded.

Currently I have something like the following:

TabSheet curSheet = new TabSheet();
create controls, place them, etc....
return curSheet
I don't want to have to play with the left/top and then run it to see
the results. How can I do this via a designer? Push in the right
direction is all I need, not sre what to look in the help for.

Thanks
Wayne

Nov 28 '05 #2
That's what I've been doing so far, just a pain.

Thanks
Wayne

Nov 30 '05 #3
I just thought of something else, may not be the best thing though.

I added a form to my Assembly that implements my interface, on teh form
I put a Tab Control and a TabPage. When the tab sheet is requested I
create an instance of the form and just return the TabPage. this allows
me to visually design the TabPage and hook all the events I need to the
controls on the Sheet.

Nov 30 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Roy Pereira | last post by:
I have an application that is composed of a set of "Content" dlls and a viewer application. The viewer calls a standard set of functions that are present in all the dlls. I maintain this by...
9
by: Anon Email | last post by:
Hi people, I'm learning about header files in C++. The following is code from Bartosz Milewski: // Code const int maxStack = 16; class IStack
4
by: Doug | last post by:
I am working on an existing .NET (C Sharp) component that had a com interface that was used by a VB component. When it was originally written, it had the SSEAssemblyCom class below - minus the two...
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
6
by: Alex Sedow | last post by:
Example 1 interface I { string ToString(); } public class C : I { public void f() {
20
by: Ole Hanson | last post by:
I am accessing my database through an interface, to allow future substitution of the physical datastore - hence I would like to declare in my Interface that my DAL-objects implementing the...
2
by: Alex Sedow | last post by:
Why interface-event-declaration does not support multiple declarators like event-declaration? Grammar from C# spec: variable-declarators: variable-declarator variable-declarators ","...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
15
by: Xah Lee | last post by:
On Java's Interface Xah Lee, 20050223 In Java the language, there's this a keyword “interface”. In a functional language, a function can be specified by its name and parameter specs....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.