Find Jobs
Hire Freelancers

Calculator

$15-20 USD

完了済み
投稿日: 20年以上前

$15-20 USD

完了時にお支払い
• Save and run the file named _ITP420_Unit4.exe_. Click the buttons 1,2,3. As you click each button, the value appears in the label at the top of the form. Click the + button. The value and operator (123+) appear in the label at the right of the form. Enter another number and then click the equal sign. The two values are added, and the intermediate result is stored in the label on the right side of the form. Continue to enter numbers and operators to become familiar with the functioning of the calculator. Click the C btn to clear calculator. Exit solution. • Start VB NET and create a new solution named Unit4.sln. • Create the control instances on the form as shown below • Write the code so that when the user presses one of the numeric buttons on the calculator, the value is appended to the label appearing at the top of the form. • Write the statements to perform arithmetic operations on the current numbers. Each time an operation is performed, your solution should clear the contents of the current number label. Write the code to perform the following operations: add'n (+), sub'n (-), multip'n (*), div'n (/), and equals (=). This task requires some thought because the arithmetic operation that you need to perform is not performed on the current operator. Rather, the operation is performed on the previous operator. Hint: create a variable to store the previous operator. Your code also needs to detect whether the operand is the first operand. • Write the statements for the C button. This button should clear the contents of the number label and the tape label. • Create error handlers as necessary to prevent all possible errors, including numeric overflow, numeric underflow errors in type conversion, and division by zero errors. • Create a menu for the form with a single menu title having a caption of Format. Create three menu items on the Format menu having captions of Background Colors, Text Colors, and Fonts. • Create an instance of the ColorDialog control on the form. When the user clicks the Background Colors button, set the background color of the two labels appearing on the form. When the user clicks the Text Colors button, set the text color of the Label control instances. Allow the user to define custom colors. • Create an instance of the FontDialog on the form. When the user clicks the Fonts menu item, set the Font in the two labels to the font selected by the user. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform VB.Net 2002
プロジェクト ID: 2974881

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 21年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$16 USD 14日以内
5.0 (2109 レビュー)
8.3
8.3

クライアントについて

UNITED STATESのフラグ
San Antonio, United States
5.0
9
メンバー登録日:8月 7, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。