public TodoDeviceManagerCtrl()
        {
            InitializeComponent();
            this.lvMidiInput  = new ListViewEx.ListViewEx();
            this.lvMidiOutput = new ListViewEx.ListViewEx();

            this.lvMidiInput.Dock  = DockStyle.Fill;
            this.lvMidiOutput.Dock = DockStyle.Fill;

            this.lvMidiInput.DoubleClickActivation  = true;
            this.lvMidiOutput.DoubleClickActivation = true;

            this.lvMidiInput.View  = System.Windows.Forms.View.Details;
            this.lvMidiOutput.View = System.Windows.Forms.View.Details;

            this.grpMidiInput.Controls.Add(this.lvMidiInput);
            this.grpMidiOutput.Controls.Add(this.lvMidiOutput);

            this.lvMidiInput.SubItemClicked    += this.MidiInput_SubItemClicked;
            this.lvMidiInput.SubItemEndEditing += this.MidiInput_SubItemEndEditing;

            this.lvMidiOutput.SubItemClicked    += this.MidiOutput_SubItemClicked;
            this.lvMidiOutput.SubItemEndEditing += this.MidiOutput_SubItemEndEditing;

            this.SetupListViewColumns();



            this.RefreshInputDevice();
            this.RefreshOutputDevice();
        }
Exemple #2
0
        private void ExitlistViewEx_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e)
        {
            try
            {
                ListViewEx.ListViewEx listviewex = (ListViewEx.ListViewEx)sender;

                switch (e.SubItem)
                {
                case 1:
                    if (e.Item.Index >= 0)
                    {
                        tempExitInfo[m_ExitSubsysindex * ConstPreDefine.MAX_CHANNEL_NUM + m_ExitSubsysChannelIndex].exits[e.Item.Index].nOffset = (short)int.Parse(e.DisplayText);
                    }
                    break;

                case 2:
                    if (e.Item.Index >= 0)
                    {
                        tempExitInfo[m_ExitSubsysindex * ConstPreDefine.MAX_CHANNEL_NUM + m_ExitSubsysChannelIndex].exits[e.Item.Index].nDis = (short)int.Parse(e.DisplayText);
                    }
                    break;

                default: break;
                }
            }
            catch (Exception ex)
            {
                Trace.WriteLine("VolveTestForm中函数ExitlistViewEx_SubItemEndEditing出错" + ex);
#if REALEASE
                GlobalDataInterface.WriteErrorInfo("VolveTestForm中函数ExitlistViewEx_SubItemEndEditing出错" + ex);
#endif
            }
        }
        public TodoMappingManager()
        {
            InitializeComponent();


            this.lvInputs    = new ListViewEx.ListViewEx();
            this.lvOutputs   = new ListViewEx.ListViewEx();
            this.lvVariables = new ListViewEx.ListViewEx();

            this.ucFilter = new VariableFilterCtrl();

            this.lvInputs.Dock    = DockStyle.Fill;
            this.lvOutputs.Dock   = DockStyle.Fill;
            this.lvVariables.Dock = DockStyle.Fill;
            this.ucFilter.Dock    = DockStyle.Fill;

            this.lvInputs.View    = System.Windows.Forms.View.Details;
            this.lvOutputs.View   = System.Windows.Forms.View.Details;
            this.lvVariables.View = System.Windows.Forms.View.Details;

            this.lvInputs.DoubleClickActivation    = true;
            this.lvOutputs.DoubleClickActivation   = true;
            this.lvVariables.DoubleClickActivation = true;

            this.lvInputs.MultiSelect = false;

            this.layoutInputs.Controls.Add(this.lvInputs, 0, 1);
            this.layoutOutputs.Controls.Add(this.lvOutputs, 0, 1);
            //this..Controls.Add(this.lvVariables);
            this.tblVarLayout.Controls.Add(this.ucFilter, 0, 0);
            this.tblVarLayout.Controls.Add(this.lvVariables, 0, 1);

            this.SetupInputColumns();
            this.SetupOutputColumns();
            this.SetupVariablesColumns();

            this.lvVariables.ItemSelectionChanged += lvVariables_ItemSelectionChanged;
            this.lvVariables.SubItemClicked       += this.lvVariables_SubItemClicked;
            this.lvVariables.SubItemEndEditing    += lvVariables_SubItemEndEditing;
            this.lvVariables.SubItemEditComplete  += lvVariables_SubItemEditComplete;
            this.lvVariables.KeyDown += lvVariables_KeyDown;

            this.lvInputs.ItemSelectionChanged += lvInputs_ItemSelectionChanged;
            this.lvInputs.SubItemClicked       += this.lvInputs_SubItemClicked;
            this.lvInputs.SubItemEndEditing    += lvInputs_SubItemEndEditing;
            this.lvInputs.KeyDown += lvInputs_KeyDown;

            this.ucFilter.OnChange += new EventHandler(ucFilter_OnChange);
        }
Exemple #4
0
        private void IPMMACAddrlistViewEx_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e)
        {
            try
            {
                ListViewEx.ListViewEx listviewex = (ListViewEx.ListViewEx)sender;
                switch (e.SubItem)
                {
                case 1:
                    string strMac = e.DisplayText.Trim();
                    Commonfunction.SetAppSetting("IPM-" + lstIPMIP[e.Item.Index], strMac);    //Add by ChengSk - 20190829
                    //MessageBox.Show("行号: " + e.Item.Index + " 列号: " + e.SubItem + " 内容: " + strMac);
                    break;

                default:
                    break;
                }
            }
            catch (Exception ex)
            {   }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomModules));
     this.lstViewAvailableModules = new ListViewEx.ListViewEx();
     this.columnHeader2           = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader3           = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.btnSave   = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // lstViewAvailableModules
     //
     this.lstViewAvailableModules.AllowColumnReorder = true;
     this.lstViewAvailableModules.BackColor          = System.Drawing.Color.White;
     this.lstViewAvailableModules.CheckBoxes         = true;
     this.lstViewAvailableModules.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader2,
         this.columnHeader3
     });
     this.lstViewAvailableModules.Dock = System.Windows.Forms.DockStyle.Top;
     this.lstViewAvailableModules.DoubleClickActivation = false;
     this.lstViewAvailableModules.FullRowSelect         = true;
     this.lstViewAvailableModules.Location = new System.Drawing.Point(0, 0);
     this.lstViewAvailableModules.Name     = "lstViewAvailableModules";
     this.lstViewAvailableModules.Size     = new System.Drawing.Size(315, 250);
     this.lstViewAvailableModules.TabIndex = 4;
     this.lstViewAvailableModules.UseCompatibleStateImageBehavior = false;
     this.lstViewAvailableModules.View = System.Windows.Forms.View.Details;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Module Name";
     this.columnHeader2.Width = 138;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Display Name";
     this.columnHeader3.Width = 152;
     //
     // btnSave
     //
     this.btnSave.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSave.Location = new System.Drawing.Point(153, 255);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 5;
     this.btnSave.Text     = "&Save";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Location                = new System.Drawing.Point(234, 255);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 6;
     this.btnCancel.Text                    = "&Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // frmCustomModules
     //
     this.AcceptButton        = this.btnSave;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(315, 282);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.lstViewAvailableModules);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(331, 321);
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(331, 321);
     this.Name          = "frmCustomModules";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "SuiteCRM Custom Modules";
     this.Load         += new System.EventHandler(this.frmCustomModules_Load);
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomModules));
            this.lstViewAvailableModules = new ListViewEx.ListViewEx();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.btnSave = new System.Windows.Forms.Button();
            this.btnCancel = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // lstViewAvailableModules
            // 
            this.lstViewAvailableModules.AllowColumnReorder = true;
            this.lstViewAvailableModules.BackColor = System.Drawing.Color.White;
            this.lstViewAvailableModules.CheckBoxes = true;
            this.lstViewAvailableModules.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader3});
            this.lstViewAvailableModules.Dock = System.Windows.Forms.DockStyle.Top;
            this.lstViewAvailableModules.DoubleClickActivation = false;
            this.lstViewAvailableModules.FullRowSelect = true;
            this.lstViewAvailableModules.Location = new System.Drawing.Point(0, 0);
            this.lstViewAvailableModules.Name = "lstViewAvailableModules";
            this.lstViewAvailableModules.Size = new System.Drawing.Size(315, 250);
            this.lstViewAvailableModules.TabIndex = 4;
            this.lstViewAvailableModules.UseCompatibleStateImageBehavior = false;
            this.lstViewAvailableModules.View = System.Windows.Forms.View.Details;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "Module Name";
            this.columnHeader2.Width = 138;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "Display Name";
            this.columnHeader3.Width = 152;
            // 
            // btnSave
            // 
            this.btnSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnSave.Location = new System.Drawing.Point(153, 255);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(75, 23);
            this.btnSave.TabIndex = 5;
            this.btnSave.Text = "&Save";
            this.btnSave.UseVisualStyleBackColor = true;
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnCancel.Location = new System.Drawing.Point(234, 255);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 6;
            this.btnCancel.Text = "&Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // frmCustomModules
            // 
            this.AcceptButton = this.btnSave;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(315, 282);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnSave);
            this.Controls.Add(this.lstViewAvailableModules);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(331, 321);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(331, 321);
            this.Name = "frmCustomModules";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "SuiteCRM Custom Modules";
            this.Load += new System.EventHandler(this.frmCustomModules_Load);
            this.ResumeLayout(false);

        }
