Click here to Skip to main content
16,008,010 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Caps Lock Problem with DDX_ManagedControl Pin
led mike29-Jul-08 4:43
led mike29-Jul-08 4:43 
QuestionEvent on KeyPress Pin
Polar_Sheep26-Jul-08 8:48
Polar_Sheep26-Jul-08 8:48 
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:12
Mark Salsbery26-Jul-08 9:12 
QuestionRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 9:39
Polar_Sheep26-Jul-08 9:39 
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:42
Mark Salsbery26-Jul-08 9:42 
QuestionRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 9:50
Polar_Sheep26-Jul-08 9:50 
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:55
Mark Salsbery26-Jul-08 9:55 
GeneralRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:03
Polar_Sheep26-Jul-08 10:03 
#pragma once

namespace PoHavarii {

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;

public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
}

protected:
~Form1()
{
if (components)
{
delete components;
}
}



private: System::Windows::Forms::TextBox^ textBox1;
protected:
private: System::Windows::Forms::TextBox^ textBox2;


private:
System::ComponentModel::Container ^components;


#pragma region Windows Form Designer generated code

void InitializeComponent(void)
{
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->SuspendLayout();
//
// textBox1
//
this->textBox1->AcceptsReturn = true;
this->textBox1->Location = System::Drawing::Point(108, 55);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(181, 20);
this->textBox1->TabIndex = 0;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(108, 94);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(181, 20);
this->textBox2->TabIndex = 1;
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(391, 264);
this->Controls->Add(this->textBox2);
this->Controls->Add(this->textBox1);
this->KeyPreview = true;
this->Name = L"Form1";
this->Text = L"Form1";
this->ResumeLayout(false);
this->PerformLayout();

}
#pragma endregion




void textBox1_KeyDown( Object^ /*sender*/, System::Windows::Forms::KeyEventArgs^ e )
{
if ( e->KeyCode == Keys::Enter)
textBox2->Text = L"Enter was pressed";
}

};
}
GeneralRe: Event on KeyPress [modified] Pin
Mark Salsbery26-Jul-08 10:16
Mark Salsbery26-Jul-08 10:16 
AnswerRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:22
Polar_Sheep26-Jul-08 10:22 
GeneralRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:25
Polar_Sheep26-Jul-08 10:25 
GeneralRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 10:35
Mark Salsbery26-Jul-08 10:35 
AnswerRe: Event on KeyPress Pin
dybs29-Jul-08 18:34
dybs29-Jul-08 18:34 
QuestionAssignment Operator Woes [modified] Pin
DemSmiley23-Jul-08 17:41
DemSmiley23-Jul-08 17:41 
AnswerRe: Assignment Operator Woes Pin
Mark Salsbery24-Jul-08 5:41
Mark Salsbery24-Jul-08 5:41 
AnswerRe: Assignment Operator Woes Pin
led mike24-Jul-08 6:11
led mike24-Jul-08 6:11 
AnswerRe: Assignment Operator Woes Pin
Mark Salsbery24-Jul-08 7:31
Mark Salsbery24-Jul-08 7:31 
QuestionC++ code to access .NET component. Pin
Sitaram Sukumar22-Jul-08 1:33
Sitaram Sukumar22-Jul-08 1:33 
AnswerRe: C++ code to access .NET component. Pin
Mark Salsbery22-Jul-08 4:28
Mark Salsbery22-Jul-08 4:28 
QuestionDirectory:: move Pin
VCsamir21-Jul-08 21:48
VCsamir21-Jul-08 21:48 
AnswerRe: Directory:: move Pin
Mark Salsbery22-Jul-08 4:39
Mark Salsbery22-Jul-08 4:39 
GeneralRe: Directory:: move Pin
VCsamir22-Jul-08 19:20
VCsamir22-Jul-08 19:20 
GeneralRe: Directory:: move Pin
Mark Salsbery23-Jul-08 6:10
Mark Salsbery23-Jul-08 6:10 
QuestionExtending Managed, Sealed Classes in C++/CLI Pin
Skippums21-Jul-08 8:28
Skippums21-Jul-08 8:28 
AnswerRe: Extending Managed, Sealed Classes in C++/CLI Pin
Mark Salsbery21-Jul-08 10:20
Mark Salsbery21-Jul-08 10:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.