Windows Form File /AgentMovieEditor/Modals/ComboWindow.cs (C#)
using System;  
using System.Collections;  
using System.ComponentModel;  
using System.Drawing;  
  
using System.Windows.Forms;  
  
  
namespace YariSoft.AgentMovieEditor.Modals  
{  
    public class ComboWindow : BaseEditForm  
    {  
        private System.Windows.Forms.Label editLabel;  
        private System.Windows.Forms.ComboBox combo;  
        private System.ComponentModel.IContainer components = null;  
  
        #region Properties  
        public override object Value  
        {  
            get{ return this.combo.Text; }  
            set{ this.combo.Text = (string)value;}  
        }  
        #endregion  
  
        public ComboWindow()  
        {  
            // This call is required by the Windows Form Designer.  
            InitializeComponent();  
            this.combo.SelectedIndex = 0;  
  
            // TODO: Add any initialization after the InitializeComponent call  
        }  
  
        /// <summary>  
        /// Clean up any resources being used.  
        /// </summary>  
        protected override void Dispose( bool disposing )  
        {  
            if( disposing )  
            {  
                if (components != null)  
                {  
                    components.Dispose();  
                }  
            }  
            base.Dispose( disposing );  
        }  
  
        #region 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.editLabel = new System.Windows.Forms.Label();  
            this.combo = new System.Windows.Forms.ComboBox();  
            this.bottomPanel.SuspendLayout();  
            this.SuspendLayout();  
            //    
            // bottomPanel  
            //    
            this.bottomPanel.Location = new System.Drawing.Point(0, 53);  
            this.bottomPanel.Size = new System.Drawing.Size(294, 35);  
            this.bottomPanel.Visible = true;  
            //    
            // cancelButton  
            //    
            this.cancelButton.Visible = true;  
            //    
            // okButton  
            //    
            this.okButton.Visible = true;  
            //    
            // editLabel  
            //    
            this.editLabel.AutoSize = true;  
            this.editLabel.Location = new System.Drawing.Point(15, 8);  
            this.editLabel.Name = "editLabel";  
            this.editLabel.Size = new System.Drawing.Size(58, 13);  
            this.editLabel.TabIndex = 3;  
            this.editLabel.Text = "Animation:";  
            //    
            // combo  
            //    
            this.combo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;  
            this.combo.Items.AddRange(new object[] {  
                                                       "Acknowledge",  
                                                       "Alert",  
                                                       "Announce",  
                                                       "Blink",  
                                                       "Confused",  
                                                       "Congratulate",  
                                                       "Decline",  
                                                       "DoMagic1",  
                                                       "DontRecognize",  
                                                       "DoMagic2",  
                                                       "Explain",  
                                                       "GestureDown",  
                                                       "GestureRight",  
                                                       "GestureLeft",  
                                                       "GestureUp",  
                                                       "GetAttention",  
                                                       "GetAttentionContinued",  
                                                       "GetAttentionReturn",  
                                                       "Greet",  
                                                       "Idle1_1",  
                                                       "Idle1_2",  
                                                       "Idle2_1",  
                                                       "Idle2_2",  
                                                       "Idle3_1",  
                                                       "LookDown",  
                                                       "LookLeft",  
                                                       "LookRight",  
                                                       "LookUp",  
                                                       "MoveDown",  
                                                       "MoveLeft",  
                                                       "MoveUp",  
                                                       "Pleased",  
                                                       "Process",  
                                                       "Read",  
                                                       "ReadContinued",  
                                                       "ReadReturn",  
                                                       "Reading",  
                                                       "RestPose",  
                                                       "Sad",  
                                                       "Search",  
                                                       "StartListening",  
                                                       "StopListening",  
                                                       "Suggest",  
                                                       "Surprised",  
                                                       "Think",  
                                                       "Uncertain",  
                                                       "Wave",  
                                                       "Write",  
                                                       "WriteContinued",  
                                                       "WriteReturn"});  
            this.combo.Location = new System.Drawing.Point(15, 29);  
            this.combo.Name = "combo";  
            this.combo.Size = new System.Drawing.Size(264, 21);  
            this.combo.TabIndex = 0;  
            //    
            // ComboWindow  
            //    
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);  
            this.ClientSize = new System.Drawing.Size(294, 88);  
            this.Controls.AddRange(new System.Windows.Forms.Control[] {  
                                                                          this.combo,  
                                                                          this.editLabel,  
                                                                          this.bottomPanel});  
            this.Name = "ComboWindow";  
            this.Text = "Please specify animation";  
            this.bottomPanel.ResumeLayout(false);  
            this.ResumeLayout(false);  
  
        }  
        #endregion  
  
    }  
}