Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.panel1 = new System.Windows.Forms.Panel();
     this.tbSVG = new System.Windows.Forms.TextBox();
     this.svgCtl = new AxSVGACTIVEXLib.AxSVGCtl();
     this.cbWhat = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.svgCtl)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(8, 56);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(400, 304);
     this.panel1.TabIndex = 2;
     this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.PanelPaint);
     //
     // tbSVG
     //
     this.tbSVG.BackColor = System.Drawing.SystemColors.Info;
     this.tbSVG.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbSVG.Location = new System.Drawing.Point(440, 48);
     this.tbSVG.Multiline = true;
     this.tbSVG.Name = "tbSVG";
     this.tbSVG.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbSVG.Size = new System.Drawing.Size(752, 640);
     this.tbSVG.TabIndex = 3;
     this.tbSVG.Text = "";
     this.tbSVG.WordWrap = false;
     //
     // svgCtl
     //
     this.svgCtl.Enabled = true;
     this.svgCtl.Location = new System.Drawing.Point(8, 392);
     this.svgCtl.Name = "svgCtl";
     this.svgCtl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgCtl.OcxState")));
     this.svgCtl.Size = new System.Drawing.Size(400, 304);
     this.svgCtl.TabIndex = 4;
     //
     // cbWhat
     //
     this.cbWhat.Items.AddRange(new object[] {
                                                 "Clipping",
                                                 "Transforms",
                                                 "Arcs/Pies",
                                                 "Lines",
                                                 "Curves",
                                                 "Transparency",
                                                 "Images",
                                                 "Text",
                                                 "Fills"});
     this.cbWhat.Location = new System.Drawing.Point(184, 8);
     this.cbWhat.Name = "cbWhat";
     this.cbWhat.Size = new System.Drawing.Size(312, 21);
     this.cbWhat.TabIndex = 5;
     this.cbWhat.SelectedIndexChanged += new System.EventHandler(this.cbWhat_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(72, 24);
     this.label1.TabIndex = 6;
     this.label1.Text = "GDI:";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(8, 368);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(72, 24);
     this.label2.TabIndex = 7;
     this.label2.Text = "SVG:";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(1200, 717);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.label2,
                                                                   this.label1,
                                                                   this.cbWhat,
                                                                   this.tbSVG,
                                                                   this.panel1,
                                                                   this.svgCtl});
     this.Name = "Form1";
     this.Text = "SvgNet.SvgGdi demonstration/test app";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.svgCtl)).EndInit();
     this.ResumeLayout(false);
 }
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.button1 = new System.Windows.Forms.Button();
     this.tbOut   = new System.Windows.Forms.TextBox();
     this.tbIn    = new System.Windows.Forms.TextBox();
     this.button3 = new System.Windows.Forms.Button();
     this.svgOut  = new AxSVGACTIVEXLib.AxSVGCtl();
     this.svgIn   = new AxSVGACTIVEXLib.AxSVGCtl();
     this.label1  = new System.Windows.Forms.Label();
     this.label2  = new System.Windows.Forms.Label();
     this.button2 = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.svgOut)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgIn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(8, 16);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(128, 32);
     this.button1.TabIndex = 0;
     this.button1.Text     = "Test an SVG file";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // tbOut
     //
     this.tbOut.Location  = new System.Drawing.Point(184, 296);
     this.tbOut.Multiline = true;
     this.tbOut.Name      = "tbOut";
     this.tbOut.Size      = new System.Drawing.Size(384, 248);
     this.tbOut.TabIndex  = 2;
     this.tbOut.Text      = "textBox1";
     //
     // tbIn
     //
     this.tbIn.Location  = new System.Drawing.Point(184, 32);
     this.tbIn.Multiline = true;
     this.tbIn.Name      = "tbIn";
     this.tbIn.Size      = new System.Drawing.Size(384, 232);
     this.tbIn.TabIndex  = 3;
     this.tbIn.Text      = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>";
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(8, 64);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(128, 32);
     this.button3.TabIndex = 4;
     this.button3.Text     = "Run Type Tests";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // svgOut
     //
     this.svgOut.Enabled  = true;
     this.svgOut.Location = new System.Drawing.Point(576, 296);
     this.svgOut.Name     = "svgOut";
     this.svgOut.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgOut.OcxState")));
     this.svgOut.Size     = new System.Drawing.Size(336, 248);
     this.svgOut.TabIndex = 5;
     //
     // svgIn
     //
     this.svgIn.Enabled  = true;
     this.svgIn.Location = new System.Drawing.Point(576, 32);
     this.svgIn.Name     = "svgIn";
     this.svgIn.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgIn.OcxState")));
     this.svgIn.Size     = new System.Drawing.Size(336, 232);
     this.svgIn.TabIndex = 6;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(184, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(136, 24);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Input:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(184, 272);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(136, 24);
     this.label2.TabIndex = 8;
     this.label2.Text     = "Output:";
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(8, 112);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(128, 32);
     this.button2.TabIndex = 9;
     this.button2.Text     = "Run Composition Tests";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(944, 581);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.button2,
         this.label2,
         this.label1,
         this.svgIn,
         this.svgOut,
         this.button3,
         this.tbIn,
         this.tbOut,
         this.button1
     });
     this.Name  = "Form1";
     this.Text  = "SvgNet doc reading/writing test";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.svgOut)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgIn)).EndInit();
     this.ResumeLayout(false);
 }
Example #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.panel1 = new System.Windows.Forms.Panel();
     this.tbSVG  = new System.Windows.Forms.TextBox();
     this.svgCtl = new AxSVGACTIVEXLib.AxSVGCtl();
     this.cbWhat = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.svgCtl)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(8, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(400, 304);
     this.panel1.TabIndex = 2;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.PanelPaint);
     //
     // tbSVG
     //
     this.tbSVG.BackColor  = System.Drawing.SystemColors.Info;
     this.tbSVG.Font       = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbSVG.Location   = new System.Drawing.Point(440, 48);
     this.tbSVG.Multiline  = true;
     this.tbSVG.Name       = "tbSVG";
     this.tbSVG.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbSVG.Size       = new System.Drawing.Size(752, 640);
     this.tbSVG.TabIndex   = 3;
     this.tbSVG.Text       = "";
     this.tbSVG.WordWrap   = false;
     //
     // svgCtl
     //
     this.svgCtl.Enabled  = true;
     this.svgCtl.Location = new System.Drawing.Point(8, 392);
     this.svgCtl.Name     = "svgCtl";
     this.svgCtl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgCtl.OcxState")));
     this.svgCtl.Size     = new System.Drawing.Size(400, 304);
     this.svgCtl.TabIndex = 4;
     //
     // cbWhat
     //
     this.cbWhat.Items.AddRange(new object[] {
         "Clipping",
         "Transforms",
         "Arcs/Pies",
         "Lines",
         "Curves",
         "Transparency",
         "Images",
         "Text",
         "Fills"
     });
     this.cbWhat.Location              = new System.Drawing.Point(184, 8);
     this.cbWhat.Name                  = "cbWhat";
     this.cbWhat.Size                  = new System.Drawing.Size(312, 21);
     this.cbWhat.TabIndex              = 5;
     this.cbWhat.SelectedIndexChanged += new System.EventHandler(this.cbWhat_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 24);
     this.label1.TabIndex = 6;
     this.label1.Text     = "GDI:";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(8, 368);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 24);
     this.label2.TabIndex = 7;
     this.label2.Text     = "SVG:";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(1200, 717);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.label1,
         this.cbWhat,
         this.tbSVG,
         this.panel1,
         this.svgCtl
     });
     this.Name  = "Form1";
     this.Text  = "SvgNet.SvgGdi demonstration/test app";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.svgCtl)).EndInit();
     this.ResumeLayout(false);
 }
Example #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.button1 = new System.Windows.Forms.Button();
     this.tbOut = new System.Windows.Forms.TextBox();
     this.tbIn = new System.Windows.Forms.TextBox();
     this.button3 = new System.Windows.Forms.Button();
     this.svgOut = new AxSVGACTIVEXLib.AxSVGCtl();
     this.svgIn = new AxSVGACTIVEXLib.AxSVGCtl();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.button2 = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.svgOut)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgIn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(8, 16);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(128, 32);
     this.button1.TabIndex = 0;
     this.button1.Text = "Test an SVG file";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // tbOut
     //
     this.tbOut.Location = new System.Drawing.Point(184, 296);
     this.tbOut.Multiline = true;
     this.tbOut.Name = "tbOut";
     this.tbOut.Size = new System.Drawing.Size(384, 248);
     this.tbOut.TabIndex = 2;
     this.tbOut.Text = "textBox1";
     //
     // tbIn
     //
     this.tbIn.Location = new System.Drawing.Point(184, 32);
     this.tbIn.Multiline = true;
     this.tbIn.Name = "tbIn";
     this.tbIn.Size = new System.Drawing.Size(384, 232);
     this.tbIn.TabIndex = 3;
     this.tbIn.Text = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>";
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(8, 64);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(128, 32);
     this.button3.TabIndex = 4;
     this.button3.Text = "Run Type Tests";
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // svgOut
     //
     this.svgOut.Enabled = true;
     this.svgOut.Location = new System.Drawing.Point(576, 296);
     this.svgOut.Name = "svgOut";
     this.svgOut.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgOut.OcxState")));
     this.svgOut.Size = new System.Drawing.Size(336, 248);
     this.svgOut.TabIndex = 5;
     //
     // svgIn
     //
     this.svgIn.Enabled = true;
     this.svgIn.Location = new System.Drawing.Point(576, 32);
     this.svgIn.Name = "svgIn";
     this.svgIn.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("svgIn.OcxState")));
     this.svgIn.Size = new System.Drawing.Size(336, 232);
     this.svgIn.TabIndex = 6;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(184, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(136, 24);
     this.label1.TabIndex = 7;
     this.label1.Text = "Input:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(184, 272);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(136, 24);
     this.label2.TabIndex = 8;
     this.label2.Text = "Output:";
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(8, 112);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(128, 32);
     this.button2.TabIndex = 9;
     this.button2.Text = "Run Composition Tests";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(944, 581);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.button2,
                                                                   this.label2,
                                                                   this.label1,
                                                                   this.svgIn,
                                                                   this.svgOut,
                                                                   this.button3,
                                                                   this.tbIn,
                                                                   this.tbOut,
                                                                   this.button1});
     this.Name = "Form1";
     this.Text = "SvgNet doc reading/writing test";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.svgOut)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.svgIn)).EndInit();
     this.ResumeLayout(false);
 }