Total members 11894 |It is currently Thu Nov 21, 2024 10:53 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka






 Project Name:   C sharp (C#) Scientific Calculator
 Programmer:   Ramzi Abou Rahal
 Type:   Math
 Technology:  C#
 IDE:   VS
 Description:   This is a scientific calculator that calculates fibonacci modulo factorial sin cos tan.. you are also able to change the background color and color of the buttons.

Here is sample code (Form1.Designer.cs:
csharp code
namespace Calculator_GUI
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}

#region Windows Form Designer generated code

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.textBox_output = new System.Windows.Forms.TextBox();
this.but_1 = new System.Windows.Forms.Button();
this.but_2 = new System.Windows.Forms.Button();
this.but_3 = new System.Windows.Forms.Button();
this.but_4 = new System.Windows.Forms.Button();
this.but_5 = new System.Windows.Forms.Button();
this.but_6 = new System.Windows.Forms.Button();
this.but_7 = new System.Windows.Forms.Button();
this.but_8 = new System.Windows.Forms.Button();
this.but_9 = new System.Windows.Forms.Button();
this.but_0 = new System.Windows.Forms.Button();
this.but_point = new System.Windows.Forms.Button();
this.but_plus = new System.Windows.Forms.Button();
this.but_minus = new System.Windows.Forms.Button();
this.but_multiply = new System.Windows.Forms.Button();
this.but_division = new System.Windows.Forms.Button();
this.but_equal = new System.Windows.Forms.Button();
this.but_Clear = new System.Windows.Forms.Button();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.menu_file = new System.Windows.Forms.ToolStripMenuItem();
this.menu_exit = new System.Windows.Forms.ToolStripMenuItem();
this.menu_edit = new System.Windows.Forms.ToolStripMenuItem();
this.menu_color = new System.Windows.Forms.ToolStripMenuItem();
this.changeFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.changeButtonsColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.backgroudToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menu_white = new System.Windows.Forms.ToolStripMenuItem();
this.menu_red = new System.Windows.Forms.ToolStripMenuItem();
this.foregroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menu_black = new System.Windows.Forms.ToolStripMenuItem();
this.menu_cyan = new System.Windows.Forms.ToolStripMenuItem();
this.menu_fun = new System.Windows.Forms.ToolStripMenuItem();
this.menu_open = new System.Windows.Forms.ToolStripMenuItem();
this.menu_close = new System.Windows.Forms.ToolStripMenuItem();
this.menu_clock = new System.Windows.Forms.ToolStripMenuItem();
this.menu_help = new System.Windows.Forms.ToolStripMenuItem();
this.menu_about = new System.Windows.Forms.ToolStripMenuItem();
this.but_backspace = new System.Windows.Forms.Button();
this.but_sin = new System.Windows.Forms.Button();
this.but_cos = new System.Windows.Forms.Button();
this.but_tan = new System.Windows.Forms.Button();
this.but_sqrt = new System.Windows.Forms.Button();
this.but_modulo = new System.Windows.Forms.Button();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.but_pi = new System.Windows.Forms.Button();
this.label_image = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.but_square = new System.Windows.Forms.Button();
this.but_cube = new System.Windows.Forms.Button();
this.but_factorial = new System.Windows.Forms.Button();
this.but_fibonacci = new System.Windows.Forms.Button();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// textBox_output
//
this.textBox_output.ForeColor = System.Drawing.Color.Black;
this.textBox_output.Location = new System.Drawing.Point(8, 34);
this.textBox_output.Name = "textBox_output";
this.textBox_output.Size = new System.Drawing.Size(138, 20);
this.textBox_output.TabIndex = 0;
this.textBox_output.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// but_1
//
this.but_1.BackColor = System.Drawing.Color.White;
this.but_1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_1.Location = new System.Drawing.Point(8, 130);
this.but_1.Name = "but_1";
this.but_1.Size = new System.Drawing.Size(33, 33);
this.but_1.TabIndex = 1;
this.but_1.Text = "1";
this.but_1.UseVisualStyleBackColor = false;
this.but_1.Click += new System.EventHandler(this.button1_Click);
//
// but_2
//
this.but_2.BackColor = System.Drawing.Color.White;
this.but_2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_2.Location = new System.Drawing.Point(44, 130);
this.but_2.Name = "but_2";
this.but_2.Size = new System.Drawing.Size(33, 33);
this.but_2.TabIndex = 2;
this.but_2.Text = "2";
this.but_2.UseVisualStyleBackColor = false;
this.but_2.Click += new System.EventHandler(this.button2_Click);
//
// but_3
//
this.but_3.BackColor = System.Drawing.Color.White;
this.but_3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_3.Location = new System.Drawing.Point(80, 130);
this.but_3.Name = "but_3";
this.but_3.Size = new System.Drawing.Size(33, 33);
this.but_3.TabIndex = 3;
this.but_3.Text = "3";
this.but_3.UseVisualStyleBackColor = false;
this.but_3.Click += new System.EventHandler(this.button3_Click);
//
// but_4
//
this.but_4.BackColor = System.Drawing.Color.White;
this.but_4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_4.Location = new System.Drawing.Point(8, 94);
this.but_4.Name = "but_4";
this.but_4.Size = new System.Drawing.Size(33, 33);
this.but_4.TabIndex = 4;
this.but_4.Text = "4";
this.but_4.UseVisualStyleBackColor = false;
this.but_4.Click += new System.EventHandler(this.button4_Click);
//
// but_5
//
this.but_5.BackColor = System.Drawing.Color.White;
this.but_5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_5.Location = new System.Drawing.Point(44, 94);
this.but_5.Name = "but_5";
this.but_5.Size = new System.Drawing.Size(33, 33);
this.but_5.TabIndex = 5;
this.but_5.Text = "5";
this.but_5.UseVisualStyleBackColor = false;
this.but_5.Click += new System.EventHandler(this.button5_Click);
//
// but_6
//
this.but_6.BackColor = System.Drawing.Color.White;
this.but_6.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_6.Location = new System.Drawing.Point(80, 94);
this.but_6.Name = "but_6";
this.but_6.Size = new System.Drawing.Size(33, 33);
this.but_6.TabIndex = 6;
this.but_6.Text = "6";
this.but_6.UseVisualStyleBackColor = false;
this.but_6.Click += new System.EventHandler(this.button6_Click);
//
// but_7
//
this.but_7.BackColor = System.Drawing.Color.White;
this.but_7.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_7.Location = new System.Drawing.Point(8, 58);
this.but_7.Name = "but_7";
this.but_7.Size = new System.Drawing.Size(33, 33);
this.but_7.TabIndex = 7;
this.but_7.Text = "7";
this.but_7.UseVisualStyleBackColor = false;
this.but_7.Click += new System.EventHandler(this.button7_Click);
//
// but_8
//
this.but_8.BackColor = System.Drawing.Color.White;
this.but_8.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_8.Location = new System.Drawing.Point(44, 58);
this.but_8.Name = "but_8";
this.but_8.Size = new System.Drawing.Size(33, 33);
this.but_8.TabIndex = 8;
this.but_8.Text = "8";
this.but_8.UseVisualStyleBackColor = false;
this.but_8.Click += new System.EventHandler(this.button8_Click);
//
// but_9
//
this.but_9.BackColor = System.Drawing.Color.White;
this.but_9.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_9.Location = new System.Drawing.Point(80, 58);
this.but_9.Name = "but_9";
this.but_9.Size = new System.Drawing.Size(33, 33);
this.but_9.TabIndex = 9;
this.but_9.Text = "9";
this.but_9.UseVisualStyleBackColor = false;
this.but_9.Click += new System.EventHandler(this.button9_Click);
//
// but_0
//
this.but_0.BackColor = System.Drawing.Color.White;
this.but_0.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_0.Location = new System.Drawing.Point(8, 166);
this.but_0.Name = "but_0";
this.but_0.Size = new System.Drawing.Size(33, 33);
this.but_0.TabIndex = 10;
this.but_0.Text = "0";
this.but_0.UseVisualStyleBackColor = false;
this.but_0.Click += new System.EventHandler(this.button10_Click);
//
// but_point
//
this.but_point.BackColor = System.Drawing.Color.White;
this.but_point.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_point.Location = new System.Drawing.Point(44, 166);
this.but_point.Name = "but_point";
this.but_point.Size = new System.Drawing.Size(33, 33);
this.but_point.TabIndex = 11;
this.but_point.Text = ".";
this.but_point.UseVisualStyleBackColor = false;
this.but_point.Click += new System.EventHandler(this.button11_Click);
//
// but_plus
//
this.but_plus.BackColor = System.Drawing.Color.Silver;
this.but_plus.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_plus.Location = new System.Drawing.Point(116, 166);
this.but_plus.Name = "but_plus";
this.but_plus.Size = new System.Drawing.Size(33, 33);
this.but_plus.TabIndex = 12;
this.but_plus.Text = "+";
this.but_plus.UseVisualStyleBackColor = false;
this.but_plus.Click += new System.EventHandler(this.button12_Click);
//
// but_minus
//
this.but_minus.BackColor = System.Drawing.Color.Silver;
this.but_minus.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_minus.Location = new System.Drawing.Point(116, 130);
this.but_minus.Name = "but_minus";
this.but_minus.Size = new System.Drawing.Size(33, 33);
this.but_minus.TabIndex = 13;
this.but_minus.Text = "-";
this.but_minus.UseVisualStyleBackColor = false;
this.but_minus.Click += new System.EventHandler(this.button13_Click);
//
// but_multiply
//
this.but_multiply.BackColor = System.Drawing.Color.Silver;
this.but_multiply.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_multiply.Location = new System.Drawing.Point(116, 94);
this.but_multiply.Name = "but_multiply";
this.but_multiply.Size = new System.Drawing.Size(33, 33);
this.but_multiply.TabIndex = 14;
this.but_multiply.Text = "*";
this.but_multiply.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.but_multiply.UseVisualStyleBackColor = false;
this.but_multiply.Click += new System.EventHandler(this.button14_Click);
//
// but_division
//
this.but_division.BackColor = System.Drawing.Color.Silver;
this.but_division.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_division.Location = new System.Drawing.Point(116, 58);
this.but_division.Name = "but_division";
this.but_division.Size = new System.Drawing.Size(33, 33);
this.but_division.TabIndex = 15;
this.but_division.Text = "/";
this.but_division.UseVisualStyleBackColor = false;
this.but_division.Click += new System.EventHandler(this.button15_Click);
//
// but_equal
//
this.but_equal.BackColor = System.Drawing.Color.Silver;
this.but_equal.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_equal.Location = new System.Drawing.Point(80, 166);
this.but_equal.Name = "but_equal";
this.but_equal.Size = new System.Drawing.Size(33, 33);
this.but_equal.TabIndex = 16;
this.but_equal.Text = "=";
this.but_equal.UseVisualStyleBackColor = false;
this.but_equal.Click += new System.EventHandler(this.button16_Click);
//
// but_Clear
//
this.but_Clear.BackColor = System.Drawing.Color.LightCoral;
this.but_Clear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_Clear.Location = new System.Drawing.Point(8, 204);
this.but_Clear.Name = "but_Clear";
this.but_Clear.Size = new System.Drawing.Size(54, 31);
this.but_Clear.TabIndex = 17;
this.but_Clear.Text = "C";
this.but_Clear.UseVisualStyleBackColor = false;
this.but_Clear.Click += new System.EventHandler(this.button17_Click);
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menu_file,
this.menu_edit,
this.menu_fun,
this.menu_help});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(308, 24);
this.menuStrip1.TabIndex = 18;
this.menuStrip1.Text = "menuStrip1";
//
// menu_file
//
this.menu_file.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menu_exit});
this.menu_file.Name = "menu_file";
this.menu_file.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F)));
this.menu_file.Size = new System.Drawing.Size(35, 20);
this.menu_file.Text = "File";
//
// menu_exit
//
this.menu_exit.Name = "menu_exit";
this.menu_exit.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X)));
this.menu_exit.Size = new System.Drawing.Size(152, 22);
this.menu_exit.Text = "Exit";
this.menu_exit.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// menu_edit
//
this.menu_edit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menu_color,
this.changeFormToolStripMenuItem,
this.changeButtonsColorToolStripMenuItem});
this.menu_edit.Name = "menu_edit";
this.menu_edit.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.E)));
this.menu_edit.Size = new System.Drawing.Size(37, 20);
this.menu_edit.Text = "Edit";
//
// menu_color
//
this.menu_color.Name = "menu_color";
this.menu_color.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T)));
this.menu_color.Size = new System.Drawing.Size(202, 22);
this.menu_color.Text = "Change Font Color";
this.menu_color.Click += new System.EventHandler(this.menu_color_Click);
//
// changeFormToolStripMenuItem
//
this.changeFormToolStripMenuItem.Name = "changeFormToolStripMenuItem";
this.changeFormToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.M)));
this.changeFormToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.changeFormToolStripMenuItem.Text = "Change Form Color";
this.changeFormToolStripMenuItem.Click += new System.EventHandler(this.changeFormToolStripMenuItem_Click);
//
// changeButtonsColorToolStripMenuItem
//
this.changeButtonsColorToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.backgroudToolStripMenuItem,
this.foregroundToolStripMenuItem});
this.changeButtonsColorToolStripMenuItem.Name = "changeButtonsColorToolStripMenuItem";
this.changeButtonsColorToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.changeButtonsColorToolStripMenuItem.Text = "Change Buttons Color";
//
// backgroudToolStripMenuItem
//
this.backgroudToolStripMenuItem.DropDownItems.AddRange
(new System.Windows.Forms.ToolStripItem[] {
this.menu_white,
this.menu_red});
this.backgroudToolStripMenuItem.Name = "backgroudToolStripMenuItem";
this.backgroudToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
this.backgroudToolStripMenuItem.Text = "Background";
//
// menu_white
//
this.menu_white.Checked = true;
this.menu_white.CheckState = System.Windows.Forms.CheckState.Checked;
this.menu_white.Name = "menu_white";
this.menu_white.Size = new System.Drawing.Size(102, 22);
this.menu_white.Text = "White";
this.menu_white.Click += new System.EventHandler
(this.blackToolStripMenuItem_Click_1);
//
// menu_red
//
this.menu_red.Name = "menu_red";
this.menu_red.Size = new System.Drawing.Size(102, 22);
this.menu_red.Text = "Red";
this.menu_red.Click += new System.EventHandler(this.redToolStripMenuItem_Click);
//
// foregroundToolStripMenuItem
//
this.foregroundToolStripMenuItem.DropDownItems.AddRange
(new System.Windows.Forms.ToolStripItem[] {
this.menu_black,
this.menu_cyan});
this.foregroundToolStripMenuItem.Name = "foregroundToolStripMenuItem";
this.foregroundToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
this.foregroundToolStripMenuItem.Text = "Foreground";
//
// menu_black
//
this.menu_black.Checked = true;
this.menu_black.CheckState = System.Windows.Forms.CheckState.Checked;
this.menu_black.Name = "menu_black";
this.menu_black.Size = new System.Drawing.Size(99, 22);
this.menu_black.Text = "Black";
this.menu_black.Click += new System.EventHandler(this.menu_black_Click);
//
// menu_cyan
//
this.menu_cyan.Name = "menu_cyan";
this.menu_cyan.Size = new System.Drawing.Size(99, 22);
this.menu_cyan.Text = "Cyan";
this.menu_cyan.Click += new System.EventHandler(this.menu_cyan_Click);
//
// menu_fun
//
this.menu_fun.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menu_open,
this.menu_close,
this.menu_clock});
this.menu_fun.Name = "menu_fun";
this.menu_fun.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.P)));
this.menu_fun.Size = new System.Drawing.Size(117, 20);
this.menu_fun.Text = "Programming for fun";
//
// menu_open
//
this.menu_open.Name = "menu_open";
this.menu_open.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.O)));
this.menu_open.Size = new System.Drawing.Size(176, 22);
this.menu_open.Text = "Open Sesame";
this.menu_open.Click += new System.EventHandler
(this.openToolStripMenuItem_Click);
//
// menu_close
//
this.menu_close.Name = "menu_close";
this.menu_close.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.S)));
this.menu_close.Size = new System.Drawing.Size(176, 22);
this.menu_close.Text = "Close Sesame";
this.menu_close.Click += new System.EventHandler
(this.closeToolStripMenuItem_Click);
//
// menu_clock
//
this.menu_clock.Name = "menu_clock";
this.menu_clock.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T)));
this.menu_clock.Size = new System.Drawing.Size(176, 22);
this.menu_clock.Text = "Date / Time";
this.menu_clock.Click += new System.EventHandler
(this.clockToolStripMenuItem_Click);
//
// menu_help
//
this.menu_help.DropDownItems.AddRange
(new System.Windows.Forms.ToolStripItem[] {
this.menu_about});
this.menu_help.Name = "menu_help";
this.menu_help.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H)));
this.menu_help.Size = new System.Drawing.Size(40, 20);
this.menu_help.Text = "Help";
//
// menu_about
//
this.menu_about.Name = "menu_about";
this.menu_about.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.A)));
this.menu_about.Size = new System.Drawing.Size(152, 22);
this.menu_about.Text = "About";
this.menu_about.Click += new System.EventHandler
(this.aboutToolStripMenuItem_Click);
//
// but_backspace
//
this.but_backspace.BackColor = System.Drawing.Color.GhostWhite;
this.but_backspace.Enabled = false;
this.but_backspace.Font = new System.Drawing.Font
("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_backspace.Location = new System.Drawing.Point(64, 204);
this.but_backspace.Name = "but_backspace";
this.but_backspace.Size = new System.Drawing.Size(85, 31);
this.but_backspace.TabIndex = 19;
this.but_backspace.Text = "Backspace";
this.but_backspace.UseVisualStyleBackColor = false;
this.but_backspace.Click += new System.EventHandler(this.button18_Click);
//
// but_sin
//
this.but_sin.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_sin.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_sin.Location = new System.Drawing.Point(155, 58);
this.but_sin.Name = "but_sin";
this.but_sin.Size = new System.Drawing.Size(70, 33);
this.but_sin.TabIndex = 20;
this.but_sin.Text = "Sin";
this.but_sin.UseVisualStyleBackColor = false;
this.but_sin.Visible = false;
this.but_sin.Click += new System.EventHandler(this.button19_Click);
//
// but_cos
//
this.but_cos.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_cos.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_cos.Location = new System.Drawing.Point(231, 58);
this.but_cos.Name = "but_cos";
this.but_cos.Size = new System.Drawing.Size(70, 33);
this.but_cos.TabIndex = 21;
this.but_cos.Text = "Cos";
this.but_cos.UseVisualStyleBackColor = false;
this.but_cos.Visible = false;
this.but_cos.Click += new System.EventHandler(this.button20_Click);
//
// but_tan
//
this.but_tan.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_tan.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_tan.Location = new System.Drawing.Point(155, 94);
this.but_tan.Name = "but_tan";
this.but_tan.Size = new System.Drawing.Size(70, 33);
this.but_tan.TabIndex = 22;
this.but_tan.Text = "Tan";
this.but_tan.UseVisualStyleBackColor = false;
this.but_tan.Visible = false;
this.but_tan.Click += new System.EventHandler(this.button21_Click);
//
// but_sqrt
//
this.but_sqrt.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_sqrt.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_sqrt.Location = new System.Drawing.Point(231, 94);
this.but_sqrt.Name = "but_sqrt";
this.but_sqrt.Size = new System.Drawing.Size(70, 33);
this.but_sqrt.TabIndex = 23;
this.but_sqrt.Text = "Sqrt";
this.but_sqrt.UseVisualStyleBackColor = false;
this.but_sqrt.Visible = false;
this.but_sqrt.Click += new System.EventHandler(this.button22_Click);
//
// but_modulo
//
this.but_modulo.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_modulo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_modulo.Location = new System.Drawing.Point(155, 130);
this.but_modulo.Name = "but_modulo";
this.but_modulo.Size = new System.Drawing.Size(70, 33);
this.but_modulo.TabIndex = 24;
this.but_modulo.Text = "Modulo";
this.but_modulo.UseVisualStyleBackColor = false;
this.but_modulo.Visible = false;
this.but_modulo.Click += new System.EventHandler(this.button1_Click_1);
//
// radioButton1
//
this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true;
this.radioButton1.Location = new System.Drawing.Point(155, 35);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(68, 17);
this.radioButton1.TabIndex = 25;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "Standard";
this.radioButton1.UseVisualStyleBackColor = true;
this.radioButton1.CheckedChanged += new System.EventHandler
(this.radioButton1_CheckedChanged);
//
// radioButton2
//
this.radioButton2.AutoSize = true;
this.radioButton2.Location = new System.Drawing.Point(229, 34);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(68, 17);
this.radioButton2.TabIndex = 26;
this.radioButton2.Text = "Scientific";
this.radioButton2.UseVisualStyleBackColor = true;
this.radioButton2.CheckedChanged += new System.EventHandler
(this.radioButton2_CheckedChanged);
//
// but_pi
//
this.but_pi.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_pi.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_pi.Location = new System.Drawing.Point(231, 130);
this.but_pi.Name = "but_pi";
this.but_pi.Size = new System.Drawing.Size(70, 33);
this.but_pi.TabIndex = 27;
this.but_pi.Text = "Pi";
this.but_pi.UseVisualStyleBackColor = false;
this.but_pi.Visible = false;
this.but_pi.Click += new System.EventHandler(this.but_pi_Click);
//
// label_image
//
this.label_image.Image = global::Calculator_GUI.Properties.Resources.ramzi1;
this.label_image.Location = new System.Drawing.Point(152, 58);
this.label_image.Name = "label_image";
this.label_image.Size = new System.Drawing.Size(149, 177);
this.label_image.TabIndex = 28;
//
// but_square
//
this.but_square.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_square.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_square.Location = new System.Drawing.Point(155, 166);
this.but_square.Name = "but_square";
this.but_square.Size = new System.Drawing.Size(70, 33);
this.but_square.TabIndex = 30;
this.but_square.Text = "X^2";
this.but_square.UseVisualStyleBackColor = false;
this.but_square.Visible = false;
this.but_square.Click += new System.EventHandler(this.button1_Click_2);
//
// but_cube
//
this.but_cube.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_cube.Font = new System.Drawing.Font
("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_cube.Location = new System.Drawing.Point(231, 166);
this.but_cube.Name = "but_cube";
this.but_cube.Size = new System.Drawing.Size(70, 33);
this.but_cube.TabIndex = 31;
this.but_cube.Text = "X^3";
this.but_cube.UseVisualStyleBackColor = false;
this.but_cube.Visible = false;
this.but_cube.Click += new System.EventHandler(this.button1_Click_3);
//
// but_factorial
//
this.but_factorial.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_factorial.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_factorial.Location = new System.Drawing.Point(155, 202);
this.but_factorial.Name = "but_factorial";
this.but_factorial.Size = new System.Drawing.Size(70, 33);
this.but_factorial.TabIndex = 32;
this.but_factorial.Text = "X !";
this.but_factorial.UseVisualStyleBackColor = false;
this.but_factorial.Visible = false;
this.but_factorial.Click += new System.EventHandler(this.button1_Click_4);
//
// but_fibonacci
//
this.but_fibonacci.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.but_fibonacci.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.but_fibonacci.Location = new System.Drawing.Point(231, 202);
this.but_fibonacci.Name = "but_fibonacci";
this.but_fibonacci.Size = new System.Drawing.Size(70, 33);
this.but_fibonacci.TabIndex = 33;
this.but_fibonacci.Text = "Fibonacci";
this.but_fibonacci.UseVisualStyleBackColor = false;
this.but_fibonacci.Visible = false;
this.but_fibonacci.Click += new System.EventHandler(this.but_fibonacci_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.BackColor = System.Drawing.Color.FromArgb
(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(308, 255);
this.Controls.Add(this.label_image);
this.Controls.Add(this.but_fibonacci);
this.Controls.Add(this.but_factorial);
this.Controls.Add(this.but_cube);
this.Controls.Add(this.but_square);
this.Controls.Add(this.but_pi);
this.Controls.Add(this.radioButton2);
this.Controls.Add(this.radioButton1);
this.Controls.Add(this.but_modulo);
this.Controls.Add(this.but_sqrt);
this.Controls.Add(this.but_tan);
this.Controls.Add(this.but_cos);
this.Controls.Add(this.but_sin);
this.Controls.Add(this.but_backspace);
this.Controls.Add(this.but_Clear);
this.Controls.Add(this.but_equal);
this.Controls.Add(this.but_division);
this.Controls.Add(this.but_multiply);
this.Controls.Add(this.but_minus);
this.Controls.Add(this.but_plus);
this.Controls.Add(this.but_point);
this.Controls.Add(this.but_0);
this.Controls.Add(this.but_9);
this.Controls.Add(this.but_8);
this.Controls.Add(this.but_7);
this.Controls.Add(this.but_6);
this.Controls.Add(this.but_5);
this.Controls.Add(this.but_4);
this.Controls.Add(this.but_3);
this.Controls.Add(this.but_2);
this.Controls.Add(this.but_1);
this.Controls.Add(this.textBox_output);
this.Controls.Add(this.menuStrip1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MainMenuStrip = this.menuStrip1;
this.Name = "Form1";
this.Text = "Calculator";
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();

}

#endregion

private System.Windows.Forms.TextBox textBox_output;
private System.Windows.Forms.Button but_1;
private System.Windows.Forms.Button but_2;
private System.Windows.Forms.Button but_3;
private System.Windows.Forms.Button but_4;
private System.Windows.Forms.Button but_5;
private System.Windows.Forms.Button but_6;
private System.Windows.Forms.Button but_7;
private System.Windows.Forms.Button but_8;
private System.Windows.Forms.Button but_9;
private System.Windows.Forms.Button but_0;
private System.Windows.Forms.Button but_point;
private System.Windows.Forms.Button but_plus;
private System.Windows.Forms.Button but_minus;
private System.Windows.Forms.Button but_multiply;
private System.Windows.Forms.Button but_division;
private System.Windows.Forms.Button but_equal;
private System.Windows.Forms.Button but_Clear;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem menu_file;
private System.Windows.Forms.ToolStripMenuItem menu_exit;
private System.Windows.Forms.ToolStripMenuItem menu_help;
private System.Windows.Forms.ToolStripMenuItem menu_about;
private System.Windows.Forms.Button but_backspace;
private System.Windows.Forms.Button but_sin;
private System.Windows.Forms.Button but_cos;
private System.Windows.Forms.Button but_tan;
private System.Windows.Forms.Button but_sqrt;
private System.Windows.Forms.Button but_modulo;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.Button but_pi;
private System.Windows.Forms.ToolStripMenuItem menu_fun;
private System.Windows.Forms.ToolStripMenuItem menu_open;
private System.Windows.Forms.ToolStripMenuItem menu_close;
private System.Windows.Forms.Label label_image;
private System.Windows.Forms.ToolStripMenuItem menu_clock;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.ToolStripMenuItem menu_edit;
private System.Windows.Forms.ToolStripMenuItem menu_color;
private System.Windows.Forms.Button but_square;
private System.Windows.Forms.Button but_cube;
private System.Windows.Forms.Button but_factorial;
private System.Windows.Forms.ToolStripMenuItem changeFormToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem changeButtonsColorToolStripMenuItem;
private System.Windows.Forms.Button but_fibonacci;
private System.Windows.Forms.ToolStripMenuItem backgroudToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_white;
private System.Windows.Forms.ToolStripMenuItem menu_red;
private System.Windows.Forms.ToolStripMenuItem foregroundToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_black;
private System.Windows.Forms.ToolStripMenuItem menu_cyan;

}
}


Attachment:
sds.JPG
sds.JPG [ 27.48 KiB | Viewed 15988 times ]





Attachments:
Scientific_Calculator.zip [114.24 KiB]
Downloaded 6179 times

_________________
Please recommend my post if you found it helpful. ,
java,j2ee,ccna ,ccnp certified .
Author:
Expert
User avatar Posts: 838
Have thanks: 2 time

hey i need a source code of scientific calculator
its really urgent plz help me



Author:
Newbie
User avatar Posts: 3
Have thanks: 0 time

it is attached


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

but project file is missing
kindly send me the complete folder including project file,classes and main program



Author:
Newbie
User avatar Posts: 3
Have thanks: 0 time

reply me plzz as soon as possible



Author:
Newbie
User avatar Posts: 3
Have thanks: 0 time

hey.. thanks a lot..
but can i get a pure c source code....



Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

updated


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 7 posts ] 

  Related Posts  to : Scientific Calculator
 C++ Calculator     -  
 Calculator     -  
 Calculator     -  
 C++ calculator with modification.     -  
 Simple Calculator     -  
 Making calculator in JAVA     -  
 Build Calculator in OpenGL     -  
 Complex numbers calculator (C++)     -  
 Simple JavaScript calculator     -  
 how to program a windows standard calculator     -  



Topic Tags

C# Projects
cron






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com