StabilityPanel.cpp
#include "StdAfx.h"
#include "StabilityPanel.h"
#include "PositionChangeOfStabilityPanel.h"
#include "TimeChangeOfStabilityPanel.h"
using namespace Core;
using namespace System;
/// [ Constructor ]
StabilityPanel::StabilityPanel( Motion^ motion )
{
// コンポーネントを初期化する
InitializeComponent();
// パネルを初期化する
m_positionPanel->Initialize( motion );
m_timePanel->Initialize( motion );
}
/// [ Destructor ]
StabilityPanel::~StabilityPanel()
{
if( components != nullptr )
{
delete components;
}
}
#pragma region Windows Form Designer generated code
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
void StabilityPanel::InitializeComponent(void)
{
this->m_positionPanel = (gcnew PositionChangeOfStabilityPanel());
this->m_timePanel = (gcnew TimeChangeOfStabilityPanel());
this->m_splitContainer = (gcnew System::Windows::Forms::SplitContainer());
this->m_splitContainer->Panel1->SuspendLayout();
this->m_splitContainer->Panel2->SuspendLayout();
this->m_splitContainer->SuspendLayout();
this->SuspendLayout();
//
// m_positionPanel
//
this->m_positionPanel->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->m_positionPanel->Dock = System::Windows::Forms::DockStyle::Fill;
this->m_positionPanel->Location = System::Drawing::Point(0, 0);
this->m_positionPanel->Name = L"m_positionPanel";
this->m_positionPanel->Size = System::Drawing::Size(200, 116);
this->m_positionPanel->TabIndex = 0;
//
// m_timePanel
//
this->m_timePanel->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
this->m_timePanel->Dock = System::Windows::Forms::DockStyle::Fill;
this->m_timePanel->Location = System::Drawing::Point(0, 0);
this->m_timePanel->Name = L"m_timePanel";
this->m_timePanel->Size = System::Drawing::Size(288, 116);
this->m_timePanel->TabIndex = 7;
//
// m_splitContainer
//
this->m_splitContainer->Dock = System::Windows::Forms::DockStyle::Fill;
this->m_splitContainer->Location = System::Drawing::Point(0, 0);
this->m_splitContainer->Name = L"m_splitContainer";
//
// m_splitContainer.Panel1
//
this->m_splitContainer->Panel1->Controls->Add(this->m_positionPanel);
//
// m_splitContainer.Panel2
//
this->m_splitContainer->Panel2->Controls->Add(this->m_timePanel);
this->m_splitContainer->Size = System::Drawing::Size(492, 116);
this->m_splitContainer->SplitterDistance = 200;
this->m_splitContainer->TabIndex = 8;
this->m_splitContainer->TabStop = false;
//
// StabilityPanel
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(492, 116);
this->CloseButton = false;
this->Controls->Add(this->m_splitContainer);
this->DockAreas = static_cast<WeifenLuo::WinFormsUI::Docking::DockAreas>(((WeifenLuo::WinFormsUI::Docking::DockAreas::Float | WeifenLuo::WinFormsUI::Docking::DockAreas::DockTop)
| WeifenLuo::WinFormsUI::Docking::DockAreas::DockBottom));
this->HideOnClose = true;
this->Name = L"StabilityPanel";
this->ShowHint = WeifenLuo::WinFormsUI::Docking::DockState::DockBottomAutoHide;
this->TabText = L"Stability";
this->Text = L"Stability";
this->m_splitContainer->Panel1->ResumeLayout(false);
this->m_splitContainer->Panel2->ResumeLayout(false);
this->m_splitContainer->ResumeLayout(false);
this->ResumeLayout(false);
}
#pragma endregion