text:
namespace KryptonDomainUpDownExamples
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.buttonSystem = new System.Windows.Forms.Button();
            this.buttonOffice2007Blue = new System.Windows.Forms.Button();
            this.buttonSparkleBlue = new System.Windows.Forms.Button();
            this.buttonOffice2010Blue = new System.Windows.Forms.Button();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.dud7 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud12 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.buttonSpecAny4 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.buttonSpecAny5 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.kryptonContextMenu1 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenu();
            this.kryptonContextMenuHeading1 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuHeading();
            this.kryptonContextMenuItems3 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItems();
            this.kryptonContextMenuItem6 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.kryptonContextMenuItem7 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.kryptonContextMenuItem8 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.kryptonContextMenuItem9 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.kryptonContextMenuItem10 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.kryptonContextMenuItem11 = new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem();
            this.dud8 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud11 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.buttonSpecAny6 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.dud9 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud10 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.dud1 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud6 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.buttonSpecAny2 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.buttonSpecAny3 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.dud2 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud5 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.buttonSpecAny1 = new ComponentFactory.Krypton.Toolkit.ButtonSpecAny();
            this.dud3 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.dud4 = new ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown();
            this.buttonClose = new System.Windows.Forms.Button();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.propertyGrid = new System.Windows.Forms.PropertyGrid();
            this.kryptonManager1 = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components);
            this.groupBox3.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.SuspendLayout();
            //
            // groupBox3
            //
            this.groupBox3.Controls.Add(this.buttonSystem);
            this.groupBox3.Controls.Add(this.buttonOffice2007Blue);
            this.groupBox3.Controls.Add(this.buttonSparkleBlue);
            this.groupBox3.Controls.Add(this.buttonOffice2010Blue);
            this.groupBox3.Location = new System.Drawing.Point(12, 284);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(285, 90);
            this.groupBox3.TabIndex = 2;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Palettes";
            //
            // buttonSystem
            //
            this.buttonSystem.Location = new System.Drawing.Point(149, 53);
            this.buttonSystem.Name = "buttonSystem";
            this.buttonSystem.Size = new System.Drawing.Size(117, 25);
            this.buttonSystem.TabIndex = 3;
            this.buttonSystem.Text = "System";
            this.buttonSystem.UseVisualStyleBackColor = true;
            this.buttonSystem.Click += new System.EventHandler(this.buttonSystem_Click);
            //
            // buttonOffice2007Blue
            //
            this.buttonOffice2007Blue.Location = new System.Drawing.Point(21, 53);
            this.buttonOffice2007Blue.Name = "buttonOffice2007Blue";
            this.buttonOffice2007Blue.Size = new System.Drawing.Size(117, 25);
            this.buttonOffice2007Blue.TabIndex = 1;
            this.buttonOffice2007Blue.Text = "Office 2007 - Blue";
            this.buttonOffice2007Blue.UseVisualStyleBackColor = true;
            this.buttonOffice2007Blue.Click += new System.EventHandler(this.buttonOffice2007Blue_Click);
            //
            // buttonSparkleBlue
            //
            this.buttonSparkleBlue.Location = new System.Drawing.Point(149, 24);
            this.buttonSparkleBlue.Name = "buttonSparkleBlue";
            this.buttonSparkleBlue.Size = new System.Drawing.Size(117, 25);
            this.buttonSparkleBlue.TabIndex = 2;
            this.buttonSparkleBlue.Text = "Sparkle - Blue";
            this.buttonSparkleBlue.UseVisualStyleBackColor = true;
            this.buttonSparkleBlue.Click += new System.EventHandler(this.buttonSparkleBlue_Click);
            //
            // buttonOffice2010Blue
            //
            this.buttonOffice2010Blue.Location = new System.Drawing.Point(21, 24);
            this.buttonOffice2010Blue.Name = "buttonOffice2010Blue";
            this.buttonOffice2010Blue.Size = new System.Drawing.Size(117, 25);
            this.buttonOffice2010Blue.TabIndex = 0;
            this.buttonOffice2010Blue.Text = "Office 2010 - Blue";
            this.buttonOffice2010Blue.UseVisualStyleBackColor = true;
            this.buttonOffice2010Blue.Click += new System.EventHandler(this.buttonOffice2010Blue_Click);
            //
            // groupBox2
            //
            this.groupBox2.Controls.Add(this.dud7);
            this.groupBox2.Controls.Add(this.dud12);
            this.groupBox2.Controls.Add(this.dud8);
            this.groupBox2.Controls.Add(this.dud11);
            this.groupBox2.Controls.Add(this.dud9);
            this.groupBox2.Controls.Add(this.dud10);
            this.groupBox2.Location = new System.Drawing.Point(12, 148);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(285, 130);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Ribbon Style";
            //
            // dud7
            //
            this.dud7.AlwaysActive = false;
            this.dud7.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud7.Items.Add("first");
            this.dud7.Items.Add("second");
            this.dud7.Items.Add("third");
            this.dud7.Items.Add("fourth");
            this.dud7.Items.Add("fifth");
            this.dud7.Items.Add("sixth");
            this.dud7.Location = new System.Drawing.Point(18, 31);
            this.dud7.Name = "dud7";
            this.dud7.Size = new System.Drawing.Size(96, 22);
            this.dud7.TabIndex = 0;
            this.dud7.Text = "first";
            this.dud7.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud12
            //
            this.dud12.AlwaysActive = false;
            this.dud12.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] {
            this.buttonSpecAny4,
            this.buttonSpecAny5});
            this.dud12.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud12.Items.Add("first");
            this.dud12.Items.Add("second");
            this.dud12.Items.Add("third");
            this.dud12.Items.Add("fourth");
            this.dud12.Items.Add("fifth");
            this.dud12.Items.Add("sixth");
            this.dud12.Location = new System.Drawing.Point(135, 87);
            this.dud12.Name = "dud12";
            this.dud12.Size = new System.Drawing.Size(131, 22);
            this.dud12.TabIndex = 5;
            this.dud12.Text = "sixth";
            this.dud12.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.dud12.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud12.Enter += new System.EventHandler(this.dud_Enter);
            //
            // buttonSpecAny4
            //
            this.buttonSpecAny4.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny4.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close;
            this.buttonSpecAny4.UniqueName = "65211BA9781346D365211BA9781346D3";
            this.buttonSpecAny4.Click += new System.EventHandler(this.buttonSpecAny4_Click);
            //
            // buttonSpecAny5
            //
            this.buttonSpecAny5.KryptonContextMenu = this.kryptonContextMenu1;
            this.buttonSpecAny5.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny5.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.DropDown;
            this.buttonSpecAny5.UniqueName = "55BDC4B174064C5F55BDC4B174064C5F";
            //
            // kryptonContextMenu1
            //
            this.kryptonContextMenu1.Items.AddRange(new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItemBase[] {
            this.kryptonContextMenuHeading1,
            this.kryptonContextMenuItems3});
            //
            // kryptonContextMenuHeading1
            //
            this.kryptonContextMenuHeading1.ExtraText = "";
            this.kryptonContextMenuHeading1.Text = "Options";
            //
            // kryptonContextMenuItems3
            //
            this.kryptonContextMenuItems3.Items.AddRange(new ComponentFactory.Krypton.Toolkit.KryptonContextMenuItemBase[] {
            this.kryptonContextMenuItem6,
            this.kryptonContextMenuItem7,
            this.kryptonContextMenuItem8,
            this.kryptonContextMenuItem9,
            this.kryptonContextMenuItem10,
            this.kryptonContextMenuItem11});
            //
            // kryptonContextMenuItem6
            //
            this.kryptonContextMenuItem6.Text = "first";
            this.kryptonContextMenuItem6.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // kryptonContextMenuItem7
            //
            this.kryptonContextMenuItem7.Text = "second";
            this.kryptonContextMenuItem7.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // kryptonContextMenuItem8
            //
            this.kryptonContextMenuItem8.Text = "third";
            this.kryptonContextMenuItem8.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // kryptonContextMenuItem9
            //
            this.kryptonContextMenuItem9.Text = "fourth";
            this.kryptonContextMenuItem9.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // kryptonContextMenuItem10
            //
            this.kryptonContextMenuItem10.Text = "fifth";
            this.kryptonContextMenuItem10.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // kryptonContextMenuItem11
            //
            this.kryptonContextMenuItem11.Text = "sixth";
            this.kryptonContextMenuItem11.Click += new System.EventHandler(this.contextMenuClicked);
            //
            // dud8
            //
            this.dud8.AlwaysActive = false;
            this.dud8.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud8.Items.Add("first");
            this.dud8.Items.Add("second");
            this.dud8.Items.Add("third");
            this.dud8.Items.Add("fourth");
            this.dud8.Items.Add("fifth");
            this.dud8.Items.Add("sixth");
            this.dud8.Location = new System.Drawing.Point(18, 59);
            this.dud8.Name = "dud8";
            this.dud8.Size = new System.Drawing.Size(96, 22);
            this.dud8.TabIndex = 1;
            this.dud8.Text = "second";
            this.dud8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.dud8.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud11
            //
            this.dud11.AlwaysActive = false;
            this.dud11.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] {
            this.buttonSpecAny6});
            this.dud11.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud11.Items.Add("first");
            this.dud11.Items.Add("second");
            this.dud11.Items.Add("third");
            this.dud11.Items.Add("fourth");
            this.dud11.Items.Add("fifth");
            this.dud11.Items.Add("sixth");
            this.dud11.Location = new System.Drawing.Point(135, 59);
            this.dud11.Name = "dud11";
            this.dud11.Size = new System.Drawing.Size(114, 22);
            this.dud11.TabIndex = 4;
            this.dud11.Text = "fifth";
            this.dud11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.dud11.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud11.Enter += new System.EventHandler(this.dud_Enter);
            //
            // buttonSpecAny6
            //
            this.buttonSpecAny6.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny6.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close;
            this.buttonSpecAny6.UniqueName = "65211BA9781346D365211BA9781346D3";
            this.buttonSpecAny6.Click += new System.EventHandler(this.buttonSpecAny6_Click);
            //
            // dud9
            //
            this.dud9.AlwaysActive = false;
            this.dud9.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud9.Items.Add("first");
            this.dud9.Items.Add("second");
            this.dud9.Items.Add("third");
            this.dud9.Items.Add("fourth");
            this.dud9.Items.Add("fifth");
            this.dud9.Items.Add("sixth");
            this.dud9.Location = new System.Drawing.Point(18, 87);
            this.dud9.Name = "dud9";
            this.dud9.Size = new System.Drawing.Size(96, 22);
            this.dud9.TabIndex = 2;
            this.dud9.Text = "third";
            this.dud9.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.dud9.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud10
            //
            this.dud10.AlwaysActive = false;
            this.dud10.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.dud10.Items.Add("first");
            this.dud10.Items.Add("second");
            this.dud10.Items.Add("third");
            this.dud10.Items.Add("fourth");
            this.dud10.Items.Add("fifth");
            this.dud10.Items.Add("sixth");
            this.dud10.Location = new System.Drawing.Point(135, 31);
            this.dud10.Name = "dud10";
            this.dud10.Size = new System.Drawing.Size(96, 22);
            this.dud10.TabIndex = 3;
            this.dud10.Text = "fourth";
            this.dud10.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud10.Enter += new System.EventHandler(this.dud_Enter);
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.dud1);
            this.groupBox1.Controls.Add(this.dud6);
            this.groupBox1.Controls.Add(this.dud2);
            this.groupBox1.Controls.Add(this.dud5);
            this.groupBox1.Controls.Add(this.dud3);
            this.groupBox1.Controls.Add(this.dud4);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(285, 130);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Normal Style";
            //
            // dud1
            //
            this.dud1.Items.Add("first");
            this.dud1.Items.Add("second");
            this.dud1.Items.Add("third");
            this.dud1.Items.Add("fourth");
            this.dud1.Items.Add("fifth");
            this.dud1.Items.Add("sixth");
            this.dud1.Location = new System.Drawing.Point(18, 32);
            this.dud1.Name = "dud1";
            this.dud1.Size = new System.Drawing.Size(96, 22);
            this.dud1.TabIndex = 0;
            this.dud1.Text = "first";
            this.dud1.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud6
            //
            this.dud6.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] {
            this.buttonSpecAny2,
            this.buttonSpecAny3});
            this.dud6.Items.Add("first");
            this.dud6.Items.Add("second");
            this.dud6.Items.Add("third");
            this.dud6.Items.Add("fourth");
            this.dud6.Items.Add("fifth");
            this.dud6.Items.Add("sixth");
            this.dud6.Location = new System.Drawing.Point(135, 88);
            this.dud6.Name = "dud6";
            this.dud6.Size = new System.Drawing.Size(131, 22);
            this.dud6.TabIndex = 5;
            this.dud6.Text = "sixth";
            this.dud6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.dud6.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud6.Enter += new System.EventHandler(this.dud_Enter);
            //
            // buttonSpecAny2
            //
            this.buttonSpecAny2.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny2.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close;
            this.buttonSpecAny2.UniqueName = "65211BA9781346D365211BA9781346D3";
            this.buttonSpecAny2.Click += new System.EventHandler(this.buttonSpecAny2_Click);
            //
            // buttonSpecAny3
            //
            this.buttonSpecAny3.KryptonContextMenu = this.kryptonContextMenu1;
            this.buttonSpecAny3.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny3.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.DropDown;
            this.buttonSpecAny3.UniqueName = "55BDC4B174064C5F55BDC4B174064C5F";
            //
            // dud2
            //
            this.dud2.Items.Add("first");
            this.dud2.Items.Add("second");
            this.dud2.Items.Add("third");
            this.dud2.Items.Add("fourth");
            this.dud2.Items.Add("fifth");
            this.dud2.Items.Add("sixth");
            this.dud2.Location = new System.Drawing.Point(18, 60);
            this.dud2.Name = "dud2";
            this.dud2.Size = new System.Drawing.Size(96, 22);
            this.dud2.TabIndex = 1;
            this.dud2.Text = "second";
            this.dud2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.dud2.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud5
            //
            this.dud5.ButtonSpecs.AddRange(new ComponentFactory.Krypton.Toolkit.ButtonSpecAny[] {
            this.buttonSpecAny1});
            this.dud5.Items.Add("first");
            this.dud5.Items.Add("second");
            this.dud5.Items.Add("third");
            this.dud5.Items.Add("fourth");
            this.dud5.Items.Add("fifth");
            this.dud5.Items.Add("sixth");
            this.dud5.Location = new System.Drawing.Point(135, 60);
            this.dud5.Name = "dud5";
            this.dud5.Size = new System.Drawing.Size(114, 22);
            this.dud5.TabIndex = 4;
            this.dud5.Text = "fifth";
            this.dud5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.dud5.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud5.Enter += new System.EventHandler(this.dud_Enter);
            //
            // buttonSpecAny1
            //
            this.buttonSpecAny1.Style = ComponentFactory.Krypton.Toolkit.PaletteButtonStyle.Standalone;
            this.buttonSpecAny1.Type = ComponentFactory.Krypton.Toolkit.PaletteButtonSpecStyle.Close;
            this.buttonSpecAny1.UniqueName = "65211BA9781346D365211BA9781346D3";
            this.buttonSpecAny1.Click += new System.EventHandler(this.buttonSpecAny1_Click);
            //
            // dud3
            //
            this.dud3.Items.Add("first");
            this.dud3.Items.Add("second");
            this.dud3.Items.Add("third");
            this.dud3.Items.Add("fourth");
            this.dud3.Items.Add("fifth");
            this.dud3.Items.Add("sixth");
            this.dud3.Location = new System.Drawing.Point(18, 88);
            this.dud3.Name = "dud3";
            this.dud3.Size = new System.Drawing.Size(96, 22);
            this.dud3.TabIndex = 2;
            this.dud3.Text = "third";
            this.dud3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.dud3.Enter += new System.EventHandler(this.dud_Enter);
            //
            // dud4
            //
            this.dud4.Items.Add("first");
            this.dud4.Items.Add("second");
            this.dud4.Items.Add("third");
            this.dud4.Items.Add("fourth");
            this.dud4.Items.Add("fifth");
            this.dud4.Items.Add("sixth");
            this.dud4.Location = new System.Drawing.Point(135, 32);
            this.dud4.Name = "dud4";
            this.dud4.Size = new System.Drawing.Size(96, 22);
            this.dud4.TabIndex = 3;
            this.dud4.Text = "fourth";
            this.dud4.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.dud4.Enter += new System.EventHandler(this.dud_Enter);
            //
            // buttonClose
            //
            this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.buttonClose.Location = new System.Drawing.Point(550, 380);
            this.buttonClose.Name = "buttonClose";
            this.buttonClose.Size = new System.Drawing.Size(75, 23);
            this.buttonClose.TabIndex = 4;
            this.buttonClose.Text = "&Close";
            this.buttonClose.UseVisualStyleBackColor = true;
            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
            //
            // groupBox4
            //
            this.groupBox4.Controls.Add(this.propertyGrid);
            this.groupBox4.Location = new System.Drawing.Point(303, 12);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(322, 362);
            this.groupBox4.TabIndex = 3;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Properties for Selected KryptonDomainUpDown";
            //
            // propertyGrid
            //
            this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.propertyGrid.Location = new System.Drawing.Point(6, 19);
            this.propertyGrid.Name = "propertyGrid";
            this.propertyGrid.Size = new System.Drawing.Size(310, 337);
            this.propertyGrid.TabIndex = 0;
            this.propertyGrid.ToolbarVisible = false;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(637, 414);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.buttonClose);
            this.Controls.Add(this.groupBox4);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Form1";
            this.Text = "KryptonDomainUpDown Examples";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.groupBox3.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox4.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.Button buttonSystem;
        private System.Windows.Forms.Button buttonOffice2007Blue;
        private System.Windows.Forms.Button buttonSparkleBlue;
        private System.Windows.Forms.Button buttonOffice2010Blue;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Button buttonClose;
        private System.Windows.Forms.GroupBox groupBox4;
        private System.Windows.Forms.PropertyGrid propertyGrid;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud1;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud6;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny2;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny3;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud2;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud5;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny1;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud3;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud4;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud7;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud12;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny4;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny5;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud8;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud11;
        private ComponentFactory.Krypton.Toolkit.ButtonSpecAny buttonSpecAny6;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud9;
        private ComponentFactory.Krypton.Toolkit.KryptonDomainUpDown dud10;
        private ComponentFactory.Krypton.Toolkit.KryptonManager kryptonManager1;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenu kryptonContextMenu1;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuHeading kryptonContextMenuHeading1;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItems kryptonContextMenuItems3;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem6;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem7;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem8;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem9;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem10;
        private ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem kryptonContextMenuItem11;
    }
}


