📄 form1.h
字号:
#pragma once
namespace DD_GS
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
#include "qiux.h"
/// <summary>
/// Summary for Form1
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">"description of the parameter"</param>
virtual void Dispose(Boolean disposing) override
{
if (disposing && components)
{
delete components;
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::RadioButton^ radioButton1;
private: System::Windows::Forms::RadioButton^ radioButton2;
private: bool ifliu;
private: bool ifke;
private: System::Windows::Forms::TextBox^ xbox;
private: System::Windows::Forms::TextBox^ ybox;
protected:
protected:
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::TextBox^ dybox;
private: System::Windows::Forms::Label^ label16;
private: System::Windows::Forms::Label^ label17;
private: System::Windows::Forms::Label^ label18;
private: System::Windows::Forms::TextBox^ BM;
private: System::Windows::Forms::TextBox^ BF;
private: System::Windows::Forms::TextBox^ BD;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::TextBox^ LM;
private: System::Windows::Forms::TextBox^ LF;
private: System::Windows::Forms::TextBox^ LD;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::Panel^ panel2;
private: System::Windows::Forms::RadioButton^ radioButton3;
private: System::Windows::Forms::Label^ label11;
private: System::Windows::Forms::RadioButton^ radioButton4;
private: double e2,e2p,a;
private: double static p=System::Math ::PI/180;
private:
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma 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>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->radioButton1 = (gcnew System::Windows::Forms::RadioButton());
this->radioButton2 = (gcnew System::Windows::Forms::RadioButton());
this->xbox = (gcnew System::Windows::Forms::TextBox());
this->ybox = (gcnew System::Windows::Forms::TextBox());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->dybox = (gcnew System::Windows::Forms::TextBox());
this->label16 = (gcnew System::Windows::Forms::Label());
this->label17 = (gcnew System::Windows::Forms::Label());
this->label18 = (gcnew System::Windows::Forms::Label());
this->BM = (gcnew System::Windows::Forms::TextBox());
this->BF = (gcnew System::Windows::Forms::TextBox());
this->BD = (gcnew System::Windows::Forms::TextBox());
this->label7 = (gcnew System::Windows::Forms::Label());
this->label8 = (gcnew System::Windows::Forms::Label());
this->label9 = (gcnew System::Windows::Forms::Label());
this->LM = (gcnew System::Windows::Forms::TextBox());
this->LF = (gcnew System::Windows::Forms::TextBox());
this->LD = (gcnew System::Windows::Forms::TextBox());
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->label10 = (gcnew System::Windows::Forms::Label());
this->panel2 = (gcnew System::Windows::Forms::Panel());
this->radioButton3 = (gcnew System::Windows::Forms::RadioButton());
this->label11 = (gcnew System::Windows::Forms::Label());
this->radioButton4 = (gcnew System::Windows::Forms::RadioButton());
this->panel2->SuspendLayout();
this->SuspendLayout();
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 21.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label1->Location = System::Drawing::Point(56, 29);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(505, 29);
this->label1->TabIndex = 0;
this->label1->Text = L"高斯平面坐标系与大地坐标系的关系";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 15, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label2->Location = System::Drawing::Point(40, 155);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(17, 20);
this->label2->TabIndex = 3;
this->label2->Text = L"B";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 15, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label3->Location = System::Drawing::Point(40, 210);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(17, 20);
this->label3->TabIndex = 4;
this->label3->Text = L"L";
//
// radioButton1
//
this->radioButton1->AutoSize = true;
this->radioButton1->Checked = true;
this->radioButton1->Location = System::Drawing::Point(153, 14);
this->radioButton1->Name = L"radioButton1";
this->radioButton1->Size = System::Drawing::Size(58, 16);
this->radioButton1->TabIndex = 5;
this->radioButton1->Text = L"六度带";
this->radioButton1->CheckedChanged += gcnew System::EventHandler(this, &Form1::radioButton1_CheckedChanged);
//
// radioButton2
//
this->radioButton2->AutoSize = true;
this->radioButton2->Location = System::Drawing::Point(153, 36);
this->radioButton2->Name = L"radioButton2";
this->radioButton2->Size = System::Drawing::Size(58, 16);
this->radioButton2->TabIndex = 6;
this->radioButton2->Text = L"三度带";
this->radioButton2->CheckedChanged += gcnew System::EventHandler(this, &Form1::radioButton2_CheckedChanged);
//
// xbox
//
this->xbox->Location = System::Drawing::Point(437, 138);
this->xbox->Name = L"xbox";
this->xbox->Size = System::Drawing::Size(124, 21);
this->xbox->TabIndex = 7;
//
// ybox
//
this->ybox->Location = System::Drawing::Point(437, 177);
this->ybox->Name = L"ybox";
this->ybox->Size = System::Drawing::Size(124, 21);
this->ybox->TabIndex = 8;
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 15, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label4->Location = System::Drawing::Point(390, 139);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(17, 20);
this->label4->TabIndex = 9;
this->label4->Text = L"x";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 15, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label5->Location = System::Drawing::Point(390, 220);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(17, 20);
this->label5->TabIndex = 10;
this->label5->Text = L"Y";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"KaiTi_GB2312", 15, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label6->Location = System::Drawing::Point(390, 173);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(17, 20);
this->label6->TabIndex = 11;
this->label6->Text = L"y";
//
// dybox
//
this->dybox->Location = System::Drawing::Point(437, 219);
this->dybox->Name = L"dybox";
this->dybox->Size = System::Drawing::Size(124, 21);
this->dybox->TabIndex = 12;
//
// label16
//
this->label16->AutoSize = true;
this->label16->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label16->Location = System::Drawing::Point(251, 157);
this->label16->Name = L"label16";
this->label16->Size = System::Drawing::Size(22, 16);
this->label16->TabIndex = 45;
this->label16->Text = L"秒";
//
// label17
//
this->label17->AutoSize = true;
this->label17->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label17->Location = System::Drawing::Point(178, 157);
this->label17->Name = L"label17";
this->label17->Size = System::Drawing::Size(22, 16);
this->label17->TabIndex = 44;
this->label17->Text = L"分";
//
// label18
//
this->label18->AutoSize = true;
this->label18->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label18->Location = System::Drawing::Point(111, 157);
this->label18->Name = L"label18";
this->label18->Size = System::Drawing::Size(22, 16);
this->label18->TabIndex = 43;
this->label18->Text = L"度";
//
// BM
//
this->BM->Location = System::Drawing::Point(206, 154);
this->BM->Name = L"BM";
this->BM->Size = System::Drawing::Size(39, 21);
this->BM->TabIndex = 42;
this->BM->Text = L"40.38";
//
// BF
//
this->BF->Location = System::Drawing::Point(133, 154);
this->BF->Name = L"BF";
this->BF->Size = System::Drawing::Size(39, 21);
this->BF->TabIndex = 41;
this->BF->Text = L"26";
//
// BD
//
this->BD->Location = System::Drawing::Point(70, 154);
this->BD->Name = L"BD";
this->BD->Size = System::Drawing::Size(39, 21);
this->BD->TabIndex = 40;
this->BD->Text = L"35";
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label7->Location = System::Drawing::Point(251, 215);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(22, 16);
this->label7->TabIndex = 51;
this->label7->Text = L"秒";
//
// label8
//
this->label8->AutoSize = true;
this->label8->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label8->Location = System::Drawing::Point(178, 215);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(22, 16);
this->label8->TabIndex = 50;
this->label8->Text = L"分";
//
// label9
//
this->label9->AutoSize = true;
this->label9->Font = (gcnew System::Drawing::Font(L"SimSun", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label9->Location = System::Drawing::Point(111, 215);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(22, 16);
this->label9->TabIndex = 49;
this->label9->Text = L"度";
//
// LM
//
this->LM->Location = System::Drawing::Point(206, 212);
this->LM->Name = L"LM";
this->LM->Size = System::Drawing::Size(39, 21);
this->LM->TabIndex = 48;
this->LM->Text = L"51.22";
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -