LinkPropertyPanel.cpp
#include "StdAfx.h"
#include "LinkPropertyPanel.h"
using namespace Core;
using namespace System;
/// [ Constructor ]
LinkPropertyPanel::LinkPropertyPanel( System::Object^ obj )
{
// コンポーネントを初期化する
InitializeComponent();
// ... 表示されるオブジェクトを初期化する
m_propertyGrid->SelectedObject = obj;
}
/// [ Destructor ]
LinkPropertyPanel::~LinkPropertyPanel()
{
if( components != nullptr )
{
delete components;
}
}
#pragma region Windows Form Designer generated code
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
void LinkPropertyPanel::InitializeComponent(void)
{
this->m_propertyGrid = (gcnew System::Windows::Forms::PropertyGrid());
this->SuspendLayout();
//
// m_propertyGrid
//
this->m_propertyGrid->Dock = System::Windows::Forms::DockStyle::Fill;
this->m_propertyGrid->Location = System::Drawing::Point(0, 0);
this->m_propertyGrid->Name = L"m_propertyGrid";
this->m_propertyGrid->SelectedObject = this;
this->m_propertyGrid->Size = System::Drawing::Size(292, 266);
this->m_propertyGrid->TabIndex = 0;
this->m_propertyGrid->ToolbarVisible = false;
//
// LinkPropertyPanel
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(292, 266);
this->CloseButton = false;
this->Controls->Add(this->m_propertyGrid);
this->DockAreas = static_cast<WeifenLuo::WinFormsUI::Docking::DockAreas>(((WeifenLuo::WinFormsUI::Docking::DockAreas::Float | WeifenLuo::WinFormsUI::Docking::DockAreas::DockLeft)
| WeifenLuo::WinFormsUI::Docking::DockAreas::DockRight));
this->HideOnClose = true;
this->Name = L"LinkPropertyPanel";
this->ShowHint = WeifenLuo::WinFormsUI::Docking::DockState::DockLeftAutoHide;
this->TabText = L"Property";
this->Text = L"Property";
this->ResumeLayout(false);
}
#pragma endregion