text:
package com.flying.xiao.adapter;

import java.util.List;

import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Handler;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.flying.xiao.R;
import com.flying.xiao.app.AppContext;
import com.flying.xiao.common.StringUtils;
import com.flying.xiao.common.UIHelper;
import com.flying.xiao.common.URLs;
import com.flying.xiao.entity.XUserInfo;
import com.flying.xiao.util.ImageManager2;
/**
 * ÉçÇøadapter
 * @author zhangmin
 *
 */
public class ListViewMyFriendAdapter extends BaseAdapter
{
	private Context context;// ÔËÐÐÉÏÏÂÎÄ
	private List<XUserInfo> listItems;// Êý¾Ý¼¯ºÏ
	private LayoutInflater listContainer;// ÊÓͼÈÝÆ÷
	private int itemViewResource;// ×Ô¶¨ÒåÏîÊÓͼԴ
	private Handler handler;
	private AppContext appContext ;
	static class ListItemView
	{ // ×Ô¶¨Òå¿Ø¼þ¼¯ºÏ
		public ImageView face;
		public TextView name;
		public TextView summary ; //¸öÈË˵Ã÷
	}

	/**
	 * ʵÀý»¯Adapter
	 *
	 * @param context
	 * @param data
	 * @param resource
	 */
	public ListViewMyFriendAdapter(Context context, List<XUserInfo> data, int resource)
	{
		this.context = context;
		this.listContainer = LayoutInflater.from(context); // ´´½¨ÊÓͼÈÝÆ÷²¢ÉèÖÃÉÏÏÂÎÄ
		this.itemViewResource = resource;
		this.listItems = data;
		appContext=(AppContext) ((Activity)context).getApplication();
	}
	@Override
	public int getCount()
	{
		return listItems.size();
	}