Exemple #7
0
 /// <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();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.textBoxComment = new System.Windows.Forms.TextBox();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.textBoxPassword = new System.Windows.Forms.TextBox();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.checkBoxDoubleClickActivation = new System.Windows.Forms.CheckBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.listViewEx1 = new ListViewEx.ListViewEx();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dateTimePicker1.Location = new System.Drawing.Point(32, 56);
     this.dateTimePicker1.Name = "dateTimePicker1";
     this.dateTimePicker1.Size = new System.Drawing.Size(80, 20);
     this.dateTimePicker1.TabIndex = 2;
     this.dateTimePicker1.Visible = false;
     //
     // textBoxComment
     //
     this.textBoxComment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxComment.Location = new System.Drawing.Point(32, 104);
     this.textBoxComment.Multiline = true;
     this.textBoxComment.Name = "textBoxComment";
     this.textBoxComment.Size = new System.Drawing.Size(80, 16);
     this.textBoxComment.TabIndex = 3;
     this.textBoxComment.Text = "";
     this.textBoxComment.Visible = false;
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.IntegralHeight = false;
     this.comboBox1.ItemHeight = 13;
     this.comboBox1.Location = new System.Drawing.Point(32, 80);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(80, 21);
     this.comboBox1.TabIndex = 1;
     this.comboBox1.Visible = false;
     //
     // textBoxPassword
     //
     this.textBoxPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxPassword.Location = new System.Drawing.Point(32, 128);
     this.textBoxPassword.Name = "textBoxPassword";
     this.textBoxPassword.PasswordChar = '*';
     this.textBoxPassword.Size = new System.Drawing.Size(80, 20);
     this.textBoxPassword.TabIndex = 4;
     this.textBoxPassword.Text = "";
     this.textBoxPassword.Visible = false;
     //
     // numericUpDown1
     //
     this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericUpDown1.Location = new System.Drawing.Point(32, 152);
     this.numericUpDown1.Maximum = new System.Decimal(new int[] {
                                                                    230,
                                                                    0,
                                                                    0,
                                                                    0});
     this.numericUpDown1.Minimum = new System.Decimal(new int[] {
                                                                    120,
                                                                    0,
                                                                    0,
                                                                    0});
     this.numericUpDown1.Name = "numericUpDown1";
     this.numericUpDown1.Size = new System.Drawing.Size(80, 20);
     this.numericUpDown1.TabIndex = 5;
     this.numericUpDown1.Value = new System.Decimal(new int[] {
                                                                  120,
                                                                  0,
                                                                  0,
                                                                  0});
     this.numericUpDown1.Visible = false;
     //
     // checkBoxDoubleClickActivation
     //
     this.checkBoxDoubleClickActivation.Checked = true;
     this.checkBoxDoubleClickActivation.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxDoubleClickActivation.Location = new System.Drawing.Point(8, 8);
     this.checkBoxDoubleClickActivation.Name = "checkBoxDoubleClickActivation";
     this.checkBoxDoubleClickActivation.Size = new System.Drawing.Size(176, 16);
     this.checkBoxDoubleClickActivation.TabIndex = 6;
     this.checkBoxDoubleClickActivation.Text = "DoubleClickActivation";
     this.checkBoxDoubleClickActivation.CheckedChanged += new System.EventHandler(this.checkBoxDoubleClickActivation_CheckedChanged);
     //
     // listViewEx1
     //
     this.listViewEx1.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.listViewEx1.DoubleClickActivation = false;
     this.listViewEx1.Location = new System.Drawing.Point(8, 32);
     this.listViewEx1.Name = "listViewEx1";
     this.listViewEx1.Size = new System.Drawing.Size(344, 168);
     this.listViewEx1.TabIndex = 7;
     this.listViewEx1.View = System.Windows.Forms.View.Details;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(360, 205);
     this.Controls.Add(this.checkBoxDoubleClickActivation);
     this.Controls.Add(this.textBoxPassword);
     this.Controls.Add(this.textBoxComment);
     this.Controls.Add(this.numericUpDown1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.listViewEx1);
     this.Name = "Form1";
     this.Text = "ListViewEx Demo";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #8
0
 /// <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();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.textBoxComment  = new System.Windows.Forms.TextBox();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.textBoxPassword = new System.Windows.Forms.TextBox();
     this.numericUpDown1  = new System.Windows.Forms.NumericUpDown();
     this.checkBoxDoubleClickActivation = new System.Windows.Forms.CheckBox();
     this.toolTip1    = new System.Windows.Forms.ToolTip(this.components);
     this.listViewEx1 = new ListViewEx.ListViewEx();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dateTimePicker1.Location = new System.Drawing.Point(32, 56);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(80, 20);
     this.dateTimePicker1.TabIndex = 2;
     this.dateTimePicker1.Visible  = false;
     //
     // textBoxComment
     //
     this.textBoxComment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxComment.Location    = new System.Drawing.Point(32, 104);
     this.textBoxComment.Multiline   = true;
     this.textBoxComment.Name        = "textBoxComment";
     this.textBoxComment.Size        = new System.Drawing.Size(80, 16);
     this.textBoxComment.TabIndex    = 3;
     this.textBoxComment.Text        = "";
     this.textBoxComment.Visible     = false;
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.IntegralHeight = false;
     this.comboBox1.ItemHeight     = 13;
     this.comboBox1.Location       = new System.Drawing.Point(32, 80);
     this.comboBox1.Name           = "comboBox1";
     this.comboBox1.Size           = new System.Drawing.Size(80, 21);
     this.comboBox1.TabIndex       = 1;
     this.comboBox1.Visible        = false;
     //
     // textBoxPassword
     //
     this.textBoxPassword.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxPassword.Location     = new System.Drawing.Point(32, 128);
     this.textBoxPassword.Name         = "textBoxPassword";
     this.textBoxPassword.PasswordChar = '*';
     this.textBoxPassword.Size         = new System.Drawing.Size(80, 20);
     this.textBoxPassword.TabIndex     = 4;
     this.textBoxPassword.Text         = "";
     this.textBoxPassword.Visible      = false;
     //
     // numericUpDown1
     //
     this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericUpDown1.Location    = new System.Drawing.Point(32, 152);
     this.numericUpDown1.Maximum     = new System.Decimal(new int[] {
         230,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new System.Decimal(new int[] {
         120,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(80, 20);
     this.numericUpDown1.TabIndex = 5;
     this.numericUpDown1.Value    = new System.Decimal(new int[] {
         120,
         0,
         0,
         0
     });
     this.numericUpDown1.Visible = false;
     //
     // checkBoxDoubleClickActivation
     //
     this.checkBoxDoubleClickActivation.Checked         = true;
     this.checkBoxDoubleClickActivation.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxDoubleClickActivation.Location        = new System.Drawing.Point(8, 8);
     this.checkBoxDoubleClickActivation.Name            = "checkBoxDoubleClickActivation";
     this.checkBoxDoubleClickActivation.Size            = new System.Drawing.Size(176, 16);
     this.checkBoxDoubleClickActivation.TabIndex        = 6;
     this.checkBoxDoubleClickActivation.Text            = "DoubleClickActivation";
     this.checkBoxDoubleClickActivation.CheckedChanged += new System.EventHandler(this.checkBoxDoubleClickActivation_CheckedChanged);
     //
     // listViewEx1
     //
     this.listViewEx1.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.listViewEx1.DoubleClickActivation = false;
     this.listViewEx1.Location = new System.Drawing.Point(8, 32);
     this.listViewEx1.Name     = "listViewEx1";
     this.listViewEx1.Size     = new System.Drawing.Size(344, 168);
     this.listViewEx1.TabIndex = 7;
     this.listViewEx1.View     = System.Windows.Forms.View.Details;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 205);
     this.Controls.Add(this.checkBoxDoubleClickActivation);
     this.Controls.Add(this.textBoxPassword);
     this.Controls.Add(this.textBoxComment);
     this.Controls.Add(this.numericUpDown1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.listViewEx1);
     this.Name  = "Form1";
     this.Text  = "ListViewEx Demo";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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(ListEditorEx));
     this.btrRefreshList    = new System.Windows.Forms.Button();
     this.btAdd             = new System.Windows.Forms.Button();
     this.btRemove          = new System.Windows.Forms.Button();
     this.btUp              = new System.Windows.Forms.Button();
     this.btDown            = new System.Windows.Forms.Button();
     this.btnaddcol         = new System.Windows.Forms.Button();
     this.btnremovecol      = new System.Windows.Forms.Button();
     this.textBoxComment    = new System.Windows.Forms.TextBox();
     this.cboitem           = new System.Windows.Forms.ComboBox();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.pmenu1            = new System.Windows.Forms.ToolStripMenuItem();
     this.pmenu2            = new System.Windows.Forms.ToolStripMenuItem();
     this.listViewEx1       = new ListViewEx.ListViewEx();
     this.contextMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // btrRefreshList
     //
     this.btrRefreshList.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btrRefreshList.Image      = ((System.Drawing.Image)(resources.GetObject("btrRefreshList.Image")));
     this.btrRefreshList.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btrRefreshList.Location   = new System.Drawing.Point(248, 5);
     this.btrRefreshList.Name       = "btrRefreshList";
     this.btrRefreshList.Size       = new System.Drawing.Size(24, 23);
     this.btrRefreshList.TabIndex   = 14;
     this.btrRefreshList.Visible    = false;
     this.btrRefreshList.Click     += new System.EventHandler(this.btrRefreshList_Click);
     //
     // btAdd
     //
     this.btAdd.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btAdd.Image      = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
     this.btAdd.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btAdd.Location   = new System.Drawing.Point(188, 5);
     this.btAdd.Name       = "btAdd";
     this.btAdd.Size       = new System.Drawing.Size(24, 23);
     this.btAdd.TabIndex   = 13;
     this.btAdd.Click     += new System.EventHandler(this.btAdd_Click);
     //
     // btRemove
     //
     this.btRemove.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btRemove.Image      = ((System.Drawing.Image)(resources.GetObject("btRemove.Image")));
     this.btRemove.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btRemove.Location   = new System.Drawing.Point(216, 5);
     this.btRemove.Name       = "btRemove";
     this.btRemove.Size       = new System.Drawing.Size(24, 23);
     this.btRemove.TabIndex   = 12;
     this.btRemove.Click     += new System.EventHandler(this.btRemove_Click);
     //
     // btUp
     //
     this.btUp.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btUp.Enabled    = false;
     this.btUp.Image      = ((System.Drawing.Image)(resources.GetObject("btUp.Image")));
     this.btUp.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btUp.Location   = new System.Drawing.Point(280, 5);
     this.btUp.Name       = "btUp";
     this.btUp.Size       = new System.Drawing.Size(24, 23);
     this.btUp.TabIndex   = 11;
     this.btUp.Visible    = false;
     this.btUp.Click     += new System.EventHandler(this.btUp_Click);
     //
     // btDown
     //
     this.btDown.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btDown.Enabled    = false;
     this.btDown.Image      = ((System.Drawing.Image)(resources.GetObject("btDown.Image")));
     this.btDown.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btDown.Location   = new System.Drawing.Point(308, 5);
     this.btDown.Name       = "btDown";
     this.btDown.Size       = new System.Drawing.Size(24, 23);
     this.btDown.TabIndex   = 10;
     this.btDown.Visible    = false;
     this.btDown.Click     += new System.EventHandler(this.btDown_Click);
     //
     // btnaddcol
     //
     this.btnaddcol.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnaddcol.Image      = ((System.Drawing.Image)(resources.GetObject("btnaddcol.Image")));
     this.btnaddcol.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btnaddcol.Location   = new System.Drawing.Point(96, 5);
     this.btnaddcol.Name       = "btnaddcol";
     this.btnaddcol.Size       = new System.Drawing.Size(24, 23);
     this.btnaddcol.TabIndex   = 15;
     this.btnaddcol.Click     += new System.EventHandler(this.btnaddcol_Click);
     //
     // btnremovecol
     //
     this.btnremovecol.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnremovecol.Image      = ((System.Drawing.Image)(resources.GetObject("btnremovecol.Image")));
     this.btnremovecol.ImageAlign = System.Drawing.ContentAlignment.BottomRight;
     this.btnremovecol.Location   = new System.Drawing.Point(126, 5);
     this.btnremovecol.Name       = "btnremovecol";
     this.btnremovecol.Size       = new System.Drawing.Size(24, 23);
     this.btnremovecol.TabIndex   = 16;
     this.btnremovecol.Click     += new System.EventHandler(this.btnremovecol_Click);
     //
     // textBoxComment
     //
     this.textBoxComment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxComment.Location    = new System.Drawing.Point(122, 131);
     this.textBoxComment.Multiline   = true;
     this.textBoxComment.Name        = "textBoxComment";
     this.textBoxComment.Size        = new System.Drawing.Size(96, 17);
     this.textBoxComment.TabIndex    = 19;
     this.textBoxComment.Visible     = false;
     //
     // cboitem
     //
     this.cboitem.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboitem.IntegralHeight = false;
     this.cboitem.ItemHeight     = 12;
     this.cboitem.Location       = new System.Drawing.Point(122, 105);
     this.cboitem.Name           = "cboitem";
     this.cboitem.Size           = new System.Drawing.Size(96, 20);
     this.cboitem.TabIndex       = 18;
     this.cboitem.Visible        = false;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.pmenu1,
         this.pmenu2
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(131, 48);
     //
     // pmenu1
     //
     this.pmenu1.Checked    = true;
     this.pmenu1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.pmenu1.Name       = "pmenu1";
     this.pmenu1.Size       = new System.Drawing.Size(130, 22);
     this.pmenu1.Text       = "文本输入";
     this.pmenu1.Click     += new System.EventHandler(this.pmenu1_Click);
     //
     // pmenu2
     //
     this.pmenu2.Name   = "pmenu2";
     this.pmenu2.Size   = new System.Drawing.Size(130, 22);
     this.pmenu2.Text   = "组合框输入";
     this.pmenu2.Click += new System.EventHandler(this.pmenu2_Click);
     //
     // listViewEx1
     //
     this.listViewEx1.AllowColumnReorder = true;
     this.listViewEx1.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.listViewEx1.BackColor             = System.Drawing.SystemColors.ControlLight;
     this.listViewEx1.DoubleClickActivation = false;
     this.listViewEx1.FullRowSelect         = true;
     this.listViewEx1.GridLines             = true;
     this.listViewEx1.Location   = new System.Drawing.Point(0, 34);
     this.listViewEx1.Name       = "listViewEx1";
     this.listViewEx1.ShowGroups = false;
     this.listViewEx1.Size       = new System.Drawing.Size(340, 218);
     this.listViewEx1.TabIndex   = 17;
     this.listViewEx1.UseCompatibleStateImageBehavior = false;
     this.listViewEx1.View            = System.Windows.Forms.View.Details;
     this.listViewEx1.SubItemClicked += new ListViewEx.SubItemEventHandler(this.listViewEx1_SubItemClicked);
     this.listViewEx1.MouseUp        += new System.Windows.Forms.MouseEventHandler(this.listViewEx1_MouseUp);
     this.listViewEx1.ColumnClick    += new System.Windows.Forms.ColumnClickEventHandler(this.listViewEx1_ColumnClick);
     //
     // ListEditorEx
     //
     this.Controls.Add(this.textBoxComment);
     this.Controls.Add(this.cboitem);
     this.Controls.Add(this.listViewEx1);
     this.Controls.Add(this.btnremovecol);
     this.Controls.Add(this.btnaddcol);
     this.Controls.Add(this.btrRefreshList);
     this.Controls.Add(this.btAdd);
     this.Controls.Add(this.btRemove);
     this.Controls.Add(this.btUp);
     this.Controls.Add(this.btDown);
     this.Name = "ListEditorEx";
     this.Size = new System.Drawing.Size(340, 252);
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #10
0
 /// <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();
     this.chkTranscode = new System.Windows.Forms.CheckBox();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.miXMLFile = new System.Windows.Forms.MenuItem();
     this.miText = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.miViewSchema = new System.Windows.Forms.MenuItem();
     this.miSaveSchema = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.miXMLExport = new System.Windows.Forms.MenuItem();
     this.miAbout = new System.Windows.Forms.MenuItem();
     this.gbOysterServer = new System.Windows.Forms.GroupBox();
     this.lbSessionName = new System.Windows.Forms.Label();
     this.tbSessionName = new System.Windows.Forms.TextBox();
     this.chkOysterSession = new System.Windows.Forms.CheckBox();
     this.label2 = new System.Windows.Forms.Label();
     this.chkLicensingAgreement = new System.Windows.Forms.CheckBox();
     this.gbOtherServer = new System.Windows.Forms.GroupBox();
     this.cbRegisteredServers = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.tbContentGroup = new System.Windows.Forms.TextBox();
     this.btnContentGroup = new System.Windows.Forms.Button();
     this.btnContentOwner = new System.Windows.Forms.Button();
     this.tbContentOwner = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.rbOysterServer = new System.Windows.Forms.RadioButton();
     this.rbOtherServer = new System.Windows.Forms.RadioButton();
     this.btnOK = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnRemove = new System.Windows.Forms.Button();
     this.btnAdd = new System.Windows.Forms.Button();
     this.lveContent = new ListViewEx.ListViewEx();
     this.clmMediaTitle = new System.Windows.Forms.ColumnHeader();
     this.clmMediaAbstract = new System.Windows.Forms.ColumnHeader();
     this.clmMediaLocation = new System.Windows.Forms.ColumnHeader();
     this.tbEditing = new System.Windows.Forms.TextBox();
     this.tmrEnableStuff = new System.Windows.Forms.Timer(this.components);
     this.dsContent = new System.Data.DataSet();
     this.dtContent = new System.Data.DataTable();
     this.dlmName = new System.Data.DataColumn();
     this.dclmAbstract = new System.Data.DataColumn();
     this.dclmFile = new System.Data.DataColumn();
     this.gbOysterServer.SuspendLayout();
     this.gbOtherServer.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsContent)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtContent)).BeginInit();
     this.SuspendLayout();
     //
     // chkTranscode
     //
     this.chkTranscode.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkTranscode.Checked = true;
     this.chkTranscode.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkTranscode.Location = new System.Drawing.Point(16, 40);
     this.chkTranscode.Name = "chkTranscode";
     this.chkTranscode.Size = new System.Drawing.Size(312, 24);
     this.chkTranscode.TabIndex = 5;
     this.chkTranscode.Text = "I would like to transcode all video to wmv format.";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem1,
                                                                               this.miAbout});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem2,
                                                                               this.menuItem3,
                                                                               this.menuItem4});
     this.menuItem1.Text = "&File";
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.miXMLFile,
                                                                               this.miText});
     this.menuItem2.Text = "Import";
     //
     // miXMLFile
     //
     this.miXMLFile.Index = 0;
     this.miXMLFile.Text = "Content from XML file";
     this.miXMLFile.Click += new System.EventHandler(this.miXMLFile_Click);
     //
     // miText
     //
     this.miText.Index = 1;
     this.miText.Text = "Content from Text file";
     this.miText.Click += new System.EventHandler(this.miText_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.miViewSchema,
                                                                               this.miSaveSchema});
     this.menuItem3.Text = "Content Schema";
     //
     // miViewSchema
     //
     this.miViewSchema.Index = 0;
     this.miViewSchema.Text = "View Schema";
     this.miViewSchema.Click += new System.EventHandler(this.miViewSchema_Click);
     //
     // miSaveSchema
     //
     this.miSaveSchema.Index = 1;
     this.miSaveSchema.Text = "Export Schema";
     this.miSaveSchema.Click += new System.EventHandler(this.miSaveSchema_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.miXMLExport});
     this.menuItem4.Text = "Export";
     //
     // miXMLExport
     //
     this.miXMLExport.Index = 0;
     this.miXMLExport.Text = "Save To XML";
     this.miXMLExport.Click += new System.EventHandler(this.miXMLExport_Click);
     //
     // miAbout
     //
     this.miAbout.Index = 1;
     this.miAbout.Text = "&About";
     this.miAbout.Click += new System.EventHandler(this.miAbout_Click);
     //
     // gbOysterServer
     //
     this.gbOysterServer.Controls.Add(this.lbSessionName);
     this.gbOysterServer.Controls.Add(this.tbSessionName);
     this.gbOysterServer.Controls.Add(this.chkOysterSession);
     this.gbOysterServer.Controls.Add(this.label2);
     this.gbOysterServer.Controls.Add(this.chkTranscode);
     this.gbOysterServer.Location = new System.Drawing.Point(16, 336);
     this.gbOysterServer.Name = "gbOysterServer";
     this.gbOysterServer.Size = new System.Drawing.Size(384, 128);
     this.gbOysterServer.TabIndex = 6;
     this.gbOysterServer.TabStop = false;
     this.gbOysterServer.Text = "Upload content to Oyster Server";
     //
     // lbSessionName
     //
     this.lbSessionName.Enabled = false;
     this.lbSessionName.Location = new System.Drawing.Point(32, 88);
     this.lbSessionName.Name = "lbSessionName";
     this.lbSessionName.Size = new System.Drawing.Size(88, 16);
     this.lbSessionName.TabIndex = 9;
     this.lbSessionName.Text = "Session Name:";
     //
     // tbSessionName
     //
     this.tbSessionName.Enabled = false;
     this.tbSessionName.Location = new System.Drawing.Point(120, 88);
     this.tbSessionName.Name = "tbSessionName";
     this.tbSessionName.Size = new System.Drawing.Size(176, 20);
     this.tbSessionName.TabIndex = 8;
     this.tbSessionName.Text = "tbSessionName";
     //
     // chkOysterSession
     //
     this.chkOysterSession.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkOysterSession.Location = new System.Drawing.Point(16, 64);
     this.chkOysterSession.Name = "chkOysterSession";
     this.chkOysterSession.Size = new System.Drawing.Size(160, 24);
     this.chkOysterSession.TabIndex = 7;
     this.chkOysterSession.Text = "This is an Oyster Session";
     this.chkOysterSession.CheckedChanged += new System.EventHandler(this.chkOysterSession_CheckedChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 24);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(312, 16);
     this.label2.TabIndex = 6;
     this.label2.Text = "Content will be uploaded to the Oyster Server.  ";
     //
     // chkLicensingAgreement
     //
     this.chkLicensingAgreement.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkLicensingAgreement.Location = new System.Drawing.Point(16, 488);
     this.chkLicensingAgreement.Name = "chkLicensingAgreement";
     this.chkLicensingAgreement.Size = new System.Drawing.Size(328, 32);
     this.chkLicensingAgreement.TabIndex = 7;
     this.chkLicensingAgreement.Text = "I have read and agree to all terms in the Oyster Content Licensing Agreement.";
     this.chkLicensingAgreement.CheckedChanged += new System.EventHandler(this.chkLicensingAgreement_CheckedChanged_1);
     //
     // gbOtherServer
     //
     this.gbOtherServer.Controls.Add(this.cbRegisteredServers);
     this.gbOtherServer.Controls.Add(this.label1);
     this.gbOtherServer.Location = new System.Drawing.Point(424, 336);
     this.gbOtherServer.Name = "gbOtherServer";
     this.gbOtherServer.Size = new System.Drawing.Size(352, 128);
     this.gbOtherServer.TabIndex = 7;
     this.gbOtherServer.TabStop = false;
     this.gbOtherServer.Text = "Use a Non-Oyster Server";
     //
     // cbRegisteredServers
     //
     this.cbRegisteredServers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbRegisteredServers.Location = new System.Drawing.Point(16, 80);
     this.cbRegisteredServers.Name = "cbRegisteredServers";
     this.cbRegisteredServers.Size = new System.Drawing.Size(288, 21);
     this.cbRegisteredServers.TabIndex = 8;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 24);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(280, 48);
     this.label1.TabIndex = 0;
     this.label1.Text = "All Servers need to be registered in the Oyster System. Select a registered serve" +
         "r as the content server.";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.tbContentGroup);
     this.groupBox3.Controls.Add(this.btnContentGroup);
     this.groupBox3.Controls.Add(this.btnContentOwner);
     this.groupBox3.Controls.Add(this.tbContentOwner);
     this.groupBox3.Controls.Add(this.label4);
     this.groupBox3.Controls.Add(this.label3);
     this.groupBox3.Location = new System.Drawing.Point(8, 240);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(768, 64);
     this.groupBox3.TabIndex = 8;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "I want to assign content to this User on Oyster Server";
     //
     // tbContentGroup
     //
     this.tbContentGroup.Location = new System.Drawing.Point(456, 24);
     this.tbContentGroup.Name = "tbContentGroup";
     this.tbContentGroup.ReadOnly = true;
     this.tbContentGroup.Size = new System.Drawing.Size(192, 20);
     this.tbContentGroup.TabIndex = 12;
     this.tbContentGroup.Text = "tbContentGroup";
     //
     // btnContentGroup
     //
     this.btnContentGroup.Enabled = false;
     this.btnContentGroup.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnContentGroup.Location = new System.Drawing.Point(656, 24);
     this.btnContentGroup.Name = "btnContentGroup";
     this.btnContentGroup.Size = new System.Drawing.Size(32, 24);
     this.btnContentGroup.TabIndex = 11;
     this.btnContentGroup.Text = "...";
     this.btnContentGroup.Click += new System.EventHandler(this.btnContentGroup_Click);
     //
     // btnContentOwner
     //
     this.btnContentOwner.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnContentOwner.Location = new System.Drawing.Point(304, 24);
     this.btnContentOwner.Name = "btnContentOwner";
     this.btnContentOwner.Size = new System.Drawing.Size(32, 24);
     this.btnContentOwner.TabIndex = 10;
     this.btnContentOwner.Text = "...";
     this.btnContentOwner.Click += new System.EventHandler(this.btnContentOwner_Click);
     //
     // tbContentOwner
     //
     this.tbContentOwner.Location = new System.Drawing.Point(112, 24);
     this.tbContentOwner.Name = "tbContentOwner";
     this.tbContentOwner.ReadOnly = true;
     this.tbContentOwner.Size = new System.Drawing.Size(184, 20);
     this.tbContentOwner.TabIndex = 9;
     this.tbContentOwner.Text = "tbContentOwner";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(376, 24);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(80, 24);
     this.label4.TabIndex = 8;
     this.label4.Text = "Content Group";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(24, 24);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(88, 24);
     this.label3.TabIndex = 5;
     this.label3.Text = "Content Owner";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // rbOysterServer
     //
     this.rbOysterServer.Checked = true;
     this.rbOysterServer.Location = new System.Drawing.Point(0, 336);
     this.rbOysterServer.Name = "rbOysterServer";
     this.rbOysterServer.Size = new System.Drawing.Size(16, 24);
     this.rbOysterServer.TabIndex = 9;
     this.rbOysterServer.TabStop = true;
     this.rbOysterServer.Text = "radioButton1";
     this.rbOysterServer.CheckedChanged += new System.EventHandler(this.rbServerSelection_CheckedChanged);
     //
     // rbOtherServer
     //
     this.rbOtherServer.Enabled = false;
     this.rbOtherServer.Location = new System.Drawing.Point(408, 336);
     this.rbOtherServer.Name = "rbOtherServer";
     this.rbOtherServer.Size = new System.Drawing.Size(16, 24);
     this.rbOtherServer.TabIndex = 10;
     this.rbOtherServer.Text = "radioButton1";
     //
     // btnOK
     //
     this.btnOK.Enabled = false;
     this.btnOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnOK.Location = new System.Drawing.Point(360, 480);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(416, 56);
     this.btnOK.TabIndex = 11;
     this.btnOK.Text = "Upload Content to Oyster Server";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnClear);
     this.groupBox1.Controls.Add(this.btnRemove);
     this.groupBox1.Controls.Add(this.btnAdd);
     this.groupBox1.Controls.Add(this.lveContent);
     this.groupBox1.Controls.Add(this.tbEditing);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(768, 216);
     this.groupBox1.TabIndex = 12;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Load Content";
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(312, 176);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(136, 24);
     this.btnClear.TabIndex = 6;
     this.btnClear.Text = "Clear Entries";
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnRemove
     //
     this.btnRemove.Location = new System.Drawing.Point(160, 176);
     this.btnRemove.Name = "btnRemove";
     this.btnRemove.Size = new System.Drawing.Size(136, 24);
     this.btnRemove.TabIndex = 5;
     this.btnRemove.Text = "Remove Entry";
     this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(8, 176);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(136, 24);
     this.btnAdd.TabIndex = 3;
     this.btnAdd.Text = "Add Content ...";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // lveContent
     //
     this.lveContent.AllowColumnReorder = true;
     this.lveContent.AllowDrop = true;
     this.lveContent.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                  this.clmMediaTitle,
                                                                                  this.clmMediaAbstract,
                                                                                  this.clmMediaLocation});
     this.lveContent.DoubleClickActivation = true;
     this.lveContent.FullRowSelect = true;
     this.lveContent.GridLines = true;
     this.lveContent.HideSelection = false;
     this.lveContent.Location = new System.Drawing.Point(8, 24);
     this.lveContent.Name = "lveContent";
     this.lveContent.Size = new System.Drawing.Size(752, 144);
     this.lveContent.TabIndex = 7;
     this.lveContent.View = System.Windows.Forms.View.Details;
     this.lveContent.DragDrop += new System.Windows.Forms.DragEventHandler(this.lveContent_DragDrop);
     this.lveContent.SubItemBeginEditing += new ListViewEx.SubItemEventHandler(this.lveContent_SubItemBeginEditing);
     this.lveContent.SubItemEndEditing += new ListViewEx.SubItemEndEditingEventHandler(this.lveContent_SubItemEndEditing);
     this.lveContent.SubItemClicked += new ListViewEx.SubItemEventHandler(this.lveContent_SubItemClicked);
     this.lveContent.DragEnter += new System.Windows.Forms.DragEventHandler(this.lveContent_DragEnter);
     //
     // clmMediaTitle
     //
     this.clmMediaTitle.Text = "Title";
     this.clmMediaTitle.Width = 186;
     //
     // clmMediaAbstract
     //
     this.clmMediaAbstract.Text = "Abstract";
     this.clmMediaAbstract.Width = 357;
     //
     // clmMediaLocation
     //
     this.clmMediaLocation.Text = "Location";
     this.clmMediaLocation.Width = 170;
     //
     // tbEditing
     //
     this.tbEditing.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tbEditing.Location = new System.Drawing.Point(312, 112);
     this.tbEditing.Name = "tbEditing";
     this.tbEditing.Size = new System.Drawing.Size(232, 20);
     this.tbEditing.TabIndex = 8;
     this.tbEditing.Text = "";
     //
     // tmrEnableStuff
     //
     this.tmrEnableStuff.Enabled = true;
     this.tmrEnableStuff.Interval = 250;
     this.tmrEnableStuff.Tick += new System.EventHandler(this.tmrEnableStuff_Tick);
     //
     // dsContent
     //
     this.dsContent.DataSetName = "Content";
     this.dsContent.Locale = new System.Globalization.CultureInfo("en-US");
     this.dsContent.Tables.AddRange(new System.Data.DataTable[] {
                                                                    this.dtContent});
     //
     // dtContent
     //
     this.dtContent.Columns.AddRange(new System.Data.DataColumn[] {
                                                                      this.dlmName,
                                                                      this.dclmAbstract,
                                                                      this.dclmFile});
     this.dtContent.TableName = "Content";
     //
     // dlmName
     //
     this.dlmName.Caption = "Title";
     this.dlmName.ColumnName = "Title";
     //
     // dclmAbstract
     //
     this.dclmAbstract.ColumnName = "Abstract";
     //
     // dclmFile
     //
     this.dclmFile.ColumnName = "File";
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(786, 547);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.rbOtherServer);
     this.Controls.Add(this.rbOysterServer);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.gbOtherServer);
     this.Controls.Add(this.gbOysterServer);
     this.Controls.Add(this.chkLicensingAgreement);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Menu = this.mainMenu1;
     this.Name = "frmMain";
     this.Text = "frmMain";
     this.Load += new System.EventHandler(this.frmMain_Load);
     this.gbOysterServer.ResumeLayout(false);
     this.gbOtherServer.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dsContent)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtContent)).EndInit();
     this.ResumeLayout(false);
 }