Solved

Creating control that don't have interface

Posted on 2011-03-01
10
302 Views
Last Modified: 2012-05-11
How can I create a control that don't have UI, same like (Timer, ContextMenuStrip, BackgroundWorker)?
0
Comment
Question by:Mohamed Abowarda
10 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 35010099
What kind of application?

Normally you use the code behind (right click on UI -> view code).
0
 
LVL 18

Expert Comment

by:Anil Golamari
ID: 35010167
You can also use the Property box of that particular control to build it.
http://www.dotnetperls.com/backgroundworker
0
 
LVL 12

Author Comment

by:Mohamed Abowarda
ID: 35010197
When you add some controls like Timer, BackgroundWorker, it don't show interface (the user can't see it, it can only be used by code) unlike Button, TextBox, etc..., I want to create a control that don't have user interface, it can only be used by the code.

Thanks,
0
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 334 total points
ID: 35010228
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 62

Assisted Solution

by:Fernando Soto
Fernando Soto earned 166 total points
ID: 35010372
Hi Medo3337;

Objects such as (Timer, ContextMenuStrip, BackgroundWorker) are Components. You can create non-visual components by inheriting from IComponent. This walkthrough will show how to create a component.

Walkthrough: Authoring a Component with Visual C#

Fernando
0
 
LVL 12

Author Comment

by:Mohamed Abowarda
ID: 35010685
One more additional thing, I want to add property in the component that contains list with checkboxes, how to do that?
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 334 total points
ID: 35010734
0
 
LVL 12

Author Comment

by:Mohamed Abowarda
ID: 35011304
@Idle_Mind,
The main idea of the component is to manage multiple controls in the parent form

There will be a property called "Controls", this property will contain a list of the parent form controls names, the developer will be able to check multiple controls names in the list.

OR

Property that allow the developer to add controls names, so the component will know which controls to perform actions on.
0
 
LVL 12

Author Closing Comment

by:Mohamed Abowarda
ID: 35124439
The answer is incomplete.

However, thanks,
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help parsing JSON in my VB.Net application 4 47
Remove greater than sign 3 49
Connection String 16 43
WCF Service Application cannot connect from TCP terminal 1 15
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

861 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now