	@Override
	public Object getItem(int arg0)
	{
		return null;
	}

	@Override
	public long getItemId(int arg0)
	{
		return 0;
	}

	/**
	 * ListView ItemÉèÖÃ
	 */
	@Override
	public View getView( int position, View convertView, ViewGroup parent)
	{
		// ×Ô¶¨ÒåÊÓͼ
		final ListItemView listItemView;

		if (convertView == null)
		{
			// »ñÈ¡list_item²¼¾ÖÎļþµÄÊÓͼ
			convertView = listContainer.inflate(this.itemViewResource, null);

			listItemView = new ListItemView();
			// »ñÈ¡¿Ø¼þ¶ÔÏó
			listItemView.face = (ImageView) convertView.findViewById(R.id.my_friend_listitem_userface);
			listItemView.name = (TextView) convertView.findViewById(R.id.my_friend_listitem_title);
			listItemView.summary = (TextView) convertView.findViewById(R.id.my_friend_listitem_Summary);
			// ÉèÖÿؼþ¼¯µ½convertView
			convertView.setTag(listItemView);
		} else
		{
			listItemView = (ListItemView) convertView.getTag();
		}

		// ÉèÖÃÎÄ×ÖºÍͼƬ
		final XUserInfo userInfo = listItems.get(position);
		String faceURL="";
		faceURL = userInfo.getUserHeadImageUrl();
		System.out.println("image url---"+faceURL);
		if (faceURL==null||faceURL.endsWith(".gif") || StringUtils.isEmpty(faceURL))
		{
			listItemView.face.setImageResource(R.drawable.widget_dface);
		} else
		{
			ImageManager2.from(context).displayImage(listItemView.face, URLs.HOST+faceURL, R.drawable.widget_dface);
		}
		listItemView.face.setOnClickListener(new OnClickListener()
		{

			@Override
			public void onClick(View v)
			{
				UIHelper.showUserInfo(context, userInfo);
			}
		}); //ÉèÖõã»÷½øÈëÓû§ÏêÇé
		listItemView.face.setTag(URLs.HOST+faceURL);
		listItemView.name.setText(userInfo.getUserRealName());
		if(!userInfo.isOnline())
		{
			listItemView.name.setText(userInfo.getUserRealName()+" ÀëÏß");
			listItemView.name.setTextColor(Color.RED);
		}
		else
		{
			listItemView.name.setText(userInfo.getUserRealName()+" ÔÚÏß");
			listItemView.name.setTextColor(Color.BLACK);
		}
		listItemView.summary.setText(userInfo.getUserGerenshuoming());
		return convertView;
	}

}

redpajama_set_name: RedPajamaGithub


text:
(function(){
  var cli, _, median, EOL, Main, FindExponent, Public;
  cli = require("cli-color");
  _ = require("prelude-ls");
  median = require("median");
  EOL = require("os").EOL;
  Main = {};
  Main.DocString = function(){
    var Doc;
    Doc = "----------------------------------------------------------------------------------" + EOL + "MatLog is a tiny module to succiently view 2D matrices on the terminal. It comes with 2 functions - Init and mlog. " + (EOL + EOL) + "Pass your 2D matrix to mlog to print the matrix on the terminal." + (EOL + EOL) + "Init allows you to customize the printing - you can control two variables by passing their values using a JSON." + (EOL + EOL) + "1# MaxSigFig - For Significant Figures. " + EOL + "2# Blanks    - Spacing between columns. " + (EOL + EOL) + "The function mlog also factors out the most common exponent so you get to see the most relevant values - while saving space. " + (EOL + EOL) + "---------------------------------------------------------------------------------- ";
    console.log(Doc);
  };
  Main.MaxSigFig = 1;
  Main.Blanks = 0;
  Main.Init = function(Json){
    var Keys, Values;
    Json == null && (Json = {
      MaxSigFig: 1,
      Blanks: 0
    });
    for (Keys in Json) {
      Values = Json[Keys];
      if (!(typeof Values === "number")) {
        console.error(cli.redBright("Error: ") + cli.greenBright(Keys) + cli.red(" should be a numerical value"));
      } else {
        if (!(Values === undefined)) {
          this[Keys] = Values;
        }
      }
    }
  };
  Main.CleanMat = function(Mat){
    var SF, I, Iₙ, K, Elem, Kₙ, CurrentElem;
    SF = this.MaxSigFig;
    I = 0;
    Iₙ = Mat.length;
    while (I < Iₙ) {
      K = 0;
      Elem = Mat[I];
      Kₙ = Elem.length;
      while (K < Kₙ) {
        CurrentElem = Elem[K];
        if (typeof CurrentElem === "string") {
          CurrentElem = parseFloat(CurrentElem);
        }
        Elem[K] = parseFloat(CurrentElem.toPrecision(SF));
        K += 1;
      }
      I += 1;
    }
    return Mat;
  };
  FindExponent = function(Num){
    var OutCome;
    OutCome = Num.toExponential().match(/(.*)e(.*)/);
    return _.map(parseFloat, [OutCome[1], OutCome[2]]);
  };
  Main.ExpoAnalysis = function(Matrix){
    var dLoop, ValAnPower, ExpoMat, MedianBase, Output, abs, pow, SF, I, Iₙ, Elem, Row, K, Kₙ, X, ColPower, DPValue, Input;
    dLoop = function(f){
      return _.map(_.map(f));
    };
    ValAnPower = dLoop(FindExponent)(
    Matrix);
    ExpoMat = dLoop(function(x){
      return x[1];
    })(
    ValAnPower);
    MedianBase = median(
    _.flatten(
    ExpoMat));
    Output = [];
    abs = Math.abs, pow = Math.pow;
    SF = this.MaxSigFig;
    I = 0;
    Iₙ = ExpoMat.length;
    while (I < Iₙ) {
      Elem = ValAnPower[I];
      Row = [];
      K = 0;
      Kₙ = Elem.length;
      while (K < Kₙ) {
        X = Elem[K];
        ColPower = X[1] - MedianBase;
        DPValue = parseFloat((X[0] * pow(10, ColPower)).toPrecision(SF));
        if (abs(ColPower) > SF) {
          Input = fn$(
          DPValue);
        } else {
          Input = DPValue.toString();
        }
        Row.push(Input);
        K += 1;
      }
      Output.push(Row);
      I += 1;
    }
    return {
      DisplayMat: Output,
      Base: MedianBase
    };
    function fn$(it){
      return it.toExponential();
    }
  };
  Main.FindMaxColumnLength = function(Mat){
    var ColumnLen, Iₙ, I, MaxRowSize, Elem, Kₙ, K, Len;
    ColumnLen = [];
    Iₙ = Mat.length;
    I = 0;
    MaxRowSize = 0;
    while (I < Iₙ) {
      Elem = Mat[I];
      Kₙ = Elem.length;
      K = 0;
      while (K < Kₙ) {
        Len = fn$(
        Elem[K]);
        if (ColumnLen[K] === undefined) {
          ColumnLen[K] = 0;
        }
        if (ColumnLen[K] < Len) {
          ColumnLen[K] = Len;
        }
        K += 1;
        if (MaxRowSize < Kₙ) {
          MaxRowSize = Kₙ;
        }
      }
      I += 1;
    }
    return {
      "ColumnLen": ColumnLen,
      "MaxRowSize": MaxRowSize
    };
    function fn$(it){
      return it.length;
    }
  };
  Main.mlog = function(Mat){
    var ref$, DisplayMat, Base, ColumnLen, MaxRowSize, stdout, Iₙ, TerminalHorSize, MinSizeForColon, I, CursorPos, K, Elem, Kₙ, ColMaxSize, CurrentNumber, SizeOfStringToBeDisplayed, BlankSize, J, Spaces, EndLine;
    if (!(Array.isArray(Mat[0]) === true)) {
      console.log(Mat);
      return;
    }
    ref$ = this.ExpoAnalysis(
    this.CleanMat(
    Mat)), DisplayMat = ref$.DisplayMat, Base = ref$.Base;
    ref$ = this.FindMaxColumnLength(
    DisplayMat), ColumnLen = ref$.ColumnLen, MaxRowSize = ref$.MaxRowSize;
    stdout = process.stdout;
    Iₙ = DisplayMat.length;
    TerminalHorSize = stdout.columns;
    MinSizeForColon = TerminalHorSize * 0.75;
    I = 0;
    while (I < Iₙ) {
      CursorPos = 0;
      K = 0;
      Elem = DisplayMat[I];
      Kₙ = Elem.length;
      while (K < MaxRowSize) {
        ColMaxSize = ColumnLen[K];
        if (K < Kₙ) {
          CurrentNumber = Elem[K];
          SizeOfStringToBeDisplayed = CurrentNumber.length;
          BlankSize = ColMaxSize - SizeOfStringToBeDisplayed;
        } else {
          CurrentNumber = "-";
          BlankSize = ColMaxSize - 1;
        }
        BlankSize += this.Blanks;
        J = 0;
        Spaces = "";
        while (J <= BlankSize) {
          Spaces += " ";
          J += 1;
        }
        CursorPos += ColMaxSize + BlankSize + 1;
        stdout.write(Spaces + CurrentNumber);
        K += 1;
      }
      if (CursorPos % TerminalHorSize > MinSizeForColon) {
        EndLine = "; " + EOL;
      } else {
        EndLine = EOL;
      }
      stdout.write(EndLine);
      I += 1;
    }
    (function(x){
      return stdout.write(
      "*" + x.toExponential() + EOL);
    })(
    Math.pow(10, Base));
    console.log;
  };
  Public = {};
  Public.DocString = Main.DocString;
  Public.Init = Main.Init.bind(Main);
  Public.mlog = Main.mlog.bind(Main);
  module.exports = Public;
}).call(this);


text:
namespace KlusterKite.API.Client
{
    using System.Collections.Generic;

    /// <summary>
    /// The result of <see cref="INodeConnection{T}.Query"/> method
    /// </summary>
    /// <typeparam name="T">The type of node</typeparam>
    public class QueryResult<T>
    {
        /// <summary>
        /// Gets or sets the total count of selected objects
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// Gets or sets the items limited by <see cref="INodeConnection{T}.Query"/> limit and offset parameters
        /// </summary>
        public IEnumerable<T> Items { get; set; }
    }
}


text:
package com.bdl.config;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;

import com.bdl.config.ConfigException.ConfigNameSettable;
import com.bdl.config.ConfigException.ExternalConfigLoadException;
import com.bdl.config.ConfigException.InvalidConfigSyntaxException;
import com.bdl.config.ConfigException.UnrecognizedConfigException;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * A class to process configuration settings from a list of strings and apply them to configs.
 *
 * @author Ben Leitner
 */
class ConfigProcessor {

  private static final Pattern CONFIG_PATTERN = Pattern.compile("-+([a-zA-Z_]\\w*)(?:=(.*))?");
  private static final int CONFIG_NAME_GROUP = 1;
  private static final int CONFIG_VALUE_GROUP = 2;

  private static final String FALSE_BOOLEAN_CONFIG_PREFIX = "no";
  private static final String FALSE_BOOLEAN_CONFIG_VALUE = "false";

  private final List<String> arguments;
  private final Set<ConfigSupplier> configSuppliers;

  private ConfigMap configs;

  ConfigProcessor(List<String> arguments, Set<ConfigSupplier> configSuppliers) {
    this.arguments = ImmutableList.copyOf(arguments);
    this.configSuppliers = configSuppliers;
  }

  ConfigMap getConfigMap() {
    if (configs == null) {
      Map<String, String> nameToValueMap = getNameToValueMap();
      configs = suppliersToConfigMap();
      processConfigValues(nameToValueMap, configs);
    }
    return configs;
  }

  private ConfigMap suppliersToConfigMap() {
    ConfigMap.Builder configs = ConfigMap.builder();
    for (ConfigSupplier supplier : configSuppliers) {
      configs.addConfigurable(supplier);
    }
    return configs.build();
  }

  private Map<String, String> getNameToValueMap() {
    Map<String, String> configNamesToValues = Maps.newHashMap();
    List<String> nonConfigArgs = Lists.newArrayList();
    addConfigsToMap(configNamesToValues, nonConfigArgs, arguments);

    boolean loadedNewConfigs = true;
    while (loadedNewConfigs) {
      loadedNewConfigs = false;
      for (ExternalConfigLoader loader : ExternalConfigLoader.LOADERS) {
        String externalConfigValue = configNamesToValues.get(loader.getExternalConfigName());
        if (externalConfigValue != null) {
          loadedNewConfigs = true;
          configNamesToValues.remove(loader.getExternalConfigName());
          try {
            addConfigsToMap(
                configNamesToValues, nonConfigArgs, loader.getConfigArgs(externalConfigValue));
          } catch (Exception ex) {
            throw new ExternalConfigLoadException(
                    "Unable to load configs from external source.", ex)
                .wrap();
          }
        }
      }
    }
    return configNamesToValues;
  }

  /**
   * Iterates through the args, building a map of config names to values. Any args that do not match
   * the config pattern are bypassed and added to the nonConfigArgs list.
   *
   * <p>If the argument "--" is encountered, all further arguments are assumed to be non-configs.
   */
  private void addConfigsToMap(
      Map<String, String> configNamesToValues,
      List<String> nonConfigArgs,
      Iterable<String> configArgs) {
    boolean noMoreConfigs = false;

    for (String arg : configArgs) {
      if (noMoreConfigs || !arg.startsWith("-")) {
        nonConfigArgs.add(arg);
        continue;
      }

      if (arg.equals("--")) {
        noMoreConfigs = true;
        continue;
      }

      Matcher matcher = CONFIG_PATTERN.matcher(arg);
      if (!matcher.matches()) {
        throw new InvalidConfigSyntaxException(arg).wrap();
      }
      String configName = matcher.group(CONFIG_NAME_GROUP);
      String valueString = matcher.group(CONFIG_VALUE_GROUP);

      configNamesToValues.put(configName, valueString);
    }
  }

  private void processConfigValues(Map<String, String> namesToValues, ConfigMap configMap) {
    Set<String> unrecognizedConfigs = Sets.newHashSet();

    for (Map.Entry<String, String> configEntry : namesToValues.entrySet()) {
      try {
        processConfig(configMap, configEntry.getKey(), configEntry.getValue());
      } catch (UnrecognizedConfigException ex) {
        unrecognizedConfigs.add(configEntry.getKey());
      }
    }

    if (!unrecognizedConfigs.isEmpty()) {
      throw new UnrecognizedConfigException(
              unrecognizedConfigs.toArray(new String[unrecognizedConfigs.size()]))
          .wrap();
    }
  }

  private void processConfig(ConfigMap configMap, String configName, String valueString)
      throws UnrecognizedConfigException {

    Configurable<?> config = configMap.getOrNull(configName);

    // If we don't find the config, check and see if the name is no[config_name].
    if (config == null
        && valueString == null
        && configName.startsWith(FALSE_BOOLEAN_CONFIG_PREFIX)) {
      configName = configName.substring(FALSE_BOOLEAN_CONFIG_PREFIX.length());
      valueString = FALSE_BOOLEAN_CONFIG_VALUE;
      config = configMap.getOrNull(configName);
    }

    if (config == null) {
      throw new UnrecognizedConfigException(configName);
    }

    if (valueString == null && config.getType().equals(Boolean.class)) {
      valueString = "true";
    }

    try {
      config.setFromString(valueString);
    } catch (ConfigException ex) {
      if (ex instanceof ConfigNameSettable) {
        ex = ((ConfigNameSettable) ex).withConfigName(configName);
      }
      throw ex.wrap();
    }
  }
}


text:
django-migrations-plus
======================

