1 /* 2 * NPlot - A charting library for .NET 3 * 4 * PlotSurface2DDemo.cs 5 * Copyright (C) 2003-2006 Matt Howlett, Jamie McQuay. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without modification, 9 * are permitted provided that the following conditions are met: 10 * 11 * 1. Redistributions of source code must retain the above copyright notice, this 12 * list of conditions and the following disclaimer. 13 * 2. Redistributions in binary form must reproduce the above copyright notice, 14 * this list of conditions and the following disclaimer in the documentation 15 * and/or other materials provided with the distribution. 16 * 3. Neither the name of NPlot nor the names of its contributors may 17 * be used to endorse or promote products derived from this software without 18 * specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23 * IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 24 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 25 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 27 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 28 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 * OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32 #pragma once 33 34 using namespace System; 35 using namespace System::ComponentModel; 36 using namespace System::Collections; 37 using namespace System::Windows::Forms; 38 using namespace System::Data; 39 using namespace System::Drawing; 40 41 42 namespace NPlotDemo { 43 44 /// <summary> 45 /// Summary for CAxisTestsForm 46 /// 47 /// WARNING: If you change the name of this class, you will need to change the 48 /// 'Resource File Name' property for the managed resource compiler tool 49 /// associated with all .resx files this class depends on. Otherwise, 50 /// the designers will not be able to interact properly with localized 51 /// resources associated with this form. 52 /// </summary> 53 public ref class CAxisTestsForm : public System::Windows::Forms::Form 54 { 55 public: 56 CAxisTestsForm(void); 57 58 protected: 59 /// <summary> 60 /// Clean up any resources being used. 61 /// </summary> ~CAxisTestsForm()62 ~CAxisTestsForm() 63 { 64 if (components) 65 { 66 delete components; 67 } 68 } 69 70 private: 71 /// <summary> 72 /// Required designer variable. 73 /// </summary> 74 System::ComponentModel::Container ^components; 75 System::Void CAxisTestsForm::Tests_Paint(System::Object^ sender, PaintEventArgs^ e); 76 77 #pragma region Windows Form Designer generated code 78 /// <summary> 79 /// Required method for Designer support - do not modify 80 /// the contents of this method with the code editor. 81 /// </summary> InitializeComponent(void)82 void InitializeComponent(void) 83 { 84 this->SuspendLayout(); 85 // 86 // CAxisTestsForm 87 // 88 this->AutoScaleDimensions = System::Drawing::SizeF(6, 13); 89 this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; 90 this->ClientSize = System::Drawing::Size(460, 352); 91 this->Name = L"CAxisTestsForm"; 92 this->Text = L"Axis Test"; 93 this->ResumeLayout(false); 94 95 } 96 #pragma endregion 97 }; 98 } 99