From 2a3d6fc042cf66597d573215c099d3fff8f92de0 Mon Sep 17 00:00:00 2001 From: Amrit Panesar Date: Sun, 12 Apr 2015 23:48:42 -0700 Subject: [PATCH] COM380 project2 changes Signed-off-by: Amrit Panesar --- COM380/Project3/Project3/Form1.h | 184 +++++++++++++++++++++++++++- COM380/Project3/Project3/Form1.resX | 31 +++-- COM380/README.md | 13 ++ README.md | 10 +- 4 files changed, 223 insertions(+), 15 deletions(-) create mode 100644 COM380/README.md diff --git a/COM380/Project3/Project3/Form1.h b/COM380/Project3/Project3/Form1.h index a381d3c..5bbbad6 100644 --- a/COM380/Project3/Project3/Form1.h +++ b/COM380/Project3/Project3/Form1.h @@ -34,6 +34,20 @@ namespace Project3 { delete components; } } + private: System::Windows::Forms::TextBox^ textBox1; + protected: + private: System::Windows::Forms::MenuStrip^ menuStrip1; + private: System::Windows::Forms::ToolStripMenuItem^ fileToolStripMenuItem; + private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem; + private: System::Windows::Forms::ToolStripMenuItem^ helpToolStripMenuItem; + private: System::Windows::Forms::ToolStripMenuItem^ aboutwayToolStripMenuItem; + private: System::Windows::Forms::GroupBox^ groupBox1; + private: System::Windows::Forms::GroupBox^ groupBox2; + private: System::Windows::Forms::TextBox^ textBox2; + private: System::Windows::Forms::Button^ button1; + private: System::Windows::Forms::Button^ button2; + private: System::Windows::Forms::GroupBox^ groupBox3; + private: System::Windows::Forms::TextBox^ textBox3; private: /// @@ -48,13 +62,173 @@ namespace Project3 { /// void InitializeComponent(void) { - this->components = gcnew System::ComponentModel::Container(); - this->Size = System::Drawing::Size(300,300); - this->Text = L"Form1"; - this->Padding = System::Windows::Forms::Padding(0); + this->textBox1 = (gcnew System::Windows::Forms::TextBox()); + this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip()); + this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); + this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); + this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); + this->groupBox1 = (gcnew System::Windows::Forms::GroupBox()); + this->groupBox2 = (gcnew System::Windows::Forms::GroupBox()); + this->textBox2 = (gcnew System::Windows::Forms::TextBox()); + this->button1 = (gcnew System::Windows::Forms::Button()); + this->button2 = (gcnew System::Windows::Forms::Button()); + this->groupBox3 = (gcnew System::Windows::Forms::GroupBox()); + this->textBox3 = (gcnew System::Windows::Forms::TextBox()); + this->aboutwayToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); + this->menuStrip1->SuspendLayout(); + this->groupBox1->SuspendLayout(); + this->groupBox2->SuspendLayout(); + this->groupBox3->SuspendLayout(); + this->SuspendLayout(); + // + // textBox1 + // + this->textBox1->Dock = System::Windows::Forms::DockStyle::Fill; + this->textBox1->Location = System::Drawing::Point(3, 16); + this->textBox1->Multiline = true; + this->textBox1->Name = L"textBox1"; + this->textBox1->Size = System::Drawing::Size(490, 151); + this->textBox1->TabIndex = 0; + // + // menuStrip1 + // + this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->fileToolStripMenuItem, + this->helpToolStripMenuItem}); + this->menuStrip1->Location = System::Drawing::Point(0, 0); + this->menuStrip1->Name = L"menuStrip1"; + this->menuStrip1->Size = System::Drawing::Size(520, 24); + this->menuStrip1->TabIndex = 1; + this->menuStrip1->Text = L"menuStrip1"; + // + // fileToolStripMenuItem + // + this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->exitToolStripMenuItem}); + this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem"; + this->fileToolStripMenuItem->ShortcutKeys = static_cast((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::F)); + this->fileToolStripMenuItem->Size = System::Drawing::Size(47, 20); + this->fileToolStripMenuItem->Text = L"Ile&fay"; + // + // exitToolStripMenuItem + // + this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem"; + this->exitToolStripMenuItem->ShortcutKeys = static_cast((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::F4)); + this->exitToolStripMenuItem->Size = System::Drawing::Size(155, 22); + this->exitToolStripMenuItem->Text = L"&Exitway"; + // + // helpToolStripMenuItem + // + this->helpToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->aboutwayToolStripMenuItem}); + this->helpToolStripMenuItem->Name = L"helpToolStripMenuItem"; + this->helpToolStripMenuItem->ShortcutKeys = static_cast((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::H)); + this->helpToolStripMenuItem->Size = System::Drawing::Size(54, 20); + this->helpToolStripMenuItem->Text = L"Elp&hay"; + // + // groupBox1 + // + this->groupBox1->Controls->Add(this->textBox1); + this->groupBox1->Location = System::Drawing::Point(12, 27); + this->groupBox1->Name = L"groupBox1"; + this->groupBox1->Size = System::Drawing::Size(496, 170); + this->groupBox1->TabIndex = 2; + this->groupBox1->TabStop = false; + this->groupBox1->Text = L"Originalway Exttay"; + // + // groupBox2 + // + this->groupBox2->Controls->Add(this->textBox2); + this->groupBox2->Location = System::Drawing::Point(9, 275); + this->groupBox2->Name = L"groupBox2"; + this->groupBox2->Size = System::Drawing::Size(496, 170); + this->groupBox2->TabIndex = 3; + this->groupBox2->TabStop = false; + this->groupBox2->Text = L"Anslatedtray Exttay"; + // + // textBox2 + // + this->textBox2->Dock = System::Windows::Forms::DockStyle::Fill; + this->textBox2->Location = System::Drawing::Point(3, 16); + this->textBox2->Multiline = true; + this->textBox2->Name = L"textBox2"; + this->textBox2->Size = System::Drawing::Size(490, 151); + this->textBox2->TabIndex = 0; + // + // button1 + // + this->button1->Location = System::Drawing::Point(139, 215); + this->button1->Name = L"button1"; + this->button1->Size = System::Drawing::Size(243, 44); + this->button1->TabIndex = 4; + this->button1->Text = L"Anslatetray!"; + this->button1->UseVisualStyleBackColor = true; + this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click); + // + // button2 + // + this->button2->Location = System::Drawing::Point(139, 471); + this->button2->Name = L"button2"; + this->button2->Size = System::Drawing::Size(243, 44); + this->button2->TabIndex = 5; + this->button2->Text = L"Eray-Anslatetray!"; + this->button2->UseVisualStyleBackColor = true; + // + // groupBox3 + // + this->groupBox3->Controls->Add(this->textBox3); + this->groupBox3->Location = System::Drawing::Point(15, 534); + this->groupBox3->Name = L"groupBox3"; + this->groupBox3->Size = System::Drawing::Size(496, 170); + this->groupBox3->TabIndex = 4; + this->groupBox3->TabStop = false; + this->groupBox3->Text = L"Eray-anslatedtray Exttay"; + // + // textBox3 + // + this->textBox3->Dock = System::Windows::Forms::DockStyle::Fill; + this->textBox3->Location = System::Drawing::Point(3, 16); + this->textBox3->Multiline = true; + this->textBox3->Name = L"textBox3"; + this->textBox3->Size = System::Drawing::Size(490, 151); + this->textBox3->TabIndex = 0; + // + // aboutwayToolStripMenuItem + // + this->aboutwayToolStripMenuItem->Name = L"aboutwayToolStripMenuItem"; + this->aboutwayToolStripMenuItem->ShortcutKeys = static_cast(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Alt) + | System::Windows::Forms::Keys::A)); + this->aboutwayToolStripMenuItem->Size = System::Drawing::Size(193, 22); + this->aboutwayToolStripMenuItem->Text = L"&Aboutway"; + // + // Form1 + // + this->AutoScaleDimensions = System::Drawing::SizeF(6, 13); this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; + this->ClientSize = System::Drawing::Size(520, 728); + this->Controls->Add(this->groupBox3); + this->Controls->Add(this->button2); + this->Controls->Add(this->button1); + this->Controls->Add(this->groupBox2); + this->Controls->Add(this->groupBox1); + this->Controls->Add(this->menuStrip1); + this->MainMenuStrip = this->menuStrip1; + this->Name = L"Form1"; + this->Text = L"Igpay Atinlay Anslatortay"; + this->menuStrip1->ResumeLayout(false); + this->menuStrip1->PerformLayout(); + this->groupBox1->ResumeLayout(false); + this->groupBox1->PerformLayout(); + this->groupBox2->ResumeLayout(false); + this->groupBox2->PerformLayout(); + this->groupBox3->ResumeLayout(false); + this->groupBox3->PerformLayout(); + this->ResumeLayout(false); + this->PerformLayout(); + } #pragma endregion - }; + private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) + { + + } +}; } diff --git a/COM380/Project3/Project3/Form1.resX b/COM380/Project3/Project3/Form1.resX index de824e1..d5494e3 100644 --- a/COM380/Project3/Project3/Form1.resX +++ b/COM380/Project3/Project3/Form1.resX @@ -17,20 +17,21 @@ 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, ... System.Resources.ResXResourceWriter, System.Windows.Forms, ... - this is my long string + this is my long stringthis is a comment Blue - [base64 mime encoded serialized CLR Framework object] + [base64 mime encoded serialized .NET Framework object] - [base64 mime encoded string representing a byte array form of the CLR Framework object] + [base64 mime encoded string representing a byte array form of the .NET Framework object] + This is a comment There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a CLR class that support + type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. @@ -45,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -59,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -67,9 +69,16 @@ - + + + + + + + + @@ -78,9 +87,10 @@ - + + @@ -102,9 +112,12 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + \ No newline at end of file diff --git a/COM380/README.md b/COM380/README.md new file mode 100644 index 0000000..500b28c --- /dev/null +++ b/COM380/README.md @@ -0,0 +1,13 @@ +## COM380 - C++ .NET + +### Instructor: Scott Mayer + +- [Project 1](Project1/) + - Towers of Hanoi solver + - Finished at: 52b3c236f252f4c53e9eb42b406b39a961814a13 +- [Project 2](Project2/) + - Sample payroll file writes out report to file + - Finished at: d5bfd3186e3c8e8bc2bb6828a1d1bd143cf026e7 +- [Project 3](Project3/) + - Igpay Atlay Anslatortray + - Inway Oggresspray diff --git a/README.md b/README.md index 32195bc..b75677e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# Coleman-Code +## Coleman-Code Amrit's adventures in homework + +### Directory listing +- [COM107](COM107/) - Intro to Java - Charlie Morgan +- [COM203](COM203/) - C++ Game Programming - S. Ganore +- [COM285](COM285/) - Advanced Java - Martin Sandman +- [COM330](COM330/) - Perl Programming - Chris Oson +- [COM350](COM350/) - Visual Basic .NET - Chris Oson +- [COM380](COM380/) - Advanced C++ .NET - Scott Mayer \ No newline at end of file