Migrations Plus provides a method to run raw SQL in Django migrations with multiple DB connections.

Install
-------

Using pip::

    $ pip install django-migrations-plus

API
-----
``RunSQL(sql, reverse_sql=None, state_operations=None, db='default')``

Allows running of arbitrary SQL on the database - useful for more advanced features of database backends that Django doesn't support directly, like partial indexes.

sql, and reverse_sql if provided, should be strings of SQL to run on the database. On most database backends (all but PostgreSQL), Django will split the SQL into individual statements prior to executing them. This requires installing the sqlparse Python library.

The state_operations argument is so you can supply operations that are equivalent to the SQL in terms of project state; for example, if you are manually creating a column, you should pass in a list containing an AddField operation here so that the autodetector still has an up-to-date state of the model (otherwise, when you next run makemigrations, it won't see any operation that adds that field and so will try to run it again).

db should be a string with the name of the connection from your settings you want to run your SQL on.

Example
-------
.. code-block:: python

    from django.db import migrations
    import migrations_plus

    class Migration(migrations.Migration):

        operations = [
            migrations_plus.RunSQL('DROP TABLE Students;')  # Runs only against connection 'default'
            migrations_plus.RunSQL('DROP TABLE OtherStudents;', db='other')  # Runs only against connection 'other'
        ]


text:
/* Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.flowable.engine.impl.bpmn.helper;

import org.flowable.common.engine.api.FlowableException;
import org.flowable.common.engine.api.delegate.event.FlowableEngineEvent;
import org.flowable.common.engine.api.delegate.event.FlowableEvent;
import org.flowable.common.engine.api.delegate.event.FlowableEventListener;
import org.flowable.common.engine.impl.context.Context;
import org.flowable.common.engine.impl.interceptor.CommandContext;
import org.flowable.engine.compatibility.Flowable5CompatibilityHandler;
import org.flowable.engine.impl.persistence.entity.ExecutionEntity;
import org.flowable.engine.impl.util.CommandContextUtil;
import org.flowable.engine.impl.util.Flowable5Util;

/**
 * An {@link FlowableEventListener} that throws a error event when an event is dispatched to it.
 *
 * @author Frederik Heremans
 *
 */
public class ErrorThrowingEventListener extends BaseDelegateEventListener {

    protected String errorCode;

    @Override
    public void onEvent(FlowableEvent event) {
        if (isValidEvent(event) && event instanceof FlowableEngineEvent) {

            FlowableEngineEvent engineEvent = (FlowableEngineEvent) event;
            CommandContext commandContext = Context.getCommandContext();

            if (engineEvent.getProcessDefinitionId() != null &&
                    Flowable5Util.isFlowable5ProcessDefinitionId(commandContext, engineEvent.getProcessDefinitionId())) {

                Flowable5CompatibilityHandler compatibilityHandler = Flowable5Util.getFlowable5CompatibilityHandler();
                compatibilityHandler.throwErrorEvent(event);
                return;
            }

            ExecutionEntity execution = null;

            if (engineEvent.getExecutionId() != null) {
                // Get the execution based on the event's execution ID instead
                execution = CommandContextUtil.getExecutionEntityManager().findById(engineEvent.getExecutionId());
            }

            if (execution == null) {
                throw new FlowableException("No execution context active and event is not related to an execution. No compensation event can be thrown.");
            }

            try {
                ErrorPropagation.propagateError(errorCode, execution);
            } catch (Exception e) {
                throw new FlowableException("Error while propagating error-event", e);
            }
        }
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public boolean isFailOnException() {
        return true;
    }
}


text:
title: L'aventure
url: aventure
date: 2017-09-09T16:05:48.229Z
author: Nicolas
draft: false
image: null
video: null
---
Partir, sortir, s'abandonner à un présent qu'on ne maîtrise pas.

Permettre la découverte, de soi, des autres, du Monde.

L'aventure imprègne ma vie, mais j'ai parfois l'impression de fuir... Fuir le quotidien, fuir la monotonie, fuir l'entendu.

Je crois qu'on pourrait définir l'aventure comme le fait de chercher à sortir de sa zone de confort. L'aventure est à sa porte nous dit-on, la porte de son confort, de son chez soi, de ce qu'on maîtrise tant bien que mal. Quelle idée saugrenue de vouloir s'en échapper ?

Si je fuis quelque chose, c'est bien ça, la zone de confort. Pourquoi ai-je ce besoin viscéral d'en sortir ? Cette espèce d'insatisfaction qui pointe son nez dès que les choses se calme dans ma vie ? Est-ce de l'ennui ? Ou de la curiosité ? Suis-je repoussé par l'intérieur ou attiré par l'extérieur ?

Ce besoin de toujours tout remettre en cause a de toute évidence participé à ma situation. Si ma partenaire de route s'amusait des chemins aventureux que nous prenions, il y a un moment où la fatigue s'est faite sentir, surtout quand la motivation originelle n'est pas partagée.

Pourtant... c'est bien l'envie mon moteur. L'envie de découvrir. De me découvrir, de découvrir les autres. Aller à la rencontre du Monde.

Entreprendre seul est déjà amusant, mais ça pourrait être sympa d'avoir un équipier aussi non ? Puis deux, puis trois ? Et puis ça serait dommage de s'arrêter là, on va s'ennuyer au bout d'un moment...

Bien sur que c'est toujours plus difficile, mais quand on commence à maîtriser une situation, on peut se le permettre, non ?

Ma vie ressemble à ça. Des marches qui se succèdent. Je n'aime pas le plat, je regarde avec envie la marche suivante, en permanence. Et je vois loin en général, la marche n'est pas encore franchit que la suivante me fait déjà de l'œil. Peu de gens le savent mais je prépare depuis déjà longtemps un tour du monde en solitaire, sans escale et sans assistance... Je ne sais pas du tout si je le ferais, mais j'y pense quotidiennement depuis plusieurs années déjà. Je suis comme ça, une imagination sans réelle limite. Seule ma réalité est limitée par ce que je suis, ce que je suis capable de faire. Alors autant s'assurer d'être toujours à la limite, pour ne pas en perdre une miette !

Et quel sens donner à la vie si ce n'est la découverte ?

Cette soif de liberté, d'aventures, de découvertes, c'est certainement le sens que j'ai donné à ma vie, et l'équilibre est mon art.

Bien sur je tombe parfois... ça vient de m'arriver. Mais ne pas continuer c'est renoncer à ce que je suis, à tout ce que j'ai, à moi.

Je cours, j'avance, je tombe, je me relève donc. On peut regarder derrière pour savoir ce que je fuis, ou devant pour connaître ma nouvelle chimère, mais est-ce vraiment si important ?

J'avance... donc je suis.


text:
package mackerelclient

import "github.com/mackerelio/mackerel-client-go"

// Client represents a client of Mackerel API
type Client interface {
	FindAWSIntegrations() ([]*mackerel.AWSIntegration, error)
	FindHosts(param *mackerel.FindHostsParam) ([]*mackerel.Host, error)
	FindHost(id string) (*mackerel.Host, error)
	FindServices() ([]*mackerel.Service, error)
	FindChannels() ([]*mackerel.Channel, error)
	GetOrg() (*mackerel.Org, error)
	CreateHost(param *mackerel.CreateHostParam) (string, error)
	UpdateHostStatus(hostID string, status string) error
}


text:
var QuantumCircuit = require("../../lib/quantum-circuit.js");

var circ = new QuantumCircuit();

circ.addGate("h", -1, 0);
circ.addMeasure(0, "c", 0);
circ.addGate("x", -1, 1, {
    condition: {
        creg: "c",
        value: 1
    }
});

circ.run();

console.log("");
console.log(circ.exportQASM());

console.log("");
console.log(circ.exportPyquil());

//console.log("");
//console.log(JSON.stringify(circ.exportRaw(), null, '\t'));

console.log("");
console.log("Final amplitudes:");
circ.print(true);

console.log("");
console.log("Angles:");
console.log(circ.angles());

console.log("");
console.log("Probabilities:");
console.log(circ.probabilities());

console.log("");
console.log("Measured:");
console.log(circ.measureAll());


text:
package mb.scopegraph.pepm16.path;

import org.metaborg.util.collection.ConsList;

import io.usethesource.capsule.Set;
import mb.scopegraph.pepm16.ILabel;
import mb.scopegraph.pepm16.IOccurrence;
import mb.scopegraph.pepm16.IScope;

public interface IPath<S extends IScope, L extends ILabel, O extends IOccurrence> {

    Set.Immutable<O> getImports();

    Set.Immutable<S> getScopes();

    ConsList<L> getLabels();

    Iterable<IResolutionPath<S, L, O>> getImportPaths();

}


text:
'use strict';

import React, {Component} from 'react';
import {connect} from 'react-redux';
import {searchById, search} from '~/actions/Search';
import Jumbotron from '~/views/lib/material/Jumbotron';
import ProjectJobs from './ProjectJobs';
import ProjectProperties from './ProjectProperties';
import SearchedJobs from './ProjectJobs/SearchedJobs';
import {Link} from 'react-router';

class ProjectDetails extends Component {
  componentWillMount() {
    // Populate MUST BE REWORKED
    this.props.search();

    this.props.searchById(this.props.params.id);
    console.log(this.props.result);
  }

  componentWillUnmount() {
    let notAProject = -1;
    this.props.searchById(notAProject);
  }

  getProjectDescription() {
    let e = this.props.result[0];

    console.log("el");
    console.log(e);

    if (e && !e.isPrivate) {
      return (

{e.name}

{e.fastDescription}

            {e.description}

          <ProjectJobs project={e}/>
          <ProjectProperties project={e}/>

      );
    } else if (e) {
      return (

{e.name}

{e.fastDescription}

          Ce projet est privé. Vous pouvez cependant demandez des informations
           à l'auteur.

            <Link className="btn btn-raised btn-primary" to="/">
              Demander des informations
            </Link>

          <SearchedJobs project={e}/>
          <ProjectProperties project={e}/>

      );
    }
  }

  render() {
    return (

        <Jumbotron>
          {this.getProjectDescription()}
        </Jumbotron>

    );
  }
}

export default connect((state) => {
  return {result: state.searchResults};
}, (dispatch) => {
  return {
    searchById: (id) => {
      dispatch(searchById(id));
    },
    search: () => {
      dispatch(search());
    }
  };
})(ProjectDetails);


text:
<!DOCTYPE html>

<meta charset="UTF-8">
<title>Arte Records | Webdesign II | GDM</title>
<link rel="stylesheet" href="css/vendor/normalize.css">
<link rel="stylesheet" href="css/helpers.css">
<link rel="stylesheet" href="css/grid.css">
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/app.css">

Home

Artists

Records

News

Videos

Shop

Send your demo

Absynthe Minded

Daan

Deus

Oscar

The van jets

Triggerfinger

Absynthe Minded

Daan

Deus

Oscar

The van jets

Triggerfinger

Absynthe Minded

Daan

Deus

Oscar

The van jets

Triggerfinger

Absynthe Minded

Daan

Deus

Oscar

The van jets

Triggerfinger

                            © ArteRecords – Industrieweg 232, 9030 Mariakerke – +32 9 234 86 00 – info@arterecords.music

                            A site by Artevelde University College Ghent


text:
package api

import "k8s.io/apimachinery/pkg/fields"

// DeploymentConfigToSelectableFields returns a label set that represents the object
func DeploymentConfigToSelectableFields(deploymentConfig *DeploymentConfig) fields.Set {
	return fields.Set{
		"metadata.name":      deploymentConfig.Name,
		"metadata.namespace": deploymentConfig.Namespace,
	}
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>Uses of Class org.apache.poi.openxml4j.opc.ZipPackage (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev

Next

Frames

No Frames

All Classes

Uses of Class
org.apache.poi.openxml4j.opc.ZipPackage

Packages that use ZipPackage

Package
Description

org.apache.poi.openxml4j.opc.internal

Uses of ZipPackage in org.apache.poi.openxml4j.opc.internal

Methods in org.apache.poi.openxml4j.opc.internal with parameters of type ZipPackage

Modifier and Type
Method and Description

static java.util.zip.ZipEntry
ZipHelper.getContentTypeZipEntry(ZipPackage pkg)

Retrieve the Zip entry of the content types part.

static java.util.zip.ZipEntry
ZipHelper.getCorePropertiesZipEntry(ZipPackage pkg)

Retrieve the zip entry of the core properties part.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev

Next

Frames

No Frames

All Classes

                Copyright 2015 The Apache Software Foundation or
        its licensors, as applicable.


text:
__author__ = 'Sam'

def greeting(msg):
    print(msg)


text:
namespace TextPoint
{
    partial class FrmMain
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
            this.RTBText = new System.Windows.Forms.RichTextBox();
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.trackBarSpeed = new System.Windows.Forms.TrackBar();
            this.LoadFileBtn = new System.Windows.Forms.Button();
            this.StopBtn = new System.Windows.Forms.Button();
            this.RepeatTextBox = new System.Windows.Forms.TextBox();
            this.timeStampBtn = new System.Windows.Forms.Button();
            this.progressBar = new System.Windows.Forms.TrackBar();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
            this.PlayPauseCheckboxBtn = new System.Windows.Forms.CheckBox();
            this.RepeatCheckBoxBtn = new System.Windows.Forms.CheckBox();
            this.BoldCheckboxBtn = new System.Windows.Forms.CheckBox();
            this.ItalicCheckboxBtn = new System.Windows.Forms.CheckBox();
            this.UnderlineCheckboxBtn = new System.Windows.Forms.CheckBox();
            this.FontcomboBox = new System.Windows.Forms.ComboBox();
            this.FontSizeCombobox = new System.Windows.Forms.ComboBox();
            this.ColorChangerBtn = new System.Windows.Forms.Button();
            this.tagComboBox = new System.Windows.Forms.ComboBox();
            this.findTagBtn = new System.Windows.Forms.Button();
            this.spellcheckBtn = new System.Windows.Forms.Button();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.length_Label = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.colorDialog1 = new System.Windows.Forms.ColorDialog();
            this.CurrentTimeLabel = new System.Windows.Forms.Label();
            this.menuStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarSpeed)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.progressBar)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // RTBText
            //
            this.RTBText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.RTBText.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.RTBText.HideSelection = false;
            this.RTBText.Location = new System.Drawing.Point(0, 56);
            this.RTBText.Name = "RTBText";
            this.RTBText.Size = new System.Drawing.Size(718, 329);
            this.RTBText.TabIndex = 0;
            this.RTBText.Text = "";
            this.RTBText.SelectionChanged += new System.EventHandler(this.RTBText_SelectionChanged);
            this.RTBText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RTBText_KeyDown);
            //
            // menuStrip1
            //
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.editToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(718, 24);
            this.menuStrip1.TabIndex = 1;
            this.menuStrip1.Text = "File";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.openToolStripMenuItem,
            this.saveToolStripMenuItem,
            this.toolStripMenuItem1,
            this.exitToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fileToolStripMenuItem.Text = "File";
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
            this.openToolStripMenuItem.Text = "Open";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
            this.saveToolStripMenuItem.Text = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
            //
            // toolStripMenuItem1
            //
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(100, 6);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
            this.exitToolStripMenuItem.Text = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            //
            // editToolStripMenuItem
            //
            this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.cutToolStripMenuItem,
            this.copyToolStripMenuItem,
            this.pasteToolStripMenuItem});
            this.editToolStripMenuItem.Name = "editToolStripMenuItem";
            this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
            this.editToolStripMenuItem.Text = "Edit";
            //
            // cutToolStripMenuItem
            //
            this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
            this.cutToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
            this.cutToolStripMenuItem.Text = "Cut";
            this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
            //
            // copyToolStripMenuItem
            //
            this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
            this.copyToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
            this.copyToolStripMenuItem.Text = "Copy";
            this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
            //
            // pasteToolStripMenuItem
            //
            this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
            this.pasteToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
            this.pasteToolStripMenuItem.Text = "Paste";
            this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
            //
            // trackBarSpeed
            //
            this.trackBarSpeed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.trackBarSpeed.LargeChange = 1;
            this.trackBarSpeed.Location = new System.Drawing.Point(3, 14);
            this.trackBarSpeed.Maximum = 4;
            this.trackBarSpeed.Name = "trackBarSpeed";
            this.trackBarSpeed.Size = new System.Drawing.Size(104, 45);
            this.trackBarSpeed.TabIndex = 3;
            this.trackBarSpeed.Value = 2;
            this.trackBarSpeed.ValueChanged += new System.EventHandler(this.trackBarSpeed_ValueChanged);
            //
            // LoadFileBtn
            //
            this.LoadFileBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.LoadFileBtn.Location = new System.Drawing.Point(6, 437);
            this.LoadFileBtn.Name = "LoadFileBtn";
            this.LoadFileBtn.Size = new System.Drawing.Size(75, 45);
            this.LoadFileBtn.TabIndex = 4;
            this.LoadFileBtn.Text = "Load";
            this.ToolTip.SetToolTip(this.LoadFileBtn, "F1");
            this.LoadFileBtn.UseVisualStyleBackColor = true;
            this.LoadFileBtn.Click += new System.EventHandler(this.LoadFileBtn_Click);
            //
            // StopBtn
            //
            this.StopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.StopBtn.Location = new System.Drawing.Point(168, 437);
            this.StopBtn.Name = "StopBtn";
            this.StopBtn.Size = new System.Drawing.Size(75, 45);
            this.StopBtn.TabIndex = 5;
            this.StopBtn.Text = "Stop";
            this.ToolTip.SetToolTip(this.StopBtn, "F3");
            this.StopBtn.UseVisualStyleBackColor = true;
            this.StopBtn.Click += new System.EventHandler(this.StopBtn_Click);
            //
            // RepeatTextBox
            //
            this.RepeatTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.RepeatTextBox.Location = new System.Drawing.Point(250, 462);
            this.RepeatTextBox.Name = "RepeatTextBox";
            this.RepeatTextBox.Size = new System.Drawing.Size(74, 20);
            this.RepeatTextBox.TabIndex = 7;
            this.RepeatTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.ToolTip.SetToolTip(this.RepeatTextBox, "Type in the number of seconds you want to repeat");
            this.RepeatTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.RepeatTextBox_KeyPress);
            //
            // timeStampBtn
            //
            this.timeStampBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.timeStampBtn.Location = new System.Drawing.Point(330, 437);
            this.timeStampBtn.Name = "timeStampBtn";
            this.timeStampBtn.Size = new System.Drawing.Size(75, 45);
            this.timeStampBtn.TabIndex = 8;
            this.timeStampBtn.Text = "Timestamp";
            this.ToolTip.SetToolTip(this.timeStampBtn, "F5");
            this.timeStampBtn.UseVisualStyleBackColor = true;
            this.timeStampBtn.Click += new System.EventHandler(this.timeStampBtn_Click);
            //
            // progressBar
            //
            this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.progressBar.Location = new System.Drawing.Point(0, 391);
            this.progressBar.Maximum = 0;
            this.progressBar.Name = "progressBar";
            this.progressBar.Size = new System.Drawing.Size(621, 45);
            this.progressBar.TabIndex = 9;
            this.progressBar.Scroll += new System.EventHandler(this.progressBar_Scroll);
            this.progressBar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.progressBar_MouseDown);
            this.progressBar.MouseHover += new System.EventHandler(this.progressBar_MouseHover);
            this.progressBar.MouseUp += new System.Windows.Forms.MouseEventHandler(this.progressBar_MouseUp);
            //
            // label1
            //
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 41);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(22, 13);
            this.label1.TabIndex = 10;
            this.label1.Text = "0.5";
            //
            // label2
            //
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(50, 41);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(13, 13);
            this.label2.TabIndex = 11;
            this.label2.Text = "1";
            //
            // label3
            //
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(88, 41);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(13, 13);
            this.label3.TabIndex = 12;
            this.label3.Text = "2";
            //
            // PlayPauseCheckboxBtn
            //
            this.PlayPauseCheckboxBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.PlayPauseCheckboxBtn.Appearance = System.Windows.Forms.Appearance.Button;
            this.PlayPauseCheckboxBtn.Location = new System.Drawing.Point(87, 437);
            this.PlayPauseCheckboxBtn.Name = "PlayPauseCheckboxBtn";
            this.PlayPauseCheckboxBtn.Size = new System.Drawing.Size(75, 45);
            this.PlayPauseCheckboxBtn.TabIndex = 14;
            this.PlayPauseCheckboxBtn.Text = "Play";
            this.PlayPauseCheckboxBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.ToolTip.SetToolTip(this.PlayPauseCheckboxBtn, "F2");
            this.PlayPauseCheckboxBtn.UseVisualStyleBackColor = true;
            this.PlayPauseCheckboxBtn.Click += new System.EventHandler(this.PlayPauseCheckboxBtn_Click);
            //
            // RepeatCheckBoxBtn
            //
            this.RepeatCheckBoxBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.RepeatCheckBoxBtn.Appearance = System.Windows.Forms.Appearance.Button;
            this.RepeatCheckBoxBtn.Location = new System.Drawing.Point(249, 437);
            this.RepeatCheckBoxBtn.Name = "RepeatCheckBoxBtn";
            this.RepeatCheckBoxBtn.Size = new System.Drawing.Size(75, 23);
            this.RepeatCheckBoxBtn.TabIndex = 15;
            this.RepeatCheckBoxBtn.Text = "Repeat";
            this.RepeatCheckBoxBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.ToolTip.SetToolTip(this.RepeatCheckBoxBtn, "F4");
            this.RepeatCheckBoxBtn.UseVisualStyleBackColor = true;
            this.RepeatCheckBoxBtn.Click += new System.EventHandler(this.RepeatCheckBoxBtn_Click);
            //
            // BoldCheckboxBtn
            //
            this.BoldCheckboxBtn.Appearance = System.Windows.Forms.Appearance.Button;
            this.BoldCheckboxBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.BoldCheckboxBtn.Location = new System.Drawing.Point(12, 27);
            this.BoldCheckboxBtn.Name = "BoldCheckboxBtn";
            this.BoldCheckboxBtn.Size = new System.Drawing.Size(25, 21);
            this.BoldCheckboxBtn.TabIndex = 17;
            this.BoldCheckboxBtn.Text = "B";
            this.BoldCheckboxBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.ToolTip.SetToolTip(this.BoldCheckboxBtn, "Bold");
            this.BoldCheckboxBtn.UseVisualStyleBackColor = true;
            this.BoldCheckboxBtn.Click += new System.EventHandler(this.BoldCheckboxBtn_Click);
            //
            // ItalicCheckboxBtn
            //
            this.ItalicCheckboxBtn.Appearance = System.Windows.Forms.Appearance.Button;
            this.ItalicCheckboxBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ItalicCheckboxBtn.Location = new System.Drawing.Point(43, 27);
            this.ItalicCheckboxBtn.Name = "ItalicCheckboxBtn";
            this.ItalicCheckboxBtn.Size = new System.Drawing.Size(25, 21);
            this.ItalicCheckboxBtn.TabIndex = 18;
            this.ItalicCheckboxBtn.Text = "I";
            this.ItalicCheckboxBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.ToolTip.SetToolTip(this.ItalicCheckboxBtn, "Italic");
            this.ItalicCheckboxBtn.UseVisualStyleBackColor = true;
            this.ItalicCheckboxBtn.Click += new System.EventHandler(this.ItalicCheckboxBtn_Click);
            //
            // UnderlineCheckboxBtn
            //
            this.UnderlineCheckboxBtn.Appearance = System.Windows.Forms.Appearance.Button;
            this.UnderlineCheckboxBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.UnderlineCheckboxBtn.Location = new System.Drawing.Point(74, 27);
            this.UnderlineCheckboxBtn.Name = "UnderlineCheckboxBtn";
            this.UnderlineCheckboxBtn.Size = new System.Drawing.Size(25, 21);
            this.UnderlineCheckboxBtn.TabIndex = 19;
            this.UnderlineCheckboxBtn.Text = "U";
            this.UnderlineCheckboxBtn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.ToolTip.SetToolTip(this.UnderlineCheckboxBtn, "Underline");
            this.UnderlineCheckboxBtn.UseVisualStyleBackColor = true;
            this.UnderlineCheckboxBtn.Click += new System.EventHandler(this.UnderlineCheckboxBtn_Click);
            //
            // FontcomboBox
            //
            this.FontcomboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.FontcomboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
            this.FontcomboBox.FormattingEnabled = true;
            this.FontcomboBox.Items.AddRange(new object[] {
            "Arial",
            "Calibri",
            "Times New Roman"});
            this.FontcomboBox.Location = new System.Drawing.Point(106, 27);
            this.FontcomboBox.Name = "FontcomboBox";
            this.FontcomboBox.Size = new System.Drawing.Size(121, 21);
            this.FontcomboBox.TabIndex = 20;
            this.ToolTip.SetToolTip(this.FontcomboBox, "Change Font");
            this.FontcomboBox.SelectionChangeCommitted += new System.EventHandler(this.FontcomboBox_SelectionChangeCommitted);
            this.FontcomboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FontcomboBox_KeyDown);
            //
            // FontSizeCombobox
            //
            this.FontSizeCombobox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
            this.FontSizeCombobox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.FontSizeCombobox.FormattingEnabled = true;
            this.FontSizeCombobox.Items.AddRange(new object[] {
            "8",
            "9",
            "10",
            "11",
            "12",
            "14",
            "16",
            "18",
            "20",
            "22",
            "24",
            "26",
            "28",
            "36",
            "48",
            "72"});
            this.FontSizeCombobox.Location = new System.Drawing.Point(234, 27);
            this.FontSizeCombobox.Name = "FontSizeCombobox";
            this.FontSizeCombobox.Size = new System.Drawing.Size(38, 21);
            this.FontSizeCombobox.TabIndex = 21;
            this.ToolTip.SetToolTip(this.FontSizeCombobox, "Change Font Size");
            this.FontSizeCombobox.SelectionChangeCommitted += new System.EventHandler(this.FontSizeCombobox_SelectionChangeCommitted);
            //
            // ColorChangerBtn
            //
            this.ColorChangerBtn.Location = new System.Drawing.Point(279, 27);
            this.ColorChangerBtn.Name = "ColorChangerBtn";
            this.ColorChangerBtn.Size = new System.Drawing.Size(75, 21);
            this.ColorChangerBtn.TabIndex = 22;
            this.ColorChangerBtn.Text = "Color";
            this.ToolTip.SetToolTip(this.ColorChangerBtn, "Change Font color");
            this.ColorChangerBtn.UseVisualStyleBackColor = true;
            this.ColorChangerBtn.Click += new System.EventHandler(this.ColorChangerBtn_Click);
            //
            // tagComboBox
            //
            this.tagComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.tagComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
            this.tagComboBox.FormattingEnabled = true;
            this.tagComboBox.Location = new System.Drawing.Point(544, 27);
            this.tagComboBox.Name = "tagComboBox";
            this.tagComboBox.Size = new System.Drawing.Size(121, 21);
            this.tagComboBox.TabIndex = 24;
            this.ToolTip.SetToolTip(this.tagComboBox, "Search by tags or by word");
            this.tagComboBox.DropDown += new System.EventHandler(this.tagComboBox_DropDown);
            this.tagComboBox.Enter += new System.EventHandler(this.tagComboBox_Enter);
            this.tagComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tagComboBox_KeyDown);
            //
            // findTagBtn
            //
            this.findTagBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.findTagBtn.Location = new System.Drawing.Point(671, 27);
            this.findTagBtn.Name = "findTagBtn";
            this.findTagBtn.Size = new System.Drawing.Size(37, 21);
            this.findTagBtn.TabIndex = 25;
            this.findTagBtn.Text = "Find";
            this.ToolTip.SetToolTip(this.findTagBtn, "Find first or next occurens of the word or tag");
            this.findTagBtn.UseVisualStyleBackColor = true;
            this.findTagBtn.Click += new System.EventHandler(this.findTagBtn_Click);
            //
            // spellcheckBtn
            //
            this.spellcheckBtn.Location = new System.Drawing.Point(360, 27);
            this.spellcheckBtn.Name = "spellcheckBtn";
            this.spellcheckBtn.Size = new System.Drawing.Size(80, 21);
            this.spellcheckBtn.TabIndex = 26;
            this.spellcheckBtn.Text = "Spell check";
            this.ToolTip.SetToolTip(this.spellcheckBtn, "Spell checks the text");
            this.spellcheckBtn.UseVisualStyleBackColor = true;
            this.spellcheckBtn.Click += new System.EventHandler(this.spellcheckBtn_Click);
            //
            // timer1
            //
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            //
            // length_Label
            //
            this.length_Label.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.length_Label.AutoEllipsis = true;
            this.length_Label.AutoSize = true;
            this.length_Label.Location = new System.Drawing.Point(630, 395);
            this.length_Label.Name = "length_Label";
            this.length_Label.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.length_Label.Size = new System.Drawing.Size(88, 13);
            this.length_Label.TabIndex = 13;
            this.length_Label.Text = "Length: 00:00:00";
            this.length_Label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // groupBox1
            //
            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.trackBarSpeed);
            this.groupBox1.Location = new System.Drawing.Point(411, 421);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(113, 61);
            this.groupBox1.TabIndex = 16;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Speed";
            //
            // CurrentTimeLabel
            //
            this.CurrentTimeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.CurrentTimeLabel.AutoSize = true;
            this.CurrentTimeLabel.Location = new System.Drawing.Point(343, 421);
            this.CurrentTimeLabel.Name = "CurrentTimeLabel";
            this.CurrentTimeLabel.Size = new System.Drawing.Size(49, 13);
            this.CurrentTimeLabel.TabIndex = 23;
            this.CurrentTimeLabel.Text = "00:00:00";
            //
            // FRMMain
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(718, 486);
            this.Controls.Add(this.spellcheckBtn);
            this.Controls.Add(this.findTagBtn);
            this.Controls.Add(this.tagComboBox);
            this.Controls.Add(this.CurrentTimeLabel);
            this.Controls.Add(this.ColorChangerBtn);
            this.Controls.Add(this.FontSizeCombobox);
            this.Controls.Add(this.FontcomboBox);
            this.Controls.Add(this.UnderlineCheckboxBtn);
            this.Controls.Add(this.ItalicCheckboxBtn);
            this.Controls.Add(this.BoldCheckboxBtn);
            this.Controls.Add(this.RepeatCheckBoxBtn);
            this.Controls.Add(this.PlayPauseCheckboxBtn);
            this.Controls.Add(this.timeStampBtn);
            this.Controls.Add(this.RepeatTextBox);
            this.Controls.Add(this.StopBtn);
            this.Controls.Add(this.LoadFileBtn);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.length_Label);
            this.Controls.Add(this.progressBar);
            this.Controls.Add(this.menuStrip1);
            this.Controls.Add(this.RTBText);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "FrmMain";
            this.Text = "Transcriber";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FRMMain_FormClosing);
            this.Load += new System.EventHandler(this.FRMMain_Load);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarSpeed)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.progressBar)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.RichTextBox RTBText;
        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
        private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
        private System.Windows.Forms.TrackBar trackBarSpeed;
        private System.Windows.Forms.Button LoadFileBtn;
        private System.Windows.Forms.Button StopBtn;
        private System.Windows.Forms.TextBox RepeatTextBox;
        private System.Windows.Forms.Button timeStampBtn;
        private System.Windows.Forms.TrackBar progressBar;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.ToolTip ToolTip;
        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.Label length_Label;
        private System.Windows.Forms.CheckBox PlayPauseCheckboxBtn;
        private System.Windows.Forms.CheckBox RepeatCheckBoxBtn;
        private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.CheckBox BoldCheckboxBtn;
        private System.Windows.Forms.CheckBox ItalicCheckboxBtn;
        private System.Windows.Forms.CheckBox UnderlineCheckboxBtn;
        private System.Windows.Forms.ComboBox FontcomboBox;
        private System.Windows.Forms.ComboBox FontSizeCombobox;
        private System.Windows.Forms.ColorDialog colorDialog1;
        private System.Windows.Forms.Button ColorChangerBtn;
        private System.Windows.Forms.Label CurrentTimeLabel;
        private System.Windows.Forms.ComboBox tagComboBox;
        private System.Windows.Forms.Button findTagBtn;
        private System.Windows.Forms.Button spellcheckBtn;
    }
}


text:
@interface SR_OthersMineViewController ()
@property(nonatomic,strong)SR_UserInfoModel * userInfoModel;
@end

@implementation SR_OthersMineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"TA";
    [self getUserInfo];
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
}

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 170;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 310;
}

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
    return 260.0;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    NSString * cellId = @"SR_OthersMineViewCell";
    SR_OthersMineViewCell * cell = [tableView dequeueReusableCellWithIdentifier:cellId];
    if (!cell) {
        cell = [[SR_OthersMineViewCell alloc] initWithStyle:(UITableViewCellStyleDefault) reuseIdentifier:cellId];
    }
    cell.userModel =  self.userInfoModel;
    __weak typeof(self) weakSelf = self;
    [cell addBlock:^(UITextView *textView) {
        SSLog(@"message:%@",textView.text);
        [weakSelf sendMessage:weakSelf.userModel.user_id content:textView.text];
    }];
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;
}

- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{
    [[UIApplication sharedApplication].keyWindow endEditing:YES];
}

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
    UIView * headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 170)];
    headerView.backgroundColor = baseColor;

    YYAnimatedImageView * headerImageView = [[YYAnimatedImageView alloc] initWithFrame:CGRectMake(0, 0, 92, 92)];
    headerImageView.center = headerView.center;
    [headerImageView setImageWithURL:[NSURL URLWithString:self.userInfoModel.avatar] placeholder:[UIImage imageNamed:@"headerIcon"]];
    headerImageView.layer.cornerRadius = 46;
    headerImageView.layer.borderWidth = 2.0;
    headerImageView.layer.borderColor = [UIColor whiteColor].CGColor;
    headerImageView.layer.masksToBounds = YES;
    [headerView addSubview:headerImageView];

    return headerView;
}

///发送消息
- (void)sendMessage:(NSString * )recipient_id content:(NSString *)content{
    NSString * userId = [UserInfo getUserId];
    NSString * userToken = [UserInfo getUserToken];
    NSDictionary * param = @{@"user_id":userId,@"user_token":userToken,@"recipient_id":recipient_id,
                             @"content":content};
    MBProgressHUD * hud = [[MBProgressHUD alloc] initWithView:self.view];
    [hud showAnimated:YES];
    [httpTools post:SEND_MESSAGE andParameters:param success:^(NSDictionary *dic) {
        [hud hideAnimated:YES];
        [SVProgressHUD showSuccessWithStatus:@"发送成功"];
    } failure:^(NSError *error) {
        [hud hideAnimated:YES];
    }];
}

- (void)getUserInfo{
    MBProgressHUD * hud = [[MBProgressHUD alloc] initWithView:self.view];
    NSDictionary * param = @{@"id":self.userModel.user_id};
    [hud showAnimated:YES];
    [httpTools post:GET_USER_INFO andParameters:param success:^(NSDictionary *dic) {
        [hud hideAnimated:YES];
        NSLog(@"dic:%@",dic);
        self.userInfoModel = [SR_UserInfoModel modelWithDictionary:dic[@"data"][@"record"]];
        [self.tableView reloadData];
    } failure:^(NSError *error) {
        [hud hideAnimated:YES];
    }];
}

@end


text:
<?php defined('BX_DOL') or die('hack attempt');

bx_import('BxBaseModTextMenu');

/**
 * General class for module menu.
 */
class BxPostsMenu extends BxBaseModTextMenu
{
    public function __construct($aObject, $oTemplate = false)
    {
        $this->MODULE = 'bx_posts';
        parent::__construct($aObject, $oTemplate);
    }
}

/** @} */


text:
layout: page
title: about
permalink: /about/
---

This is Zihan's sketch book, my personal online page. This gallery mainly contains my recent illustration works. If you want to know more about my art works or work with me, please contact me.