Develop a windows based drawing application. This application is used for drawing different primitive figures with different colors, brushes, x coordinate, y coordinate and other different attributes. This application must have the ability to draw text in different colors, size and font style. The application must have the options to make the text bold, italicized and underline.
The application must contain five drop down menus.
“Draw Figures”, “Brush Type”, “Brush Color”, “Font” and “Exit”.
Draw Figures:
“Draw Figures” drop down menu must have at least five sub menus to draw different primitive shapes.
The drop down menus may be Rectangle, Square, Circle, Polygon, Circle and so on. Whenever user clicks on one of the sub menu then corresponding figures must be drawn.
Whenever user clicks on one of the sub menu of “Draw Figure” and user has not selected any brush type, brush color and font then it must display a message box or dialog box. This message box or dialog box must display a message that
“You have not selected brush type or brush color or font! Are you sure, you wanted to draw figure and text with default brush, color and font”.
When user clicks on the one of the sub menu of “draw figure”, then application must display edit boxes and one button named “Draw”.
The edit boxes may be vary depending on the type of the figure. However there must be two edit boxes “x Coordinate” and “y Coordinate” for every figure.
For example, if user wanted to draw a rectangle, then application must display four edit boxes named, “x coordinate”, “y coordinate”, “height” and “width”.
When user clicks on “Draw” button then selected figure must be drawn. At the top of the figure text must be displayed depending on the type of figure. For example, when a circle is drawn then text must be “Circle”. The text must be displayed using selected font size, color and style.
Brush Type:
“Brush Type” drop down menu must have at least five sub menus to select different brush to draw figure.
Brush may be Cross-hatched, Vertical, horizontal and so on.
Whenever user clicks on one of the sub menu then corresponding brush must be selected.
Brush Color:
“Brush Color” drop down menu must have at least 5 sub menus to select different brush colors to draw figure.
Whenever user clicks on one of the sub menu then corresponding brush color must be selected.
Font:
“Font” drop down menu must have 3 popup menus and 3 sub menus.
Three sub menus are Bold, Italic and Underline.
Three popup sub menus are Size, Font Style and, Color.
Size:
“Size” popup menu must have at least 5 sub menus. The basic purpose of this menu is to select the size of text. Whenever a user clicks on any sizes then text will be displayed with selected size.
Font Style:
“Font Style” popup menu must have at least 5 sub menus. The basic purpose of this menu is to select the different font face of text. For example, font face can be “Arial”,”Times New Roman“, “Verdana”and so on. Whenever a user clicks on any style then text will be displayed with selected font face.
Color:
“Color” drop down menu must have at least 5 sub menus to select different colors to draw figure.
Whenever user clicks on one of the sub menu then corresponding color must be selected
Bold:
When user clicks on “Bold” sub menu of “Font” menu then text must be displayed bold.
Italic:
When user clicks on “Italic” sub menu of “Font” menu then text must be italicized.
Underline:
When user clicks on “Underline” sub menu of “Font” menu then text must be underlined.
Exit:
The Exit menu must have one sub menu “Exit”. When user clicks on “Exit” sub menu then application must terminate.
When user clicks on the “Close” button of the application, then it must display a message box containing text “Thanking for using this application”.
1 1660 Savage 1,764
Recognized Expert Top Contributor
Interesting assignment,but what have you done so far?
You are not expecting us to do all the hard work,or do you?
Try to do it yourself and the if it isn't working post here your efforts.
Also it's recommended that you read our posting guidelines before posting again.
regards
Savage
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: farshad |
last post by:
Hello,
Could someone tell me which way can we use windows command(for example
Create New Folder) in visual c++ programing or use dos command without
using dos prompt.
best regards
farshad
|
by: Tamir Khason |
last post by:
Is it possible? or just my fantasy?
I did it before with cpp. Handle and change base classes such as dialogs,
windows etc.
Is it possible to do with C#? Someone knows good reference to such kind of
programming?
TNX
--
Tamir Khason
|
by: cyshao |
last post by:
How to reset Router by programing?
For some resean, we need usually reset our Router.
Now, we have to Reset Router manually(shot down and reopen).
Are there any method to control and reset Router by programing ?
Thanks
|
by: Xah Lee |
last post by:
Of Interest:
Introduction to 3D Graphics Programing
http://xahlee.org/3d/index.html
Currently, this introduction introduces you to the graphics format of
Mathematica, and two Java Applet utilities that allows you to view them
with live rotation in a web browser. Also, it includes a introductory
tutorial to POV-Ray.
|
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. For example:
f(3)
f(3, )
| |
by: sengpg345 |
last post by:
hi everybody.
i have a project in colage for messanger but i haven't idea of socket programing in c#.net .
so plz give me the guidence i socket programing.
if u have row matirial or tutorial then give me.
|
by: Jack Dowson |
last post by:
Hello Everybody:
I'm learning c now.I think it's really a tedious job following my
textbook to write programs which are used to deal with math problems.I
want to write some codes related with OS(just like creating processes or
so).Then it may refers to the applying of windows API.
Now here is my question:How to use api in my source code without
error?Will the statement "#include<windows.h>" do(I can't find this head
file in my include...
|
by: folen |
last post by:
Hi to every body,
I am reading this forum since about two weeks, this forum has solved a lot of question that i had, thank to every body.
I have a question about messages (WM_PAINT, etc...) in a no window object.
I am programming in C#.
I have an application which is yet developed, i can´t change it. This application have a communication funtionality, you can send a private message with SendMessage and when the application process...
|
by: Abhinay |
last post by:
Hello,
I am new in windows socket programing, I am unable to get exact difference between bind() and connect() functions provided by windows( winsock.h)
ie when to use bind() and when to use connect() functions.
can any budy help me to solve my problem.
In order to know internal working of windows socket which doc/link should i refer ???
thanks in advance.
Abhinay
|
by: maamirj |
last post by:
Hi,
I am newly start prgraming from very beigning using .net c# 2005 can u help me the concepts of programing, oops from begining and how to start programing wih right techniques.
thanks
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |