1 // Document.h 2 // this file is part of Context Free 3 // --------------------- 4 // Copyright (C) 2008-2012 John Horigan - john@glyphic.com 5 // 6 // This program is free software; you can redistribute it and/or 7 // modify it under the terms of the GNU General Public License 8 // as published by the Free Software Foundation; either version 2 9 // of the License, or (at your option) any later version. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software 18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 // 20 // John Horigan can be contacted at john@glyphic.com or at 21 // John Horigan, 1209 Villa St., Mountain View, CA 94041-1123, USA 22 // 23 // 24 25 #pragma once 26 27 #include "Form1.h" 28 #include "RenderSizeDialog.h" 29 #include <memory> 30 #include "cfdg.h" 31 32 class WinCanvas; 33 class tiledCanvas; 34 class WinSystem; 35 class SVGCanvas; 36 class ffCanvas; 37 class TempFile; 38 39 namespace agg { 40 struct trans_affine; 41 } 42 43 namespace ContextFreeNet { 44 45 /// <summary> 46 /// Summary for Document 47 /// 48 /// WARNING: If you change the name of this class, you will need to change the 49 /// 'Resource File Name' property for the managed resource compiler tool 50 /// associated with all .resx files this class depends on. Otherwise, 51 /// the designers will not be able to interact properly with localized 52 /// resources associated with this form. 53 /// </summary> 54 public ref class Document : public WeifenLuo::WinFormsUI::Docking::DockContent 55 { 56 public: Document(void)57 Document(void) : 58 reloadWhenReady(false), 59 idleAction(Form1::IdleAction::Nothing), 60 mSystem(0), 61 mRenderButtonIndex(0), 62 mReuseVariation(true), 63 mEngine(new cfdg_ptr()), 64 mRenderer(0), 65 mCanvas(0), 66 mTempCanvas(0), 67 mSVGCanvas(0), 68 mAnimationCanvas(0), 69 mPostAction(PostRenderAction::DoNothing) 70 { 71 InitializeComponent(); 72 // 73 //TODO: Add the constructor code here 74 // 75 InitializeStuff(); 76 } 77 bool isNamed; 78 bool reloadWhenReady; 79 Form1::IdleAction idleAction; 80 int currentVariation; 81 int maxVariation, minVariation; 82 RenderParameters* renderParams; 83 84 enum class PostRenderAction { DoNothing, Render, RenderSize, RenderRepeat, 85 Animate, AnimateFrame, SaveOutput, Close, Exit }; 86 enum class RenderButtonAction { Render, RenderSized, Animate, AnimateFrame }; 87 property PostRenderAction postAction { set(PostRenderAction a)88 void set(PostRenderAction a) { 89 if (a == PostRenderAction::DoNothing || a == PostRenderAction::Exit) { 90 mPostAction = a; 91 } else if (mPostAction != PostRenderAction::Close && 92 mPostAction != PostRenderAction::Exit) { 93 mPostAction = a; 94 } 95 if (!renderThread->IsBusy && mPostAction != PostRenderAction::DoNothing) { 96 RenderCompleted(nullptr, nullptr); 97 } 98 } get()99 PostRenderAction get() { return mPostAction; } 100 } 101 bool canceledByUser; 102 103 private: 104 PostRenderAction mPostAction; 105 RenderButtonAction mRenderButtonAction; 106 bool nonAlphaInVariation; 107 WinSystem* mSystem; 108 System::ComponentModel::BackgroundWorker^ renderThread; 109 System::Windows::Forms::TextBox^ variationEdit; 110 System::Windows::Forms::ToolStripSeparator^ rightSeparator; 111 System::Windows::Forms::TextBox^ frameEdit; 112 System::Windows::Forms::TextBox^ widthEdit; 113 System::Windows::Forms::TextBox^ heightEdit; 114 115 116 private: System::Windows::Forms::ToolStripLabel^ toolStripStatus; 117 private: System::Windows::Forms::PictureBox^ renderBox; 118 private: System::Windows::Forms::ToolStripMenuItem^ menuEUndo; 119 private: System::Windows::Forms::ToolStripMenuItem^ menuERedo; 120 121 122 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator5; 123 private: System::Windows::Forms::ToolStripMenuItem^ menuEDelete; 124 private: System::Windows::Forms::ToolStripButton^ toolStripSaveButton; 125 public: System::Windows::Forms::SplitContainer^ editorSplitter; 126 private: 127 128 129 private: 130 private: System::Windows::Forms::WebBrowser^ cfdgMessage; 131 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator6; 132 private: System::Windows::Forms::ToolStripMenuItem^ menuEFindPrev; 133 134 private: System::Windows::Forms::ToolStripMenuItem^ insertCharacterToolStripMenuItem; 135 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem2; 136 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem3; 137 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem4; 138 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem5; 139 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem6; 140 private: System::Windows::Forms::ToolStripMenuItem^ infToolStripMenuItem; 141 private: System::Windows::Forms::ToolStripMenuItem^ insertSymmetryToolStripMenuItem; 142 private: System::Windows::Forms::ToolStripMenuItem^ cFCyclicToolStripMenuItem; 143 private: System::Windows::Forms::ToolStripMenuItem^ cFDihedralToolStripMenuItem; 144 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator4; 145 private: System::Windows::Forms::ToolStripMenuItem^ insertVariableToolStripMenuItem; 146 private: System::Windows::Forms::ToolStripMenuItem^ insertFlagToolStripMenuItem; 147 private: System::Windows::Forms::ToolStripMenuItem^ cFp11gToolStripMenuItem; 148 private: System::Windows::Forms::ToolStripMenuItem^ cFp11mToolStripMenuItem; 149 private: System::Windows::Forms::ToolStripMenuItem^ cfp1m1ToolStripMenuItem; 150 private: System::Windows::Forms::ToolStripMenuItem^ cFp2ToolStripMenuItem; 151 private: System::Windows::Forms::ToolStripMenuItem^ cFp2mgToolStripMenuItem; 152 private: System::Windows::Forms::ToolStripMenuItem^ cFp2mmToolStripMenuItem; 153 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator7; 154 private: System::Windows::Forms::ToolStripMenuItem^ cFp2ToolStripMenuItem1; 155 private: System::Windows::Forms::ToolStripMenuItem^ cFpmToolStripMenuItem; 156 private: System::Windows::Forms::ToolStripMenuItem^ cFpgToolStripMenuItem; 157 private: System::Windows::Forms::ToolStripMenuItem^ cFcmToolStripMenuItem; 158 private: System::Windows::Forms::ToolStripMenuItem^ cFpmmToolStripMenuItem; 159 private: System::Windows::Forms::ToolStripMenuItem^ cFpmgToolStripMenuItem; 160 private: System::Windows::Forms::ToolStripMenuItem^ cFpggToolStripMenuItem; 161 private: System::Windows::Forms::ToolStripMenuItem^ cFcmmToolStripMenuItem; 162 private: System::Windows::Forms::ToolStripMenuItem^ cfp4ToolStripMenuItem; 163 private: System::Windows::Forms::ToolStripMenuItem^ cFp4mToolStripMenuItem; 164 private: System::Windows::Forms::ToolStripMenuItem^ cFp4gToolStripMenuItem; 165 private: System::Windows::Forms::ToolStripMenuItem^ friezeToolStripMenuItem; 166 private: System::Windows::Forms::ToolStripMenuItem^ cFp3m1ToolStripMenuItem; 167 private: System::Windows::Forms::ToolStripMenuItem^ cFp31mToolStripMenuItem; 168 private: System::Windows::Forms::ToolStripMenuItem^ cFp6ToolStripMenuItem; 169 private: System::Windows::Forms::ToolStripMenuItem^ cFp6mToolStripMenuItem; 170 private: System::Windows::Forms::ToolStripMenuItem^ cFAllowOverlapToolStripMenuItem; 171 private: System::Windows::Forms::ToolStripMenuItem^ cFAlphaToolStripMenuItem; 172 private: System::Windows::Forms::ToolStripMenuItem^ cFBackgroundToolStripMenuItem; 173 private: System::Windows::Forms::ToolStripMenuItem^ cFBorderDynamicToolStripMenuItem; 174 private: System::Windows::Forms::ToolStripMenuItem^ cFBorderFixedToolStripMenuItem; 175 private: System::Windows::Forms::ToolStripMenuItem^ cFColorToolStripMenuItem; 176 private: System::Windows::Forms::ToolStripMenuItem^ cFColorDepthToolStripMenuItem; 177 private: System::Windows::Forms::ToolStripMenuItem^ cFFrameToolStripMenuItem; 178 private: System::Windows::Forms::ToolStripMenuItem^ cFFrametimeToolStripMenuItem; 179 private: System::Windows::Forms::ToolStripMenuItem^ cFImpureToolStripMenuItem; 180 private: System::Windows::Forms::ToolStripMenuItem^ cFMaxShapesToolStripMenuItem; 181 182 private: System::Windows::Forms::ToolStripMenuItem^ cFMinimumSizeToolStripMenuItem; 183 private: System::Windows::Forms::ToolStripMenuItem^ cFSizeToolStripMenuItem; 184 private: System::Windows::Forms::ToolStripMenuItem^ cFSymmetryToolStripMenuItem; 185 private: System::Windows::Forms::ToolStripMenuItem^ cFTileToolStripMenuItem; 186 private: System::Windows::Forms::ToolStripMenuItem^ cFTimeToolStripMenuItem; 187 private: System::Windows::Forms::ToolStripMenuItem^ cFMiterJoinToolStripMenuItem; 188 private: System::Windows::Forms::ToolStripMenuItem^ cFRoundJoinToolStripMenuItem; 189 private: System::Windows::Forms::ToolStripMenuItem^ cFBevelJoinToolStripMenuItem; 190 private: System::Windows::Forms::ToolStripMenuItem^ cFButtCapToolStripMenuItem; 191 private: System::Windows::Forms::ToolStripMenuItem^ cFRoundCapToolStripMenuItem; 192 private: System::Windows::Forms::ToolStripMenuItem^ cFSquareCapToolStripMenuItem; 193 private: System::Windows::Forms::ToolStripMenuItem^ cFArcCWToolStripMenuItem; 194 private: System::Windows::Forms::ToolStripMenuItem^ cFArcLargeToolStripMenuItem; 195 private: System::Windows::Forms::ToolStripMenuItem^ cFContinuousToolStripMenuItem; 196 private: System::Windows::Forms::ToolStripMenuItem^ cFAlignToolStripMenuItem; 197 private: System::Windows::Forms::ToolStripMenuItem^ cFEvenOddToolStripMenuItem; 198 private: System::Windows::Forms::ToolStripMenuItem^ cFIsoWidthToolStripMenuItem; 199 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem1; 200 private: System::Windows::Forms::ToolStripMenuItem^ menuRAnimate; 201 private: System::Windows::Forms::ToolStripMenuItem^ menuRAnimateFrame; 202 private: System::Windows::Forms::ToolStripMenuItem^ piToolStripMenuItem; 203 private: System::Windows::Forms::ToolStripMenuItem^ renderToolStripMenuItem; 204 private: System::Windows::Forms::ToolStripMenuItem^ sizedToolStripMenuItem; 205 private: System::Windows::Forms::ToolStripMenuItem^ animateToolStripMenuItem; 206 private: System::Windows::Forms::ToolStripMenuItem^ frameToolStripMenuItem; 207 private: System::Windows::Forms::ToolStripLabel^ toolStripFrameLabel; 208 private: System::Windows::Forms::ToolStripTextBox^ toolStripFrameTextBox; 209 private: System::Windows::Forms::ToolStripSeparator^ toolStripFrameSeparator; 210 private: System::Windows::Forms::ToolStripButton^ toolStripPrevFrame; 211 private: System::Windows::Forms::ToolStripButton^ toolStripNextFrame; 212 private: System::Windows::Forms::ToolStripLabel^ toolStripSizeLabel1; 213 private: System::Windows::Forms::ToolStripTextBox^ toolStripWidthBox; 214 private: System::Windows::Forms::ToolStripLabel^ toolStripSizeLabel2; 215 private: System::Windows::Forms::ToolStripTextBox^ toolStripHeightBox; 216 private: System::Windows::Forms::ToolStripSeparator^ toolStripSizeSeparator; 217 private: System::Windows::Forms::ToolStripMenuItem^ removeIndentToolStripMenuItem; 218 private: System::Windows::Forms::ToolStripMenuItem^ addIndentToolStripMenuItem; 219 private: System::Windows::Forms::ToolStripMenuItem^ menuEFind; 220 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator2; 221 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator8; 222 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem7; 223 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem8; 224 225 226 227 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem11; 228 229 230 231 232 233 234 235 236 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem19; 237 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem20; 238 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem21; 239 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem22; 240 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem23; 241 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem24; 242 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem25; 243 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem26; 244 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem27; 245 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem28; 246 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem29; 247 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem30; 248 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem31; 249 private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem9; 250 251 252 public: 253 254 255 256 257 258 259 260 261 262 public: 263 System::String^ Name; 264 void setMessageText(System::String^ txt); 265 void setStatusText(System::String^ txt, bool addToMessages); 266 public: void reload(bool justClear); 267 268 protected: 269 /// <summary> 270 /// Clean up any resources being used. 271 /// </summary> ~Document()272 ~Document() 273 { 274 if (components) 275 { 276 delete components; 277 } 278 DestroyStuff(); 279 delete mEngine; 280 } 281 private: System::Windows::Forms::ToolStrip^ toolStrip1; 282 public: System::Windows::Forms::SplitContainer^ documentSplitter; 283 private: 284 int lastCaretPosition; 285 286 public: ScintillaNET::Scintilla^ cfdgText; 287 288 private: System::Windows::Forms::ToolStripSplitButton^ toolStripRenderButton; 289 290 private: System::Windows::Forms::ToolStripTextBox^ toolStripVariation; 291 private: System::Windows::Forms::ToolStripButton^ toolStripPrevVar; 292 private: System::Windows::Forms::ToolStripButton^ toolStripNextVar; 293 294 private: System::Windows::Forms::ToolStripProgressBar^ toolStripProgressBar; 295 296 297 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1; 298 private: System::Windows::Forms::ToolStripSeparator^ toolStripVariationSeparator; 299 300 private: System::Windows::Forms::MenuStrip^ menuStrip1; 301 private: System::Windows::Forms::ToolStripMenuItem^ menuFile; 302 303 private: System::Windows::Forms::ToolStripMenuItem^ menuEdit; 304 305 306 private: System::Windows::Forms::ToolStripMenuItem^ menuECut; 307 private: System::Windows::Forms::ToolStripMenuItem^ menuECopy; 308 private: System::Windows::Forms::ToolStripMenuItem^ menuEPaste; 309 310 311 312 private: System::Windows::Forms::ToolStripMenuItem^ menuFSave; 313 private: System::Windows::Forms::ToolStripMenuItem^ menuFClose; 314 315 316 private: System::Windows::Forms::ToolStripMenuItem^ menuFSaveAs; 317 private: System::Windows::Forms::ToolStripMenuItem^ menuRender; 318 319 320 public: System::Windows::Forms::ToolStripMenuItem^ menuRRender; 321 private: System::Windows::Forms::ToolStripMenuItem^ menuRRenderSize; 322 private: System::Windows::Forms::ToolStripMenuItem^ menuRRenderAgain; 323 private: System::Windows::Forms::ToolStripMenuItem^ menuRStop; 324 325 326 327 328 private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator3; 329 private: System::Windows::Forms::ToolStripMenuItem^ menuROutput; 330 331 332 private: System::Windows::Forms::ToolStripMenuItem^ menuRUpload; 333 334 335 336 337 338 339 private: System::Windows::Forms::ToolStripMenuItem^ menuFRevert; 340 341 342 343 344 345 346 347 348 349 350 protected: 351 352 private: 353 /// <summary> 354 /// Required designer variable. 355 /// </summary> 356 System::ComponentModel::Container ^components; 357 358 #pragma region Windows Form Designer generated code 359 /// <summary> 360 /// Required method for Designer support - do not modify 361 /// the contents of this method with the code editor. 362 /// </summary> InitializeComponent(void)363 void InitializeComponent(void) 364 { 365 System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Document::typeid)); 366 this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip()); 367 this->toolStripRenderButton = (gcnew System::Windows::Forms::ToolStripSplitButton()); 368 this->renderToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 369 this->sizedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 370 this->animateToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 371 this->frameToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 372 this->toolStripSaveButton = (gcnew System::Windows::Forms::ToolStripButton()); 373 this->toolStripProgressBar = (gcnew System::Windows::Forms::ToolStripProgressBar()); 374 this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator()); 375 this->toolStripVariation = (gcnew System::Windows::Forms::ToolStripTextBox()); 376 this->toolStripPrevVar = (gcnew System::Windows::Forms::ToolStripButton()); 377 this->toolStripNextVar = (gcnew System::Windows::Forms::ToolStripButton()); 378 this->toolStripVariationSeparator = (gcnew System::Windows::Forms::ToolStripSeparator()); 379 this->toolStripFrameLabel = (gcnew System::Windows::Forms::ToolStripLabel()); 380 this->toolStripFrameTextBox = (gcnew System::Windows::Forms::ToolStripTextBox()); 381 this->toolStripPrevFrame = (gcnew System::Windows::Forms::ToolStripButton()); 382 this->toolStripNextFrame = (gcnew System::Windows::Forms::ToolStripButton()); 383 this->toolStripFrameSeparator = (gcnew System::Windows::Forms::ToolStripSeparator()); 384 this->toolStripSizeLabel1 = (gcnew System::Windows::Forms::ToolStripLabel()); 385 this->toolStripWidthBox = (gcnew System::Windows::Forms::ToolStripTextBox()); 386 this->toolStripSizeLabel2 = (gcnew System::Windows::Forms::ToolStripLabel()); 387 this->toolStripHeightBox = (gcnew System::Windows::Forms::ToolStripTextBox()); 388 this->toolStripSizeSeparator = (gcnew System::Windows::Forms::ToolStripSeparator()); 389 this->toolStripStatus = (gcnew System::Windows::Forms::ToolStripLabel()); 390 this->documentSplitter = (gcnew System::Windows::Forms::SplitContainer()); 391 this->editorSplitter = (gcnew System::Windows::Forms::SplitContainer()); 392 this->cfdgText = (gcnew ScintillaNET::Scintilla()); 393 this->cfdgMessage = (gcnew System::Windows::Forms::WebBrowser()); 394 this->renderBox = (gcnew System::Windows::Forms::PictureBox()); 395 this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip()); 396 this->menuFile = (gcnew System::Windows::Forms::ToolStripMenuItem()); 397 this->menuFSave = (gcnew System::Windows::Forms::ToolStripMenuItem()); 398 this->menuFSaveAs = (gcnew System::Windows::Forms::ToolStripMenuItem()); 399 this->menuFClose = (gcnew System::Windows::Forms::ToolStripMenuItem()); 400 this->menuFRevert = (gcnew System::Windows::Forms::ToolStripMenuItem()); 401 this->menuEdit = (gcnew System::Windows::Forms::ToolStripMenuItem()); 402 this->menuEUndo = (gcnew System::Windows::Forms::ToolStripMenuItem()); 403 this->menuERedo = (gcnew System::Windows::Forms::ToolStripMenuItem()); 404 this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator()); 405 this->menuECut = (gcnew System::Windows::Forms::ToolStripMenuItem()); 406 this->menuECopy = (gcnew System::Windows::Forms::ToolStripMenuItem()); 407 this->menuEPaste = (gcnew System::Windows::Forms::ToolStripMenuItem()); 408 this->menuEDelete = (gcnew System::Windows::Forms::ToolStripMenuItem()); 409 this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator()); 410 this->insertCharacterToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 411 this->toolStripMenuItem2 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 412 this->toolStripMenuItem3 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 413 this->toolStripMenuItem4 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 414 this->toolStripMenuItem5 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 415 this->toolStripMenuItem6 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 416 this->infToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 417 this->piToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 418 this->insertSymmetryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 419 this->cFCyclicToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 420 this->cFDihedralToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 421 this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator()); 422 this->cFp11gToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 423 this->cFp11mToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 424 this->cfp1m1ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 425 this->cFp2ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 426 this->cFp2mgToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 427 this->cFp2mmToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 428 this->toolStripSeparator7 = (gcnew System::Windows::Forms::ToolStripSeparator()); 429 this->cFp2ToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 430 this->cFpmToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 431 this->cFpgToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 432 this->cFcmToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 433 this->cFpmmToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 434 this->cFpmgToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 435 this->cFpggToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 436 this->cFcmmToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 437 this->cfp4ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 438 this->cFp4mToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 439 this->cFp4gToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 440 this->friezeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 441 this->cFp3m1ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 442 this->cFp31mToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 443 this->cFp6ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 444 this->cFp6mToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 445 this->toolStripMenuItem7 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 446 this->toolStripMenuItem11 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 447 this->toolStripMenuItem8 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 448 this->toolStripMenuItem19 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 449 this->toolStripMenuItem20 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 450 this->toolStripMenuItem21 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 451 this->toolStripMenuItem22 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 452 this->toolStripMenuItem23 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 453 this->toolStripMenuItem24 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 454 this->toolStripMenuItem25 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 455 this->toolStripMenuItem26 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 456 this->toolStripMenuItem27 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 457 this->toolStripMenuItem28 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 458 this->toolStripMenuItem29 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 459 this->toolStripMenuItem30 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 460 this->toolStripMenuItem31 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 461 this->insertVariableToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 462 this->cFAllowOverlapToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 463 this->cFAlphaToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 464 this->cFBackgroundToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 465 this->cFBorderDynamicToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 466 this->cFBorderFixedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 467 this->cFColorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 468 this->cFColorDepthToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 469 this->cFFrameToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 470 this->cFFrametimeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 471 this->cFImpureToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 472 this->toolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 473 this->cFMaxShapesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 474 this->cFMinimumSizeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 475 this->cFSizeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 476 this->cFSymmetryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 477 this->cFTileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 478 this->cFTimeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 479 this->insertFlagToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 480 this->cFMiterJoinToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 481 this->cFRoundJoinToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 482 this->cFBevelJoinToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 483 this->cFButtCapToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 484 this->cFRoundCapToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 485 this->cFSquareCapToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 486 this->cFArcCWToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 487 this->cFArcLargeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 488 this->cFContinuousToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 489 this->cFAlignToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 490 this->cFEvenOddToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 491 this->cFIsoWidthToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 492 this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator()); 493 this->menuEFind = (gcnew System::Windows::Forms::ToolStripMenuItem()); 494 this->menuEFindPrev = (gcnew System::Windows::Forms::ToolStripMenuItem()); 495 this->toolStripSeparator8 = (gcnew System::Windows::Forms::ToolStripSeparator()); 496 this->removeIndentToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 497 this->addIndentToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem()); 498 this->menuRender = (gcnew System::Windows::Forms::ToolStripMenuItem()); 499 this->menuRRender = (gcnew System::Windows::Forms::ToolStripMenuItem()); 500 this->menuRRenderSize = (gcnew System::Windows::Forms::ToolStripMenuItem()); 501 this->menuRRenderAgain = (gcnew System::Windows::Forms::ToolStripMenuItem()); 502 this->menuRAnimate = (gcnew System::Windows::Forms::ToolStripMenuItem()); 503 this->menuRAnimateFrame = (gcnew System::Windows::Forms::ToolStripMenuItem()); 504 this->menuRStop = (gcnew System::Windows::Forms::ToolStripMenuItem()); 505 this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator()); 506 this->menuROutput = (gcnew System::Windows::Forms::ToolStripMenuItem()); 507 this->menuRUpload = (gcnew System::Windows::Forms::ToolStripMenuItem()); 508 this->toolStripMenuItem9 = (gcnew System::Windows::Forms::ToolStripMenuItem()); 509 this->toolStrip1->SuspendLayout(); 510 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->documentSplitter))->BeginInit(); 511 this->documentSplitter->Panel1->SuspendLayout(); 512 this->documentSplitter->Panel2->SuspendLayout(); 513 this->documentSplitter->SuspendLayout(); 514 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->editorSplitter))->BeginInit(); 515 this->editorSplitter->Panel1->SuspendLayout(); 516 this->editorSplitter->Panel2->SuspendLayout(); 517 this->editorSplitter->SuspendLayout(); 518 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->renderBox))->BeginInit(); 519 this->menuStrip1->SuspendLayout(); 520 this->SuspendLayout(); 521 // 522 // toolStrip1 523 // 524 this->toolStrip1->GripStyle = System::Windows::Forms::ToolStripGripStyle::Hidden; 525 this->toolStrip1->ImageScalingSize = System::Drawing::Size(32, 32); 526 this->toolStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(19) { 527 this->toolStripRenderButton, 528 this->toolStripSaveButton, this->toolStripProgressBar, this->toolStripSeparator1, this->toolStripVariation, this->toolStripPrevVar, 529 this->toolStripNextVar, this->toolStripVariationSeparator, this->toolStripFrameLabel, this->toolStripFrameTextBox, this->toolStripPrevFrame, 530 this->toolStripNextFrame, this->toolStripFrameSeparator, this->toolStripSizeLabel1, this->toolStripWidthBox, this->toolStripSizeLabel2, 531 this->toolStripHeightBox, this->toolStripSizeSeparator, this->toolStripStatus 532 }); 533 this->toolStrip1->Location = System::Drawing::Point(0, 24); 534 this->toolStrip1->Name = L"toolStrip1"; 535 this->toolStrip1->RenderMode = System::Windows::Forms::ToolStripRenderMode::System; 536 this->toolStrip1->Size = System::Drawing::Size(1162, 47); 537 this->toolStrip1->TabIndex = 0; 538 this->toolStrip1->Text = L"CFDGstrip"; 539 // 540 // toolStripRenderButton 541 // 542 this->toolStripRenderButton->AutoSize = false; 543 this->toolStripRenderButton->AutoToolTip = false; 544 this->toolStripRenderButton->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) { 545 this->renderToolStripMenuItem, 546 this->sizedToolStripMenuItem, this->animateToolStripMenuItem, this->frameToolStripMenuItem 547 }); 548 this->toolStripRenderButton->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripRenderButton.Image"))); 549 this->toolStripRenderButton->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft; 550 this->toolStripRenderButton->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 551 this->toolStripRenderButton->ImageTransparentColor = System::Drawing::Color::Magenta; 552 this->toolStripRenderButton->Name = L"toolStripRenderButton"; 553 this->toolStripRenderButton->Size = System::Drawing::Size(85, 22); 554 this->toolStripRenderButton->Text = L"Render"; 555 this->toolStripRenderButton->TextAlign = System::Drawing::ContentAlignment::MiddleLeft; 556 this->toolStripRenderButton->ButtonClick += gcnew System::EventHandler(this, &Document::RenderButton_Click); 557 // 558 // renderToolStripMenuItem 559 // 560 this->renderToolStripMenuItem->Name = L"renderToolStripMenuItem"; 561 this->renderToolStripMenuItem->Size = System::Drawing::Size(164, 22); 562 this->renderToolStripMenuItem->Tag = L"0"; 563 this->renderToolStripMenuItem->Text = L"Render"; 564 this->renderToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::actionToolStripMenuItem_Click); 565 // 566 // sizedToolStripMenuItem 567 // 568 this->sizedToolStripMenuItem->Name = L"sizedToolStripMenuItem"; 569 this->sizedToolStripMenuItem->Size = System::Drawing::Size(164, 22); 570 this->sizedToolStripMenuItem->Tag = L"1"; 571 this->sizedToolStripMenuItem->Text = L"Render to Size"; 572 this->sizedToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::actionToolStripMenuItem_Click); 573 // 574 // animateToolStripMenuItem 575 // 576 this->animateToolStripMenuItem->Name = L"animateToolStripMenuItem"; 577 this->animateToolStripMenuItem->Size = System::Drawing::Size(164, 22); 578 this->animateToolStripMenuItem->Tag = L"2"; 579 this->animateToolStripMenuItem->Text = L"Animate"; 580 this->animateToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::actionToolStripMenuItem_Click); 581 // 582 // frameToolStripMenuItem 583 // 584 this->frameToolStripMenuItem->Name = L"frameToolStripMenuItem"; 585 this->frameToolStripMenuItem->Size = System::Drawing::Size(164, 22); 586 this->frameToolStripMenuItem->Tag = L"3"; 587 this->frameToolStripMenuItem->Text = L"Animate a Frame"; 588 this->frameToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::actionToolStripMenuItem_Click); 589 // 590 // toolStripSaveButton 591 // 592 this->toolStripSaveButton->AutoToolTip = false; 593 this->toolStripSaveButton->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Text; 594 this->toolStripSaveButton->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripSaveButton.Image"))); 595 this->toolStripSaveButton->ImageTransparentColor = System::Drawing::Color::Magenta; 596 this->toolStripSaveButton->Name = L"toolStripSaveButton"; 597 this->toolStripSaveButton->Size = System::Drawing::Size(76, 44); 598 this->toolStripSaveButton->Text = L"Save Output"; 599 this->toolStripSaveButton->Click += gcnew System::EventHandler(this, &Document::menuRSaveOutput_Click); 600 // 601 // toolStripProgressBar 602 // 603 this->toolStripProgressBar->AutoSize = false; 604 this->toolStripProgressBar->Margin = System::Windows::Forms::Padding(5, 2, 5, 1); 605 this->toolStripProgressBar->Name = L"toolStripProgressBar"; 606 this->toolStripProgressBar->Size = System::Drawing::Size(100, 30); 607 // 608 // toolStripSeparator1 609 // 610 this->toolStripSeparator1->Name = L"toolStripSeparator1"; 611 this->toolStripSeparator1->Size = System::Drawing::Size(6, 47); 612 // 613 // toolStripVariation 614 // 615 this->toolStripVariation->AutoSize = false; 616 this->toolStripVariation->MaxLength = 6; 617 this->toolStripVariation->Name = L"toolStripVariation"; 618 this->toolStripVariation->Size = System::Drawing::Size(75, 47); 619 // 620 // toolStripPrevVar 621 // 622 this->toolStripPrevVar->AutoToolTip = false; 623 this->toolStripPrevVar->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image; 624 this->toolStripPrevVar->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripPrevVar.Image"))); 625 this->toolStripPrevVar->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 626 this->toolStripPrevVar->Name = L"toolStripPrevVar"; 627 this->toolStripPrevVar->Size = System::Drawing::Size(23, 44); 628 this->toolStripPrevVar->Text = L"toolStripButton3"; 629 this->toolStripPrevVar->ToolTipText = L"Previous Variation"; 630 this->toolStripPrevVar->Click += gcnew System::EventHandler(this, &Document::PrevVar_Click); 631 // 632 // toolStripNextVar 633 // 634 this->toolStripNextVar->AutoToolTip = false; 635 this->toolStripNextVar->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image; 636 this->toolStripNextVar->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripNextVar.Image"))); 637 this->toolStripNextVar->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 638 this->toolStripNextVar->Name = L"toolStripNextVar"; 639 this->toolStripNextVar->Size = System::Drawing::Size(23, 44); 640 this->toolStripNextVar->Text = L"toolStripButton4"; 641 this->toolStripNextVar->ToolTipText = L"Next Variation"; 642 this->toolStripNextVar->Click += gcnew System::EventHandler(this, &Document::NextVar_Click); 643 // 644 // toolStripVariationSeparator 645 // 646 this->toolStripVariationSeparator->Name = L"toolStripVariationSeparator"; 647 this->toolStripVariationSeparator->Size = System::Drawing::Size(6, 47); 648 // 649 // toolStripFrameLabel 650 // 651 this->toolStripFrameLabel->Name = L"toolStripFrameLabel"; 652 this->toolStripFrameLabel->Size = System::Drawing::Size(43, 44); 653 this->toolStripFrameLabel->Text = L"Frame:"; 654 this->toolStripFrameLabel->Visible = false; 655 // 656 // toolStripFrameTextBox 657 // 658 this->toolStripFrameTextBox->AutoSize = false; 659 this->toolStripFrameTextBox->Name = L"toolStripFrameTextBox"; 660 this->toolStripFrameTextBox->Size = System::Drawing::Size(50, 39); 661 this->toolStripFrameTextBox->Text = L"9999"; 662 this->toolStripFrameTextBox->Visible = false; 663 // 664 // toolStripPrevFrame 665 // 666 this->toolStripPrevFrame->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image; 667 this->toolStripPrevFrame->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripPrevFrame.Image"))); 668 this->toolStripPrevFrame->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 669 this->toolStripPrevFrame->Name = L"toolStripPrevFrame"; 670 this->toolStripPrevFrame->Size = System::Drawing::Size(23, 44); 671 this->toolStripPrevFrame->Text = L"toolStripButton1"; 672 this->toolStripPrevFrame->ToolTipText = L"Previous frame"; 673 this->toolStripPrevFrame->Visible = false; 674 this->toolStripPrevFrame->Click += gcnew System::EventHandler(this, &Document::PrevFrame_Click); 675 // 676 // toolStripNextFrame 677 // 678 this->toolStripNextFrame->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image; 679 this->toolStripNextFrame->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripNextFrame.Image"))); 680 this->toolStripNextFrame->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 681 this->toolStripNextFrame->Name = L"toolStripNextFrame"; 682 this->toolStripNextFrame->Size = System::Drawing::Size(23, 44); 683 this->toolStripNextFrame->Text = L"toolStripButton1"; 684 this->toolStripNextFrame->ToolTipText = L"Next frame"; 685 this->toolStripNextFrame->Visible = false; 686 this->toolStripNextFrame->Click += gcnew System::EventHandler(this, &Document::NextFrame_Click); 687 // 688 // toolStripFrameSeparator 689 // 690 this->toolStripFrameSeparator->Name = L"toolStripFrameSeparator"; 691 this->toolStripFrameSeparator->Size = System::Drawing::Size(6, 47); 692 this->toolStripFrameSeparator->Visible = false; 693 // 694 // toolStripSizeLabel1 695 // 696 this->toolStripSizeLabel1->Name = L"toolStripSizeLabel1"; 697 this->toolStripSizeLabel1->Size = System::Drawing::Size(30, 44); 698 this->toolStripSizeLabel1->Text = L"Size:"; 699 this->toolStripSizeLabel1->Visible = false; 700 // 701 // toolStripWidthBox 702 // 703 this->toolStripWidthBox->Name = L"toolStripWidthBox"; 704 this->toolStripWidthBox->Size = System::Drawing::Size(100, 47); 705 this->toolStripWidthBox->Visible = false; 706 // 707 // toolStripSizeLabel2 708 // 709 this->toolStripSizeLabel2->Name = L"toolStripSizeLabel2"; 710 this->toolStripSizeLabel2->Size = System::Drawing::Size(15, 44); 711 this->toolStripSizeLabel2->Text = L"×"; 712 this->toolStripSizeLabel2->Visible = false; 713 // 714 // toolStripHeightBox 715 // 716 this->toolStripHeightBox->Name = L"toolStripHeightBox"; 717 this->toolStripHeightBox->Size = System::Drawing::Size(100, 47); 718 this->toolStripHeightBox->Visible = false; 719 // 720 // toolStripSizeSeparator 721 // 722 this->toolStripSizeSeparator->Name = L"toolStripSizeSeparator"; 723 this->toolStripSizeSeparator->Size = System::Drawing::Size(6, 47); 724 this->toolStripSizeSeparator->Visible = false; 725 // 726 // toolStripStatus 727 // 728 this->toolStripStatus->Alignment = System::Windows::Forms::ToolStripItemAlignment::Right; 729 this->toolStripStatus->AutoSize = false; 730 this->toolStripStatus->AutoToolTip = true; 731 this->toolStripStatus->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Text; 732 this->toolStripStatus->Font = (gcnew System::Drawing::Font(L"Segoe UI", 10)); 733 this->toolStripStatus->Name = L"toolStripStatus"; 734 this->toolStripStatus->Size = System::Drawing::Size(75, 22); 735 this->toolStripStatus->TextAlign = System::Drawing::ContentAlignment::MiddleRight; 736 // 737 // documentSplitter 738 // 739 this->documentSplitter->Dock = System::Windows::Forms::DockStyle::Fill; 740 this->documentSplitter->FixedPanel = System::Windows::Forms::FixedPanel::Panel1; 741 this->documentSplitter->Location = System::Drawing::Point(0, 71); 742 this->documentSplitter->Name = L"documentSplitter"; 743 // 744 // documentSplitter.Panel1 745 // 746 this->documentSplitter->Panel1->Controls->Add(this->editorSplitter); 747 // 748 // documentSplitter.Panel2 749 // 750 this->documentSplitter->Panel2->BackColor = System::Drawing::SystemColors::Window; 751 this->documentSplitter->Panel2->Controls->Add(this->renderBox); 752 this->documentSplitter->Size = System::Drawing::Size(1162, 737); 753 this->documentSplitter->SplitterDistance = 386; 754 this->documentSplitter->TabIndex = 1; 755 // 756 // editorSplitter 757 // 758 this->editorSplitter->Dock = System::Windows::Forms::DockStyle::Fill; 759 this->editorSplitter->FixedPanel = System::Windows::Forms::FixedPanel::Panel2; 760 this->editorSplitter->Location = System::Drawing::Point(0, 0); 761 this->editorSplitter->Name = L"editorSplitter"; 762 this->editorSplitter->Orientation = System::Windows::Forms::Orientation::Horizontal; 763 // 764 // editorSplitter.Panel1 765 // 766 this->editorSplitter->Panel1->Controls->Add(this->cfdgText); 767 // 768 // editorSplitter.Panel2 769 // 770 this->editorSplitter->Panel2->Controls->Add(this->cfdgMessage); 771 this->editorSplitter->Size = System::Drawing::Size(386, 737); 772 this->editorSplitter->SplitterDistance = 570; 773 this->editorSplitter->TabIndex = 1; 774 // 775 // cfdgText 776 // 777 this->cfdgText->Dock = System::Windows::Forms::DockStyle::Fill; 778 this->cfdgText->Location = System::Drawing::Point(0, 0); 779 this->cfdgText->Name = L"cfdgText"; 780 this->cfdgText->Size = System::Drawing::Size(386, 570); 781 this->cfdgText->TabIndex = 0; 782 // 783 // cfdgMessage 784 // 785 this->cfdgMessage->AllowWebBrowserDrop = false; 786 this->cfdgMessage->Dock = System::Windows::Forms::DockStyle::Fill; 787 this->cfdgMessage->IsWebBrowserContextMenuEnabled = false; 788 this->cfdgMessage->Location = System::Drawing::Point(0, 0); 789 this->cfdgMessage->MinimumSize = System::Drawing::Size(20, 20); 790 this->cfdgMessage->Name = L"cfdgMessage"; 791 this->cfdgMessage->Size = System::Drawing::Size(386, 163); 792 this->cfdgMessage->TabIndex = 0; 793 // 794 // renderBox 795 // 796 this->renderBox->Dock = System::Windows::Forms::DockStyle::Fill; 797 this->renderBox->InitialImage = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"renderBox.InitialImage"))); 798 this->renderBox->Location = System::Drawing::Point(0, 0); 799 this->renderBox->Name = L"renderBox"; 800 this->renderBox->Size = System::Drawing::Size(772, 737); 801 this->renderBox->SizeMode = System::Windows::Forms::PictureBoxSizeMode::CenterImage; 802 this->renderBox->TabIndex = 0; 803 this->renderBox->TabStop = false; 804 this->renderBox->Click += gcnew System::EventHandler(this, &Document::renderBox_Click); 805 // 806 // menuStrip1 807 // 808 this->menuStrip1->ImageScalingSize = System::Drawing::Size(32, 32); 809 this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) { 810 this->menuFile, this->menuEdit, 811 this->menuRender 812 }); 813 this->menuStrip1->Location = System::Drawing::Point(0, 0); 814 this->menuStrip1->Name = L"menuStrip1"; 815 this->menuStrip1->Size = System::Drawing::Size(1162, 24); 816 this->menuStrip1->TabIndex = 2; 817 this->menuStrip1->Text = L"menuStrip1"; 818 this->menuStrip1->Visible = false; 819 this->menuStrip1->ItemClicked += gcnew System::Windows::Forms::ToolStripItemClickedEventHandler(this, &Document::menuStrip1_ItemClicked); 820 // 821 // menuFile 822 // 823 this->menuFile->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) { 824 this->menuFSave, 825 this->menuFSaveAs, this->menuFClose, this->menuFRevert 826 }); 827 this->menuFile->MergeAction = System::Windows::Forms::MergeAction::MatchOnly; 828 this->menuFile->Name = L"menuFile"; 829 this->menuFile->Size = System::Drawing::Size(37, 20); 830 this->menuFile->Text = L"&File"; 831 // 832 // menuFSave 833 // 834 this->menuFSave->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuFSave.Image"))); 835 this->menuFSave->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 836 this->menuFSave->MergeAction = System::Windows::Forms::MergeAction::Insert; 837 this->menuFSave->MergeIndex = 2; 838 this->menuFSave->Name = L"menuFSave"; 839 this->menuFSave->ShortcutKeyDisplayString = L"Ctrl-S"; 840 this->menuFSave->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::S)); 841 this->menuFSave->Size = System::Drawing::Size(135, 22); 842 this->menuFSave->Text = L"&Save"; 843 this->menuFSave->Click += gcnew System::EventHandler(this, &Document::menuFSave_Click); 844 // 845 // menuFSaveAs 846 // 847 this->menuFSaveAs->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuFSaveAs.Image"))); 848 this->menuFSaveAs->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 849 this->menuFSaveAs->MergeAction = System::Windows::Forms::MergeAction::Insert; 850 this->menuFSaveAs->MergeIndex = 3; 851 this->menuFSaveAs->Name = L"menuFSaveAs"; 852 this->menuFSaveAs->Size = System::Drawing::Size(135, 22); 853 this->menuFSaveAs->Text = L"Save &As"; 854 this->menuFSaveAs->Click += gcnew System::EventHandler(this, &Document::menuFSaveAs_Click); 855 // 856 // menuFClose 857 // 858 this->menuFClose->MergeAction = System::Windows::Forms::MergeAction::Insert; 859 this->menuFClose->MergeIndex = 4; 860 this->menuFClose->Name = L"menuFClose"; 861 this->menuFClose->Size = System::Drawing::Size(135, 22); 862 this->menuFClose->Text = L"&Close"; 863 this->menuFClose->Click += gcnew System::EventHandler(this, &Document::menuFClose_Click); 864 // 865 // menuFRevert 866 // 867 this->menuFRevert->MergeAction = System::Windows::Forms::MergeAction::Insert; 868 this->menuFRevert->MergeIndex = 5; 869 this->menuFRevert->Name = L"menuFRevert"; 870 this->menuFRevert->Size = System::Drawing::Size(135, 22); 871 this->menuFRevert->Text = L"Re&vert"; 872 this->menuFRevert->Click += gcnew System::EventHandler(this, &Document::menuFRevert_Click); 873 // 874 // menuEdit 875 // 876 this->menuEdit->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(19) { 877 this->menuEUndo, 878 this->menuERedo, this->toolStripSeparator2, this->menuECut, this->menuECopy, this->menuEPaste, this->menuEDelete, this->toolStripSeparator6, 879 this->insertCharacterToolStripMenuItem, this->insertSymmetryToolStripMenuItem, this->toolStripMenuItem7, this->insertVariableToolStripMenuItem, 880 this->insertFlagToolStripMenuItem, this->toolStripSeparator5, this->menuEFind, this->menuEFindPrev, this->toolStripSeparator8, 881 this->removeIndentToolStripMenuItem, this->addIndentToolStripMenuItem 882 }); 883 this->menuEdit->MergeAction = System::Windows::Forms::MergeAction::Insert; 884 this->menuEdit->MergeIndex = 1; 885 this->menuEdit->Name = L"menuEdit"; 886 this->menuEdit->Size = System::Drawing::Size(39, 20); 887 this->menuEdit->Text = L"&Edit"; 888 // 889 // menuEUndo 890 // 891 this->menuEUndo->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuEUndo.Image"))); 892 this->menuEUndo->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 893 this->menuEUndo->Name = L"menuEUndo"; 894 this->menuEUndo->ShortcutKeyDisplayString = L"Ctrl-Z"; 895 this->menuEUndo->Size = System::Drawing::Size(220, 22); 896 this->menuEUndo->Text = L"&Undo"; 897 this->menuEUndo->Click += gcnew System::EventHandler(this, &Document::menuEUndo_Click); 898 // 899 // menuERedo 900 // 901 this->menuERedo->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuERedo.Image"))); 902 this->menuERedo->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 903 this->menuERedo->Name = L"menuERedo"; 904 this->menuERedo->ShortcutKeyDisplayString = L"Ctrl-Y"; 905 this->menuERedo->Size = System::Drawing::Size(220, 22); 906 this->menuERedo->Text = L"&Redo"; 907 this->menuERedo->Click += gcnew System::EventHandler(this, &Document::menuERedo_Click); 908 // 909 // toolStripSeparator2 910 // 911 this->toolStripSeparator2->Name = L"toolStripSeparator2"; 912 this->toolStripSeparator2->Size = System::Drawing::Size(217, 6); 913 // 914 // menuECut 915 // 916 this->menuECut->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuECut.Image"))); 917 this->menuECut->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 918 this->menuECut->Name = L"menuECut"; 919 this->menuECut->ShortcutKeyDisplayString = L"Ctrl-X"; 920 this->menuECut->Size = System::Drawing::Size(220, 22); 921 this->menuECut->Text = L"Cu&t"; 922 this->menuECut->Click += gcnew System::EventHandler(this, &Document::menuECut_Click); 923 // 924 // menuECopy 925 // 926 this->menuECopy->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuECopy.Image"))); 927 this->menuECopy->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 928 this->menuECopy->Name = L"menuECopy"; 929 this->menuECopy->ShortcutKeyDisplayString = L"Ctrl-C"; 930 this->menuECopy->Size = System::Drawing::Size(220, 22); 931 this->menuECopy->Text = L"&Copy"; 932 this->menuECopy->Click += gcnew System::EventHandler(this, &Document::menuECopy_Click); 933 // 934 // menuEPaste 935 // 936 this->menuEPaste->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuEPaste.Image"))); 937 this->menuEPaste->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 938 this->menuEPaste->Name = L"menuEPaste"; 939 this->menuEPaste->ShortcutKeyDisplayString = L"Ctrl-V"; 940 this->menuEPaste->Size = System::Drawing::Size(220, 22); 941 this->menuEPaste->Text = L"&Paste"; 942 this->menuEPaste->Click += gcnew System::EventHandler(this, &Document::menuEPaste_Click); 943 // 944 // menuEDelete 945 // 946 this->menuEDelete->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuEDelete.Image"))); 947 this->menuEDelete->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 948 this->menuEDelete->Name = L"menuEDelete"; 949 this->menuEDelete->ShortcutKeyDisplayString = L"DEL"; 950 this->menuEDelete->Size = System::Drawing::Size(220, 22); 951 this->menuEDelete->Text = L"&Delete"; 952 this->menuEDelete->Click += gcnew System::EventHandler(this, &Document::menuEDelete_Click); 953 // 954 // toolStripSeparator6 955 // 956 this->toolStripSeparator6->Name = L"toolStripSeparator6"; 957 this->toolStripSeparator6->Size = System::Drawing::Size(217, 6); 958 // 959 // insertCharacterToolStripMenuItem 960 // 961 this->insertCharacterToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(7) { 962 this->toolStripMenuItem2, 963 this->toolStripMenuItem3, this->toolStripMenuItem4, this->toolStripMenuItem5, this->toolStripMenuItem6, this->infToolStripMenuItem, 964 this->piToolStripMenuItem 965 }); 966 this->insertCharacterToolStripMenuItem->Name = L"insertCharacterToolStripMenuItem"; 967 this->insertCharacterToolStripMenuItem->Size = System::Drawing::Size(220, 22); 968 this->insertCharacterToolStripMenuItem->Text = L"Insert Character"; 969 // 970 // toolStripMenuItem2 971 // 972 this->toolStripMenuItem2->Name = L"toolStripMenuItem2"; 973 this->toolStripMenuItem2->Size = System::Drawing::Size(84, 22); 974 this->toolStripMenuItem2->Tag = L"8804"; 975 this->toolStripMenuItem2->Text = L"≤"; 976 this->toolStripMenuItem2->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 977 // 978 // toolStripMenuItem3 979 // 980 this->toolStripMenuItem3->Name = L"toolStripMenuItem3"; 981 this->toolStripMenuItem3->Size = System::Drawing::Size(84, 22); 982 this->toolStripMenuItem3->Tag = L"8805"; 983 this->toolStripMenuItem3->Text = L"≥"; 984 this->toolStripMenuItem3->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 985 // 986 // toolStripMenuItem4 987 // 988 this->toolStripMenuItem4->Name = L"toolStripMenuItem4"; 989 this->toolStripMenuItem4->Size = System::Drawing::Size(84, 22); 990 this->toolStripMenuItem4->Tag = L"8800"; 991 this->toolStripMenuItem4->Text = L"≠"; 992 this->toolStripMenuItem4->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 993 // 994 // toolStripMenuItem5 995 // 996 this->toolStripMenuItem5->Name = L"toolStripMenuItem5"; 997 this->toolStripMenuItem5->Size = System::Drawing::Size(84, 22); 998 this->toolStripMenuItem5->Tag = L"8230"; 999 this->toolStripMenuItem5->Text = L"…"; 1000 this->toolStripMenuItem5->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1001 // 1002 // toolStripMenuItem6 1003 // 1004 this->toolStripMenuItem6->Name = L"toolStripMenuItem6"; 1005 this->toolStripMenuItem6->Size = System::Drawing::Size(84, 22); 1006 this->toolStripMenuItem6->Tag = L"177"; 1007 this->toolStripMenuItem6->Text = L"±"; 1008 this->toolStripMenuItem6->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1009 // 1010 // infToolStripMenuItem 1011 // 1012 this->infToolStripMenuItem->Name = L"infToolStripMenuItem"; 1013 this->infToolStripMenuItem->Size = System::Drawing::Size(84, 22); 1014 this->infToolStripMenuItem->Tag = L"8734"; 1015 this->infToolStripMenuItem->Text = L"∞"; 1016 this->infToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1017 // 1018 // piToolStripMenuItem 1019 // 1020 this->piToolStripMenuItem->Name = L"piToolStripMenuItem"; 1021 this->piToolStripMenuItem->Size = System::Drawing::Size(84, 22); 1022 this->piToolStripMenuItem->Text = L"π"; 1023 this->piToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1024 // 1025 // insertSymmetryToolStripMenuItem 1026 // 1027 this->insertSymmetryToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(26) { 1028 this->cFCyclicToolStripMenuItem, 1029 this->cFDihedralToolStripMenuItem, this->toolStripSeparator4, this->cFp11gToolStripMenuItem, this->cFp11mToolStripMenuItem, this->cfp1m1ToolStripMenuItem, 1030 this->cFp2ToolStripMenuItem, this->cFp2mgToolStripMenuItem, this->cFp2mmToolStripMenuItem, this->toolStripSeparator7, this->cFp2ToolStripMenuItem1, 1031 this->cFpmToolStripMenuItem, this->cFpgToolStripMenuItem, this->cFcmToolStripMenuItem, this->cFpmmToolStripMenuItem, this->cFpmgToolStripMenuItem, 1032 this->cFpggToolStripMenuItem, this->cFcmmToolStripMenuItem, this->cfp4ToolStripMenuItem, this->cFp4mToolStripMenuItem, this->cFp4gToolStripMenuItem, 1033 this->friezeToolStripMenuItem, this->cFp3m1ToolStripMenuItem, this->cFp31mToolStripMenuItem, this->cFp6ToolStripMenuItem, this->cFp6mToolStripMenuItem 1034 }); 1035 this->insertSymmetryToolStripMenuItem->Name = L"insertSymmetryToolStripMenuItem"; 1036 this->insertSymmetryToolStripMenuItem->Size = System::Drawing::Size(220, 22); 1037 this->insertSymmetryToolStripMenuItem->Text = L"Insert Symmetry"; 1038 // 1039 // cFCyclicToolStripMenuItem 1040 // 1041 this->cFCyclicToolStripMenuItem->Name = L"cFCyclicToolStripMenuItem"; 1042 this->cFCyclicToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1043 this->cFCyclicToolStripMenuItem->Text = L"CF::Cyclic"; 1044 this->cFCyclicToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1045 // 1046 // cFDihedralToolStripMenuItem 1047 // 1048 this->cFDihedralToolStripMenuItem->Name = L"cFDihedralToolStripMenuItem"; 1049 this->cFDihedralToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1050 this->cFDihedralToolStripMenuItem->Text = L"CF::Dihedral"; 1051 this->cFDihedralToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1052 // 1053 // toolStripSeparator4 1054 // 1055 this->toolStripSeparator4->Name = L"toolStripSeparator4"; 1056 this->toolStripSeparator4->Size = System::Drawing::Size(135, 6); 1057 // 1058 // cFp11gToolStripMenuItem 1059 // 1060 this->cFp11gToolStripMenuItem->Name = L"cFp11gToolStripMenuItem"; 1061 this->cFp11gToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1062 this->cFp11gToolStripMenuItem->Text = L"CF::p11g"; 1063 this->cFp11gToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1064 // 1065 // cFp11mToolStripMenuItem 1066 // 1067 this->cFp11mToolStripMenuItem->Name = L"cFp11mToolStripMenuItem"; 1068 this->cFp11mToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1069 this->cFp11mToolStripMenuItem->Text = L"CF::p11m"; 1070 this->cFp11mToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1071 // 1072 // cfp1m1ToolStripMenuItem 1073 // 1074 this->cfp1m1ToolStripMenuItem->Name = L"cfp1m1ToolStripMenuItem"; 1075 this->cfp1m1ToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1076 this->cfp1m1ToolStripMenuItem->Text = L"CF::p1m1"; 1077 this->cfp1m1ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1078 // 1079 // cFp2ToolStripMenuItem 1080 // 1081 this->cFp2ToolStripMenuItem->Name = L"cFp2ToolStripMenuItem"; 1082 this->cFp2ToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1083 this->cFp2ToolStripMenuItem->Text = L"CF::p2"; 1084 this->cFp2ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1085 // 1086 // cFp2mgToolStripMenuItem 1087 // 1088 this->cFp2mgToolStripMenuItem->Name = L"cFp2mgToolStripMenuItem"; 1089 this->cFp2mgToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1090 this->cFp2mgToolStripMenuItem->Text = L"CF::p2mg"; 1091 this->cFp2mgToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1092 // 1093 // cFp2mmToolStripMenuItem 1094 // 1095 this->cFp2mmToolStripMenuItem->Name = L"cFp2mmToolStripMenuItem"; 1096 this->cFp2mmToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1097 this->cFp2mmToolStripMenuItem->Text = L"CF::p2mm"; 1098 this->cFp2mmToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1099 // 1100 // toolStripSeparator7 1101 // 1102 this->toolStripSeparator7->Name = L"toolStripSeparator7"; 1103 this->toolStripSeparator7->Size = System::Drawing::Size(135, 6); 1104 // 1105 // cFp2ToolStripMenuItem1 1106 // 1107 this->cFp2ToolStripMenuItem1->Name = L"cFp2ToolStripMenuItem1"; 1108 this->cFp2ToolStripMenuItem1->Size = System::Drawing::Size(138, 22); 1109 this->cFp2ToolStripMenuItem1->Text = L"CF::p2"; 1110 this->cFp2ToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1111 // 1112 // cFpmToolStripMenuItem 1113 // 1114 this->cFpmToolStripMenuItem->Name = L"cFpmToolStripMenuItem"; 1115 this->cFpmToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1116 this->cFpmToolStripMenuItem->Text = L"CF::pm"; 1117 this->cFpmToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1118 // 1119 // cFpgToolStripMenuItem 1120 // 1121 this->cFpgToolStripMenuItem->Name = L"cFpgToolStripMenuItem"; 1122 this->cFpgToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1123 this->cFpgToolStripMenuItem->Text = L"CF::pg"; 1124 this->cFpgToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1125 // 1126 // cFcmToolStripMenuItem 1127 // 1128 this->cFcmToolStripMenuItem->Name = L"cFcmToolStripMenuItem"; 1129 this->cFcmToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1130 this->cFcmToolStripMenuItem->Text = L"CF::cm"; 1131 this->cFcmToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1132 // 1133 // cFpmmToolStripMenuItem 1134 // 1135 this->cFpmmToolStripMenuItem->Name = L"cFpmmToolStripMenuItem"; 1136 this->cFpmmToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1137 this->cFpmmToolStripMenuItem->Text = L"CF::pmm"; 1138 this->cFpmmToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1139 // 1140 // cFpmgToolStripMenuItem 1141 // 1142 this->cFpmgToolStripMenuItem->Name = L"cFpmgToolStripMenuItem"; 1143 this->cFpmgToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1144 this->cFpmgToolStripMenuItem->Text = L"CF::pmg"; 1145 this->cFpmgToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1146 // 1147 // cFpggToolStripMenuItem 1148 // 1149 this->cFpggToolStripMenuItem->Name = L"cFpggToolStripMenuItem"; 1150 this->cFpggToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1151 this->cFpggToolStripMenuItem->Text = L"CF::pgg"; 1152 this->cFpggToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1153 // 1154 // cFcmmToolStripMenuItem 1155 // 1156 this->cFcmmToolStripMenuItem->Name = L"cFcmmToolStripMenuItem"; 1157 this->cFcmmToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1158 this->cFcmmToolStripMenuItem->Text = L"CF::cmm"; 1159 this->cFcmmToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1160 // 1161 // cfp4ToolStripMenuItem 1162 // 1163 this->cfp4ToolStripMenuItem->Name = L"cfp4ToolStripMenuItem"; 1164 this->cfp4ToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1165 this->cfp4ToolStripMenuItem->Text = L"CF::p4"; 1166 this->cfp4ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1167 // 1168 // cFp4mToolStripMenuItem 1169 // 1170 this->cFp4mToolStripMenuItem->Name = L"cFp4mToolStripMenuItem"; 1171 this->cFp4mToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1172 this->cFp4mToolStripMenuItem->Text = L"CF::p4m"; 1173 this->cFp4mToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1174 // 1175 // cFp4gToolStripMenuItem 1176 // 1177 this->cFp4gToolStripMenuItem->Name = L"cFp4gToolStripMenuItem"; 1178 this->cFp4gToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1179 this->cFp4gToolStripMenuItem->Text = L"CF::p4g"; 1180 this->cFp4gToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1181 // 1182 // friezeToolStripMenuItem 1183 // 1184 this->friezeToolStripMenuItem->Name = L"friezeToolStripMenuItem"; 1185 this->friezeToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1186 this->friezeToolStripMenuItem->Text = L"CF::p3"; 1187 this->friezeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1188 // 1189 // cFp3m1ToolStripMenuItem 1190 // 1191 this->cFp3m1ToolStripMenuItem->Name = L"cFp3m1ToolStripMenuItem"; 1192 this->cFp3m1ToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1193 this->cFp3m1ToolStripMenuItem->Text = L"CF::p3m1"; 1194 this->cFp3m1ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1195 // 1196 // cFp31mToolStripMenuItem 1197 // 1198 this->cFp31mToolStripMenuItem->Name = L"cFp31mToolStripMenuItem"; 1199 this->cFp31mToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1200 this->cFp31mToolStripMenuItem->Text = L"CF::p31m"; 1201 this->cFp31mToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1202 // 1203 // cFp6ToolStripMenuItem 1204 // 1205 this->cFp6ToolStripMenuItem->Name = L"cFp6ToolStripMenuItem"; 1206 this->cFp6ToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1207 this->cFp6ToolStripMenuItem->Text = L"CF::p6"; 1208 this->cFp6ToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1209 // 1210 // cFp6mToolStripMenuItem 1211 // 1212 this->cFp6mToolStripMenuItem->Name = L"cFp6mToolStripMenuItem"; 1213 this->cFp6mToolStripMenuItem->Size = System::Drawing::Size(138, 22); 1214 this->cFp6mToolStripMenuItem->Text = L"CF::p6m"; 1215 this->cFp6mToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1216 // 1217 // toolStripMenuItem7 1218 // 1219 this->toolStripMenuItem7->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(15) { 1220 this->toolStripMenuItem11, 1221 this->toolStripMenuItem8, this->toolStripMenuItem19, this->toolStripMenuItem20, this->toolStripMenuItem21, this->toolStripMenuItem22, 1222 this->toolStripMenuItem23, this->toolStripMenuItem24, this->toolStripMenuItem25, this->toolStripMenuItem26, this->toolStripMenuItem27, 1223 this->toolStripMenuItem28, this->toolStripMenuItem29, this->toolStripMenuItem30, this->toolStripMenuItem31 1224 }); 1225 this->toolStripMenuItem7->Name = L"toolStripMenuItem7"; 1226 this->toolStripMenuItem7->Size = System::Drawing::Size(220, 22); 1227 this->toolStripMenuItem7->Text = L"Insert Blend"; 1228 // 1229 // toolStripMenuItem11 1230 // 1231 this->toolStripMenuItem11->Name = L"toolStripMenuItem11"; 1232 this->toolStripMenuItem11->Size = System::Drawing::Size(158, 22); 1233 this->toolStripMenuItem11->Text = L"CF::Normal"; 1234 this->toolStripMenuItem11->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1235 // 1236 // toolStripMenuItem8 1237 // 1238 this->toolStripMenuItem8->Name = L"toolStripMenuItem8"; 1239 this->toolStripMenuItem8->Size = System::Drawing::Size(158, 22); 1240 this->toolStripMenuItem8->Text = L"CF::Clear"; 1241 this->toolStripMenuItem8->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1242 // 1243 // toolStripMenuItem19 1244 // 1245 this->toolStripMenuItem19->Name = L"toolStripMenuItem19"; 1246 this->toolStripMenuItem19->Size = System::Drawing::Size(158, 22); 1247 this->toolStripMenuItem19->Text = L"CF::Xor"; 1248 this->toolStripMenuItem19->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1249 // 1250 // toolStripMenuItem20 1251 // 1252 this->toolStripMenuItem20->Name = L"toolStripMenuItem20"; 1253 this->toolStripMenuItem20->Size = System::Drawing::Size(158, 22); 1254 this->toolStripMenuItem20->Text = L"CF::Plus"; 1255 this->toolStripMenuItem20->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1256 // 1257 // toolStripMenuItem21 1258 // 1259 this->toolStripMenuItem21->Name = L"toolStripMenuItem21"; 1260 this->toolStripMenuItem21->Size = System::Drawing::Size(158, 22); 1261 this->toolStripMenuItem21->Text = L"CF::Multiply"; 1262 this->toolStripMenuItem21->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1263 // 1264 // toolStripMenuItem22 1265 // 1266 this->toolStripMenuItem22->Name = L"toolStripMenuItem22"; 1267 this->toolStripMenuItem22->Size = System::Drawing::Size(158, 22); 1268 this->toolStripMenuItem22->Text = L"CF::Screen"; 1269 this->toolStripMenuItem22->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1270 // 1271 // toolStripMenuItem23 1272 // 1273 this->toolStripMenuItem23->Name = L"toolStripMenuItem23"; 1274 this->toolStripMenuItem23->Size = System::Drawing::Size(158, 22); 1275 this->toolStripMenuItem23->Text = L"CF::Overlay"; 1276 this->toolStripMenuItem23->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1277 // 1278 // toolStripMenuItem24 1279 // 1280 this->toolStripMenuItem24->Name = L"toolStripMenuItem24"; 1281 this->toolStripMenuItem24->Size = System::Drawing::Size(158, 22); 1282 this->toolStripMenuItem24->Text = L"CF::Darken"; 1283 this->toolStripMenuItem24->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1284 // 1285 // toolStripMenuItem25 1286 // 1287 this->toolStripMenuItem25->Name = L"toolStripMenuItem25"; 1288 this->toolStripMenuItem25->Size = System::Drawing::Size(158, 22); 1289 this->toolStripMenuItem25->Text = L"CF::Lighten"; 1290 this->toolStripMenuItem25->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1291 // 1292 // toolStripMenuItem26 1293 // 1294 this->toolStripMenuItem26->Name = L"toolStripMenuItem26"; 1295 this->toolStripMenuItem26->Size = System::Drawing::Size(158, 22); 1296 this->toolStripMenuItem26->Text = L"CF::ColorDodge"; 1297 this->toolStripMenuItem26->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1298 // 1299 // toolStripMenuItem27 1300 // 1301 this->toolStripMenuItem27->Name = L"toolStripMenuItem27"; 1302 this->toolStripMenuItem27->Size = System::Drawing::Size(158, 22); 1303 this->toolStripMenuItem27->Text = L"CF::ColorBurn"; 1304 this->toolStripMenuItem27->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1305 // 1306 // toolStripMenuItem28 1307 // 1308 this->toolStripMenuItem28->Name = L"toolStripMenuItem28"; 1309 this->toolStripMenuItem28->Size = System::Drawing::Size(158, 22); 1310 this->toolStripMenuItem28->Text = L"CF::HardLight"; 1311 this->toolStripMenuItem28->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1312 // 1313 // toolStripMenuItem29 1314 // 1315 this->toolStripMenuItem29->Name = L"toolStripMenuItem29"; 1316 this->toolStripMenuItem29->Size = System::Drawing::Size(158, 22); 1317 this->toolStripMenuItem29->Text = L"CF::SoftLight"; 1318 this->toolStripMenuItem29->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1319 // 1320 // toolStripMenuItem30 1321 // 1322 this->toolStripMenuItem30->Name = L"toolStripMenuItem30"; 1323 this->toolStripMenuItem30->Size = System::Drawing::Size(158, 22); 1324 this->toolStripMenuItem30->Text = L"CF::Difference"; 1325 this->toolStripMenuItem30->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1326 // 1327 // toolStripMenuItem31 1328 // 1329 this->toolStripMenuItem31->Name = L"toolStripMenuItem31"; 1330 this->toolStripMenuItem31->Size = System::Drawing::Size(158, 22); 1331 this->toolStripMenuItem31->Text = L"CF::Exclusion"; 1332 this->toolStripMenuItem31->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1333 // 1334 // insertVariableToolStripMenuItem 1335 // 1336 this->insertVariableToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(18) { 1337 this->cFAllowOverlapToolStripMenuItem, 1338 this->cFAlphaToolStripMenuItem, this->cFBackgroundToolStripMenuItem, this->cFBorderDynamicToolStripMenuItem, this->cFBorderFixedToolStripMenuItem, 1339 this->cFColorToolStripMenuItem, this->cFColorDepthToolStripMenuItem, this->cFFrameToolStripMenuItem, this->cFFrametimeToolStripMenuItem, 1340 this->cFImpureToolStripMenuItem, this->toolStripMenuItem1, this->cFMaxShapesToolStripMenuItem, this->cFMinimumSizeToolStripMenuItem, 1341 this->cFSizeToolStripMenuItem, this->toolStripMenuItem9, this->cFSymmetryToolStripMenuItem, this->cFTileToolStripMenuItem, this->cFTimeToolStripMenuItem 1342 }); 1343 this->insertVariableToolStripMenuItem->Name = L"insertVariableToolStripMenuItem"; 1344 this->insertVariableToolStripMenuItem->Size = System::Drawing::Size(220, 22); 1345 this->insertVariableToolStripMenuItem->Text = L"Insert Variable"; 1346 // 1347 // cFAllowOverlapToolStripMenuItem 1348 // 1349 this->cFAllowOverlapToolStripMenuItem->Name = L"cFAllowOverlapToolStripMenuItem"; 1350 this->cFAllowOverlapToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1351 this->cFAllowOverlapToolStripMenuItem->Text = L"CF::AllowOverlap = 1"; 1352 this->cFAllowOverlapToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1353 // 1354 // cFAlphaToolStripMenuItem 1355 // 1356 this->cFAlphaToolStripMenuItem->Name = L"cFAlphaToolStripMenuItem"; 1357 this->cFAlphaToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1358 this->cFAlphaToolStripMenuItem->Text = L"CF::Alpha = 1"; 1359 this->cFAlphaToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1360 // 1361 // cFBackgroundToolStripMenuItem 1362 // 1363 this->cFBackgroundToolStripMenuItem->Name = L"cFBackgroundToolStripMenuItem"; 1364 this->cFBackgroundToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1365 this->cFBackgroundToolStripMenuItem->Text = L"CF::Background = [b 1]"; 1366 this->cFBackgroundToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1367 // 1368 // cFBorderDynamicToolStripMenuItem 1369 // 1370 this->cFBorderDynamicToolStripMenuItem->Name = L"cFBorderDynamicToolStripMenuItem"; 1371 this->cFBorderDynamicToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1372 this->cFBorderDynamicToolStripMenuItem->Text = L"CF::BorderDynamic = 0"; 1373 this->cFBorderDynamicToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1374 // 1375 // cFBorderFixedToolStripMenuItem 1376 // 1377 this->cFBorderFixedToolStripMenuItem->Name = L"cFBorderFixedToolStripMenuItem"; 1378 this->cFBorderFixedToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1379 this->cFBorderFixedToolStripMenuItem->Text = L"CF::BorderFixed = 0"; 1380 this->cFBorderFixedToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1381 // 1382 // cFColorToolStripMenuItem 1383 // 1384 this->cFColorToolStripMenuItem->Name = L"cFColorToolStripMenuItem"; 1385 this->cFColorToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1386 this->cFColorToolStripMenuItem->Text = L"CF::Color = 1"; 1387 this->cFColorToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1388 // 1389 // cFColorDepthToolStripMenuItem 1390 // 1391 this->cFColorDepthToolStripMenuItem->Name = L"cFColorDepthToolStripMenuItem"; 1392 this->cFColorDepthToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1393 this->cFColorDepthToolStripMenuItem->Text = L"CF::ColorDepth = 16"; 1394 this->cFColorDepthToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1395 // 1396 // cFFrameToolStripMenuItem 1397 // 1398 this->cFFrameToolStripMenuItem->Name = L"cFFrameToolStripMenuItem"; 1399 this->cFFrameToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1400 this->cFFrameToolStripMenuItem->Text = L"CF::Frame = 60"; 1401 this->cFFrameToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1402 // 1403 // cFFrametimeToolStripMenuItem 1404 // 1405 this->cFFrametimeToolStripMenuItem->Name = L"cFFrametimeToolStripMenuItem"; 1406 this->cFFrametimeToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1407 this->cFFrametimeToolStripMenuItem->Text = L"CF::FrameTime = 0.2"; 1408 this->cFFrametimeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1409 // 1410 // cFImpureToolStripMenuItem 1411 // 1412 this->cFImpureToolStripMenuItem->Name = L"cFImpureToolStripMenuItem"; 1413 this->cFImpureToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1414 this->cFImpureToolStripMenuItem->Text = L"CF::Impure = 1"; 1415 this->cFImpureToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1416 // 1417 // toolStripMenuItem1 1418 // 1419 this->toolStripMenuItem1->Name = L"toolStripMenuItem1"; 1420 this->toolStripMenuItem1->Size = System::Drawing::Size(266, 22); 1421 this->toolStripMenuItem1->Text = L"CF::MaxNatural = 10000"; 1422 // 1423 // cFMaxShapesToolStripMenuItem 1424 // 1425 this->cFMaxShapesToolStripMenuItem->Name = L"cFMaxShapesToolStripMenuItem"; 1426 this->cFMaxShapesToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1427 this->cFMaxShapesToolStripMenuItem->Text = L"CF::MaxShapes = 1000000"; 1428 this->cFMaxShapesToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1429 // 1430 // cFMinimumSizeToolStripMenuItem 1431 // 1432 this->cFMinimumSizeToolStripMenuItem->Name = L"cFMinimumSizeToolStripMenuItem"; 1433 this->cFMinimumSizeToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1434 this->cFMinimumSizeToolStripMenuItem->Text = L"CF::MinimumSize = 0.1"; 1435 this->cFMinimumSizeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1436 // 1437 // cFSizeToolStripMenuItem 1438 // 1439 this->cFSizeToolStripMenuItem->Name = L"cFSizeToolStripMenuItem"; 1440 this->cFSizeToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1441 this->cFSizeToolStripMenuItem->Text = L"CF::Size = [s 4 5]"; 1442 this->cFSizeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1443 // 1444 // cFSymmetryToolStripMenuItem 1445 // 1446 this->cFSymmetryToolStripMenuItem->Name = L"cFSymmetryToolStripMenuItem"; 1447 this->cFSymmetryToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1448 this->cFSymmetryToolStripMenuItem->Text = L"CF::Symmetry = CF::pmg, 1, 0.2, -0.5"; 1449 this->cFSymmetryToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1450 // 1451 // cFTileToolStripMenuItem 1452 // 1453 this->cFTileToolStripMenuItem->Name = L"cFTileToolStripMenuItem"; 1454 this->cFTileToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1455 this->cFTileToolStripMenuItem->Text = L"CF::Tile = [skew 15 15 r 15]"; 1456 this->cFTileToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1457 // 1458 // cFTimeToolStripMenuItem 1459 // 1460 this->cFTimeToolStripMenuItem->Name = L"cFTimeToolStripMenuItem"; 1461 this->cFTimeToolStripMenuItem->Size = System::Drawing::Size(266, 22); 1462 this->cFTimeToolStripMenuItem->Text = L"CF::Time = [time 0 1]"; 1463 this->cFTimeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1464 // 1465 // insertFlagToolStripMenuItem 1466 // 1467 this->insertFlagToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(12) { 1468 this->cFMiterJoinToolStripMenuItem, 1469 this->cFRoundJoinToolStripMenuItem, this->cFBevelJoinToolStripMenuItem, this->cFButtCapToolStripMenuItem, this->cFRoundCapToolStripMenuItem, 1470 this->cFSquareCapToolStripMenuItem, this->cFArcCWToolStripMenuItem, this->cFArcLargeToolStripMenuItem, this->cFContinuousToolStripMenuItem, 1471 this->cFAlignToolStripMenuItem, this->cFEvenOddToolStripMenuItem, this->cFIsoWidthToolStripMenuItem 1472 }); 1473 this->insertFlagToolStripMenuItem->Name = L"insertFlagToolStripMenuItem"; 1474 this->insertFlagToolStripMenuItem->Size = System::Drawing::Size(220, 22); 1475 this->insertFlagToolStripMenuItem->Text = L"Insert Flag"; 1476 // 1477 // cFMiterJoinToolStripMenuItem 1478 // 1479 this->cFMiterJoinToolStripMenuItem->Name = L"cFMiterJoinToolStripMenuItem"; 1480 this->cFMiterJoinToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1481 this->cFMiterJoinToolStripMenuItem->Text = L"CF::MiterJoin"; 1482 this->cFMiterJoinToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1483 // 1484 // cFRoundJoinToolStripMenuItem 1485 // 1486 this->cFRoundJoinToolStripMenuItem->Name = L"cFRoundJoinToolStripMenuItem"; 1487 this->cFRoundJoinToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1488 this->cFRoundJoinToolStripMenuItem->Text = L"CF::RoundJoin"; 1489 this->cFRoundJoinToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1490 // 1491 // cFBevelJoinToolStripMenuItem 1492 // 1493 this->cFBevelJoinToolStripMenuItem->Name = L"cFBevelJoinToolStripMenuItem"; 1494 this->cFBevelJoinToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1495 this->cFBevelJoinToolStripMenuItem->Text = L"CF::BevelJoin"; 1496 this->cFBevelJoinToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1497 // 1498 // cFButtCapToolStripMenuItem 1499 // 1500 this->cFButtCapToolStripMenuItem->Name = L"cFButtCapToolStripMenuItem"; 1501 this->cFButtCapToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1502 this->cFButtCapToolStripMenuItem->Text = L"CF::ButtCap"; 1503 this->cFButtCapToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1504 // 1505 // cFRoundCapToolStripMenuItem 1506 // 1507 this->cFRoundCapToolStripMenuItem->Name = L"cFRoundCapToolStripMenuItem"; 1508 this->cFRoundCapToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1509 this->cFRoundCapToolStripMenuItem->Text = L"CF::RoundCap"; 1510 this->cFRoundCapToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1511 // 1512 // cFSquareCapToolStripMenuItem 1513 // 1514 this->cFSquareCapToolStripMenuItem->Name = L"cFSquareCapToolStripMenuItem"; 1515 this->cFSquareCapToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1516 this->cFSquareCapToolStripMenuItem->Text = L"CF::SquareCap"; 1517 this->cFSquareCapToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1518 // 1519 // cFArcCWToolStripMenuItem 1520 // 1521 this->cFArcCWToolStripMenuItem->Name = L"cFArcCWToolStripMenuItem"; 1522 this->cFArcCWToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1523 this->cFArcCWToolStripMenuItem->Text = L"CF::ArcCW"; 1524 this->cFArcCWToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1525 // 1526 // cFArcLargeToolStripMenuItem 1527 // 1528 this->cFArcLargeToolStripMenuItem->Name = L"cFArcLargeToolStripMenuItem"; 1529 this->cFArcLargeToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1530 this->cFArcLargeToolStripMenuItem->Text = L"CF::ArcLarge"; 1531 this->cFArcLargeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1532 // 1533 // cFContinuousToolStripMenuItem 1534 // 1535 this->cFContinuousToolStripMenuItem->Name = L"cFContinuousToolStripMenuItem"; 1536 this->cFContinuousToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1537 this->cFContinuousToolStripMenuItem->Text = L"CF::Continuous"; 1538 this->cFContinuousToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1539 // 1540 // cFAlignToolStripMenuItem 1541 // 1542 this->cFAlignToolStripMenuItem->Name = L"cFAlignToolStripMenuItem"; 1543 this->cFAlignToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1544 this->cFAlignToolStripMenuItem->Text = L"CF::Align"; 1545 this->cFAlignToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1546 // 1547 // cFEvenOddToolStripMenuItem 1548 // 1549 this->cFEvenOddToolStripMenuItem->Name = L"cFEvenOddToolStripMenuItem"; 1550 this->cFEvenOddToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1551 this->cFEvenOddToolStripMenuItem->Text = L"CF::EvenOdd"; 1552 this->cFEvenOddToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1553 // 1554 // cFIsoWidthToolStripMenuItem 1555 // 1556 this->cFIsoWidthToolStripMenuItem->Name = L"cFIsoWidthToolStripMenuItem"; 1557 this->cFIsoWidthToolStripMenuItem->Size = System::Drawing::Size(156, 22); 1558 this->cFIsoWidthToolStripMenuItem->Text = L"CF::IsoWidth"; 1559 this->cFIsoWidthToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::toolStripMenuUnicode_Click); 1560 // 1561 // toolStripSeparator5 1562 // 1563 this->toolStripSeparator5->Name = L"toolStripSeparator5"; 1564 this->toolStripSeparator5->Size = System::Drawing::Size(217, 6); 1565 // 1566 // menuEFind 1567 // 1568 this->menuEFind->Name = L"menuEFind"; 1569 this->menuEFind->ShortcutKeyDisplayString = L"Ctrl-F"; 1570 this->menuEFind->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::F)); 1571 this->menuEFind->Size = System::Drawing::Size(220, 22); 1572 this->menuEFind->Text = L"Find/Replace..."; 1573 // 1574 // menuEFindPrev 1575 // 1576 this->menuEFindPrev->Name = L"menuEFindPrev"; 1577 this->menuEFindPrev->ShortcutKeyDisplayString = L"Shift-Ctrl-F"; 1578 this->menuEFindPrev->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Shift) 1579 | System::Windows::Forms::Keys::F)); 1580 this->menuEFindPrev->Size = System::Drawing::Size(220, 22); 1581 this->menuEFindPrev->Tag = L"prev"; 1582 this->menuEFindPrev->Text = L"Find Previous..."; 1583 // 1584 // toolStripSeparator8 1585 // 1586 this->toolStripSeparator8->Name = L"toolStripSeparator8"; 1587 this->toolStripSeparator8->Size = System::Drawing::Size(217, 6); 1588 // 1589 // removeIndentToolStripMenuItem 1590 // 1591 this->removeIndentToolStripMenuItem->Name = L"removeIndentToolStripMenuItem"; 1592 this->removeIndentToolStripMenuItem->ShortcutKeyDisplayString = L"Ctrl-["; 1593 this->removeIndentToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::OemOpenBrackets)); 1594 this->removeIndentToolStripMenuItem->Size = System::Drawing::Size(220, 22); 1595 this->removeIndentToolStripMenuItem->Tag = L"-1"; 1596 this->removeIndentToolStripMenuItem->Text = L"Remove Indent"; 1597 this->removeIndentToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::Indent_Click); 1598 // 1599 // addIndentToolStripMenuItem 1600 // 1601 this->addIndentToolStripMenuItem->Name = L"addIndentToolStripMenuItem"; 1602 this->addIndentToolStripMenuItem->ShortcutKeyDisplayString = L"Ctrl-]"; 1603 this->addIndentToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Oem6)); 1604 this->addIndentToolStripMenuItem->Size = System::Drawing::Size(220, 22); 1605 this->addIndentToolStripMenuItem->Tag = L"1"; 1606 this->addIndentToolStripMenuItem->Text = L"Add Indent"; 1607 this->addIndentToolStripMenuItem->Click += gcnew System::EventHandler(this, &Document::Indent_Click); 1608 // 1609 // menuRender 1610 // 1611 this->menuRender->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) { 1612 this->menuRRender, 1613 this->menuRRenderSize, this->menuRRenderAgain, this->menuRAnimate, this->menuRAnimateFrame, this->menuRStop, this->toolStripSeparator3, 1614 this->menuROutput, this->menuRUpload 1615 }); 1616 this->menuRender->MergeAction = System::Windows::Forms::MergeAction::Insert; 1617 this->menuRender->MergeIndex = 2; 1618 this->menuRender->Name = L"menuRender"; 1619 this->menuRender->Size = System::Drawing::Size(56, 20); 1620 this->menuRender->Text = L"&Render"; 1621 // 1622 // menuRRender 1623 // 1624 this->menuRRender->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuRRender.Image"))); 1625 this->menuRRender->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 1626 this->menuRRender->Name = L"menuRRender"; 1627 this->menuRRender->ShortcutKeyDisplayString = L"Ctrl-R"; 1628 this->menuRRender->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::R)); 1629 this->menuRRender->Size = System::Drawing::Size(232, 22); 1630 this->menuRRender->Text = L"&Render"; 1631 this->menuRRender->Click += gcnew System::EventHandler(this, &Document::menuRRender_Click); 1632 // 1633 // menuRRenderSize 1634 // 1635 this->menuRRenderSize->Name = L"menuRRenderSize"; 1636 this->menuRRenderSize->ShortcutKeyDisplayString = L"Ctrl-Shft-R"; 1637 this->menuRRenderSize->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Shift) 1638 | System::Windows::Forms::Keys::R)); 1639 this->menuRRenderSize->Size = System::Drawing::Size(232, 22); 1640 this->menuRRenderSize->Text = L"Render to si&ze..."; 1641 this->menuRRenderSize->Click += gcnew System::EventHandler(this, &Document::menuRRenderSize_Click); 1642 // 1643 // menuRRenderAgain 1644 // 1645 this->menuRRenderAgain->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuRRenderAgain.Image"))); 1646 this->menuRRenderAgain->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 1647 this->menuRRenderAgain->Name = L"menuRRenderAgain"; 1648 this->menuRRenderAgain->ShortcutKeyDisplayString = L"Ctrl-Alt-R"; 1649 this->menuRRenderAgain->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Alt) 1650 | System::Windows::Forms::Keys::R)); 1651 this->menuRRenderAgain->Size = System::Drawing::Size(232, 22); 1652 this->menuRRenderAgain->Text = L"Repea&t Last Render"; 1653 this->menuRRenderAgain->Click += gcnew System::EventHandler(this, &Document::RenderButton_Click); 1654 // 1655 // menuRAnimate 1656 // 1657 this->menuRAnimate->Name = L"menuRAnimate"; 1658 this->menuRAnimate->ShortcutKeyDisplayString = L"Ctrl-Alt-A"; 1659 this->menuRAnimate->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Alt) 1660 | System::Windows::Forms::Keys::A)); 1661 this->menuRAnimate->Size = System::Drawing::Size(232, 22); 1662 this->menuRAnimate->Text = L"&Animate..."; 1663 this->menuRAnimate->Click += gcnew System::EventHandler(this, &Document::menuRAnimate_Click); 1664 // 1665 // menuRAnimateFrame 1666 // 1667 this->menuRAnimateFrame->Name = L"menuRAnimateFrame"; 1668 this->menuRAnimateFrame->ShortcutKeyDisplayString = L"Ctrl-Alt-F"; 1669 this->menuRAnimateFrame->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Alt) 1670 | System::Windows::Forms::Keys::F)); 1671 this->menuRAnimateFrame->Size = System::Drawing::Size(232, 22); 1672 this->menuRAnimateFrame->Text = L"Animate &Frame..."; 1673 this->menuRAnimateFrame->Click += gcnew System::EventHandler(this, &Document::menuRAnimateFrame_Click); 1674 // 1675 // menuRStop 1676 // 1677 this->menuRStop->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuRStop.Image"))); 1678 this->menuRStop->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 1679 this->menuRStop->Name = L"menuRStop"; 1680 this->menuRStop->ShortcutKeyDisplayString = L"Ctrl-END"; 1681 this->menuRStop->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::End)); 1682 this->menuRStop->Size = System::Drawing::Size(232, 22); 1683 this->menuRStop->Text = L"&Stop"; 1684 this->menuRStop->Click += gcnew System::EventHandler(this, &Document::menuRStop_Click); 1685 // 1686 // toolStripSeparator3 1687 // 1688 this->toolStripSeparator3->Name = L"toolStripSeparator3"; 1689 this->toolStripSeparator3->Size = System::Drawing::Size(229, 6); 1690 // 1691 // menuROutput 1692 // 1693 this->menuROutput->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuROutput.Image"))); 1694 this->menuROutput->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 1695 this->menuROutput->Name = L"menuROutput"; 1696 this->menuROutput->ShortcutKeyDisplayString = L"Ctrl-O"; 1697 this->menuROutput->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::O)); 1698 this->menuROutput->Size = System::Drawing::Size(232, 22); 1699 this->menuROutput->Text = L"Save &output..."; 1700 this->menuROutput->Click += gcnew System::EventHandler(this, &Document::menuRSaveOutput_Click); 1701 // 1702 // menuRUpload 1703 // 1704 this->menuRUpload->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"menuRUpload.Image"))); 1705 this->menuRUpload->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None; 1706 this->menuRUpload->Name = L"menuRUpload"; 1707 this->menuRUpload->ShortcutKeyDisplayString = L"Ctrl-U"; 1708 this->menuRUpload->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::U)); 1709 this->menuRUpload->Size = System::Drawing::Size(232, 22); 1710 this->menuRUpload->Text = L"&Upload to gallery..."; 1711 this->menuRUpload->Click += gcnew System::EventHandler(this, &Document::menuRUpload_Click); 1712 // 1713 // toolStripMenuItem9 1714 // 1715 this->toolStripMenuItem9->Name = L"toolStripMenuItem9"; 1716 this->toolStripMenuItem9->Size = System::Drawing::Size(266, 22); 1717 this->toolStripMenuItem9->Text = L"CF::StartShape = foo,[b 1]"; 1718 // 1719 // Document 1720 // 1721 this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::None; 1722 this->ClientSize = System::Drawing::Size(1162, 808); 1723 this->Controls->Add(this->documentSplitter); 1724 this->Controls->Add(this->toolStrip1); 1725 this->Controls->Add(this->menuStrip1); 1726 this->DockAreas = WeifenLuo::WinFormsUI::Docking::DockAreas::Document; 1727 this->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 1728 static_cast<System::Byte>(0))); 1729 this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon"))); 1730 this->Name = L"Document"; 1731 this->TabText = L"Document"; 1732 this->Text = L"Document"; 1733 this->toolStrip1->ResumeLayout(false); 1734 this->toolStrip1->PerformLayout(); 1735 this->documentSplitter->Panel1->ResumeLayout(false); 1736 this->documentSplitter->Panel2->ResumeLayout(false); 1737 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->documentSplitter))->EndInit(); 1738 this->documentSplitter->ResumeLayout(false); 1739 this->editorSplitter->Panel1->ResumeLayout(false); 1740 this->editorSplitter->Panel2->ResumeLayout(false); 1741 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->editorSplitter))->EndInit(); 1742 this->editorSplitter->ResumeLayout(false); 1743 (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->renderBox))->EndInit(); 1744 this->menuStrip1->ResumeLayout(false); 1745 this->menuStrip1->PerformLayout(); 1746 this->ResumeLayout(false); 1747 this->PerformLayout(); 1748 1749 } 1750 #pragma endregion 1751 private: 1752 System::Void RenderButton_Click(System::Object^ sender, System::EventArgs^ e); 1753 1754 System::Void PrevVar_Click(System::Object^ sender, System::EventArgs^ e); 1755 1756 System::Void NextVar_Click(System::Object^ sender, System::EventArgs^ e); 1757 1758 System::Void menuFSave_Click(System::Object^ sender, System::EventArgs^ e); 1759 1760 System::Void menuFSaveAs_Click(System::Object^ sender, System::EventArgs^ e); 1761 1762 System::Void menuFClose_Click(System::Object^ sender, System::EventArgs^ e); 1763 1764 System::Void menuFRevert_Click(System::Object^ sender, System::EventArgs^ e); 1765 1766 System::Void menuRRender_Click(System::Object^ sender, System::EventArgs^ e); 1767 1768 System::Void menuRRenderSize_Click(System::Object^ sender, System::EventArgs^ e); 1769 1770 System::Void menuRStop_Click(System::Object^ sender, System::EventArgs^ e); 1771 1772 System::Void menuRSaveOutput_Click(System::Object^ sender, System::EventArgs^ e); 1773 1774 System::Void menuRUpload_Click(System::Object^ sender, System::EventArgs^ e); 1775 1776 System::Void modifiedCFDG(System::Object^ sender, System::EventArgs^ e); 1777 1778 System::Void stripSizeChanged(System::Object^ sender, System::EventArgs^ e); 1779 1780 System::Void renderSizeChanging(System::Object^ sender, System::Windows::Forms::LayoutEventArgs^ e); 1781 1782 System::Void variationKeyDown(Object^ , System::Windows::Forms::KeyEventArgs^ e); 1783 1784 System::Void variationKeyPress(Object^ , System::Windows::Forms::KeyPressEventArgs^); 1785 1786 System::Void variationChanged(System::Object^ sender, System::EventArgs^ e); 1787 1788 void InitializeStuff(); 1789 void DestroyStuff(); 1790 System::Void moreInitialization(System::Object^ sender, System::EventArgs^ e); 1791 System::EventHandler^ moreInitHandler; 1792 1793 protected: 1794 System::Void FormIsClosing(System::Object^ sender, System::Windows::Forms::FormClosingEventArgs^ e); 1795 virtual void WndProc(System::Windows::Forms::Message% m) override; 1796 void RunRenderThread(System::Object^, System::ComponentModel::DoWorkEventArgs^); 1797 void RenderCompleted(System::Object^, System::ComponentModel::RunWorkerCompletedEventArgs^); 1798 void DoRender(); 1799 void updateRenderButton(); 1800 int mRenderButtonIndex; 1801 bool SyncToSystem(); 1802 System::Drawing::Bitmap^ MakeBitmap(bool cropped, WinCanvas* canvas); 1803 void renderSizeChanged(); 1804 void setupCanvas(Renderer* r); 1805 void updateRenderBox(); 1806 int mProgressDelay; 1807 int mResizeDelay; 1808 bool mReuseVariation; 1809 int imageListBase; 1810 1811 cfdg_ptr* mEngine; 1812 Renderer* mRenderer; 1813 WinCanvas* mCanvas; 1814 WinCanvas* mTempCanvas; 1815 SVGCanvas* mSVGCanvas; 1816 ffCanvas* mAnimationCanvas; 1817 System::String^ mMovieFile; 1818 System::Diagnostics::Process^ mMoviePlayer; 1819 bool mTiled; 1820 array<double>^ mOutputMultiplier; 1821 System::Drawing::Bitmap^ displayImage; 1822 System::Windows::Forms::Timer^ statusTimer; 1823 System::Void statusTick(System::Object^ sender, System::EventArgs^ e); 1824 System::Windows::Forms::Timer^ resizeTimer; 1825 System::Void resizeTick(System::Object^ sender, System::EventArgs^ e); 1826 1827 System::EventHandler^ activateHandler; 1828 1829 private: System::Void menuEUndo_Click(System::Object^ sender, System::EventArgs^ e); 1830 1831 private: System::Void menuERedo_Click(System::Object^ sender, System::EventArgs^ e); 1832 1833 private: System::Void menuECut_Click(System::Object^ sender, System::EventArgs^ e); 1834 1835 private: System::Void menuECopy_Click(System::Object^ sender, System::EventArgs^ e); 1836 1837 private: System::Void menuEPaste_Click(System::Object^ sender, System::EventArgs^ e); 1838 1839 private: System::Void menuRAnimate_Click(System::Object^ sender, System::EventArgs^ e); 1840 1841 private: System::Void menuRAnimateFrame_Click(System::Object^ sender, System::EventArgs^ e); 1842 1843 private: System::Void menuFile_Popup(System::Object^ sender, System::EventArgs^ e); 1844 1845 private: System::Void menuEdit_Popup(System::Object^ sender, System::EventArgs^ e); 1846 1847 private: System::Void menuEDelete_Click(System::Object^ sender, System::EventArgs^ e); 1848 1849 public: bool saveToPNGorJPEG(System::String^ path, System::IO::Stream^ str, bool JPEG); 1850 private: void saveToSVG(System::String^ path); 1851 private: void drawTiled(System::Drawing::Bitmap^ src, System::Drawing::Bitmap^ dest, 1852 System::Drawing::Graphics^ g, System::Drawing::SolidBrush^ gray, 1853 int x, int y); 1854 private: void drawCheckerBoard(System::Drawing::Graphics^ g, 1855 System::Drawing::SolidBrush^ grayBrush, System::Drawing::Rectangle destRect); 1856 1857 private: System::Void renderBox_Click(System::Object^ sender, System::EventArgs^ e) { 1858 cfdgText->Focus(); 1859 } 1860 private: System::Void textFontHandler(System::Object^ sender, System::EventArgs^ e); 1861 private: System::Void errorNavigation(System::Object^ sender, System::Windows::Forms::WebBrowserNavigatingEventArgs^ e); 1862 private: System::EventHandler^ processVariationChange; 1863 private: System::Void splitterMoved(System::Object^ sender, System::Windows::Forms::SplitterEventArgs^ e); 1864 private: System::Void menuStrip1_ItemClicked(System::Object^ sender, System::Windows::Forms::ToolStripItemClickedEventArgs^ e) { 1865 } 1866 private: System::Void messageWindowReady(System::Object^ sender, System::Windows::Forms::WebBrowserDocumentCompletedEventArgs^ e); 1867 System::Text::StringBuilder^ deferredHtml; 1868 bool messageWindowUnready; 1869 private: System::Void toolStripMenuUnicode_Click(System::Object^ sender, System::EventArgs^ e); 1870 private: System::Void actionToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e); 1871 1872 private: System::Void PrevFrame_Click(System::Object^ sender, System::EventArgs^ e); 1873 private: System::Void NextFrame_Click(System::Object^ sender, System::EventArgs^ e); 1874 private: System::Void Frame_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e); 1875 private: System::Void Frame_Changed(System::Object^ sender, System::EventArgs^ e); 1876 private: System::Void Size_Changed(System::Object^ sender, System::EventArgs^ e); 1877 System::Void Style_Cfdg(System::Object^ sender, ScintillaNET::StyleNeededEventArgs^ e); 1878 System::Void StyleChanged(System::Object^ sender, System::EventArgs^ e); 1879 System::Void InsertionCheck(System::Object^ sender, ScintillaNET::InsertCheckEventArgs^ e); 1880 System::Void CharAdded(System::Object^ sender, ScintillaNET::CharAddedEventArgs^ e); 1881 System::Void UpdateUI(System::Object^ sender, ScintillaNET::UpdateUIEventArgs^ e); 1882 System::Void Text_Changed(System::Object^ sender, ScintillaNET::ModificationEventArgs^ e); 1883 System::Void AutoCCharDeleted(System::Object^ sender, System::EventArgs^ e); 1884 System::Void CheckAutoC(); 1885 private: System::Void Indent_Click(System::Object^ sender, System::EventArgs^ e); 1886 System::Void PictureDragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e); 1887 System::Void PictureDragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e); 1888 System::Void DownLoaded(System::Object^ sender, System::Net::DownloadStringCompletedEventArgs^ e); 1889 }; 1890 } 1891