コード例 #1
0
        /// <summary>
        /// Changes in the columns, items or subitems
        /// </summary>
        /// <param name="ctType"></param>
        /// <param name="column"></param>
        /// <param name="item"></param>
        /// <param name="subItem"></param>
        public ChangedEventArgs(ChangedTypes ctType, GLColumn column, GLItem item, GLSubItem subItem)
        {
            m_Column  = column;
            m_Item    = item;
            m_SubItem = subItem;

            m_ctType = ctType;
        }
コード例 #2
0
        /// <summary>
        /// Get the column index that corresponds to the column name
        /// </summary>
        /// <param name="strColumnName"></param>
        /// <returns></returns>
        public int GetColumnIndex(string strColumnName)
        {
            for (int index = 0; index < List.Count; index++)
            {
                GLColumn column = (GLColumn)List[index];
                if (column.Name == strColumnName)
                {
                    return(index);
                }
            }

            return(-1);
        }
コード例 #3
0
        /// <summary>
        /// Add Column to collection
        /// </summary>
        /// <param name="strColumnName"></param>
        /// <param name="nColumnWidth"></param>
        /// <param name="align"></param>
        public GLColumn Add(string strColumnName, int nColumnWidth, HorizontalAlignment align)
        {
            GLColumn newColumn = new GLColumn();

            newColumn.Text          = strColumnName;
            newColumn.Name          = strColumnName;
            newColumn.Width         = nColumnWidth;
            newColumn.State         = ColumnStates.csNone;
            newColumn.TextAlignment = ContentAlignment.MiddleLeft;

            Add(newColumn);

            return(newColumn);
        }
コード例 #4
0
        /// <summary>
        /// Required for correct collection editor use
        /// </summary>
        /// <param name="context"></param>
        /// <param name="culture"></param>
        /// <param name="value"></param>
        /// <param name="destinationType"></param>
        /// <returns></returns>
        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(InstanceDescriptor) && value is GLColumn)
            {
                GLColumn column = (GLColumn)value;

                ConstructorInfo ci = typeof(GLColumn).GetConstructor(new Type[] {});
                if (ci != null)
                {
                    return(new InstanceDescriptor(ci, null, false));
                }
            }
            return(base.ConvertTo(context, culture, value, destinationType));
        }
コード例 #5
0
        /// <summary>
        /// Add a column to collection
        /// </summary>
        /// <param name="newColumn"></param>
        public void Add(GLColumn newColumn)
        {
            newColumn.Parent = Parent;

            //item.ChangedEvent += new BSLItem.ChangedEventHandler( BSLItem_Changed );				// listen to event changes inside the item
            newColumn.ChangedEvent += new ChangedEventHandler(GLColumn_Changed);

            while (GetColumnIndex(newColumn.Name) != -1)
            {
                newColumn.Name += "x";                                                  // change the name till it is not the same
            }
            int nIndex = List.Add(newColumn);

            if (ChangedEvent != null)
            {
                ChangedEvent(this, new ChangedEventArgs(ChangedTypes.ColumnCollectionChanged, newColumn, null, null));                                                  // fire the column clicked event
            }
        }
コード例 #6
0
 /// <summary>
 /// Return index of column in collection
 /// </summary>
 /// <param name="column"></param>
 /// <returns></returns>
 public int IndexOf(GLColumn column)
 {
     return(List.IndexOf(column));
 }
コード例 #7
0
ファイル: MainForm.Designer.cs プロジェクト: pontusm/Deployer
		/// <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.Windows.Forms.TabControl _bottomtabcontrol;
			GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn5 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn6 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn7 = new GlacialComponents.Controls.GLColumn();
			System.Windows.Forms.ToolStripMenuItem _menuScanAll;
			System.Windows.Forms.ToolStripMenuItem _menuScanOneHour;
			System.Windows.Forms.ToolStripMenuItem _menuScanFourHours;
			System.Windows.Forms.ToolStripMenuItem _menuScanYesterday;
			System.Windows.Forms.ToolStripMenuItem _menuScanTwoDays;
			System.Windows.Forms.ToolStripMenuItem _menuScanLastWeek;
			System.Windows.Forms.ToolStripMenuItem _menuScanLastMonth;
			System.Windows.Forms.ToolStripMenuItem _menuScanSince;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
			GlacialComponents.Controls.GLColumn glColumn8 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn9 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn10 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn11 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn12 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn13 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn14 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn15 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn16 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn17 = new GlacialComponents.Controls.GLColumn();
			this._queuetab = new System.Windows.Forms.TabPage();
			this._fileQueueList = new GlacialComponents.Controls.GlacialList();
			this._fileQueueMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this._menuQueueRemove = new System.Windows.Forms.ToolStripMenuItem();
			this._menuQueueRemoveOther = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
			this._menuQueueSelectAll = new System.Windows.Forms.ToolStripMenuItem();
			this._menuQueueUnselectAll = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
			this._menuQueueDeploy = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
			this._menuQueueClear = new System.Windows.Forms.ToolStripMenuItem();
			this._toolstripBottom = new System.Windows.Forms.ToolStrip();
			this._queueAutoRemove = new System.Windows.Forms.ToolStripButton();
			this._logtab = new System.Windows.Forms.TabPage();
			this._logtext = new System.Windows.Forms.TextBox();
			this._tabcontrol = new System.Windows.Forms.TabControl();
			this._filetab = new System.Windows.Forms.TabPage();
			this._splitHorizontal = new System.Windows.Forms.SplitContainer();
			this._splitVertical = new System.Windows.Forms.SplitContainer();
			this._folderTree = new System.Windows.Forms.TreeView();
			this._folderTreeMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this._menuQueueFolder = new System.Windows.Forms.ToolStripMenuItem();
			this._folderImages = new System.Windows.Forms.ImageList(this.components);
			this._filelist = new GlacialComponents.Controls.GlacialList();
			this._fileListMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this._menuQueueFiles = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
			this._menuSelectAll = new System.Windows.Forms.ToolStripMenuItem();
			this._menuUnselectAll = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
			this._menuEditFiles = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator();
			this._menuInclude = new System.Windows.Forms.ToolStripMenuItem();
			this._menuIncludeSingleFile = new System.Windows.Forms.ToolStripMenuItem();
			this._menuIncludeAllInFolder = new System.Windows.Forms.ToolStripMenuItem();
			this._menuIncludeAllInSubfolders = new System.Windows.Forms.ToolStripMenuItem();
			this._menuIncludeAll = new System.Windows.Forms.ToolStripMenuItem();
			this._menuExclude = new System.Windows.Forms.ToolStripMenuItem();
			this._databasetab = new System.Windows.Forms.TabPage();
			this._databaselist = new GlacialComponents.Controls.GlacialList();
			this._databaselistmenu = new System.Windows.Forms.ContextMenu();
			this._menuViewDetails = new System.Windows.Forms.MenuItem();
			this.menuItem5 = new System.Windows.Forms.MenuItem();
			this._menuIncludeDbObject = new System.Windows.Forms.MenuItem();
			this._menuExcludeDbObject = new System.Windows.Forms.MenuItem();
			this.menuItem11 = new System.Windows.Forms.MenuItem();
			this._menuIncludeAllDbObjects = new System.Windows.Forms.MenuItem();
			this._menuExcludeAllDbObjects = new System.Windows.Forms.MenuItem();
			this._toolstripTop = new System.Windows.Forms.ToolStrip();
			this._btnOpen = new System.Windows.Forms.ToolStripButton();
			this._btnSave = new System.Windows.Forms.ToolStripButton();
			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
			this._btnSettings = new System.Windows.Forms.ToolStripButton();
			this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
			this._btnRefresh = new System.Windows.Forms.ToolStripButton();
			this._btnQueueAll = new System.Windows.Forms.ToolStripButton();
			this._btnQueueModified = new System.Windows.Forms.ToolStripDropDownButton();
			this._scanMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
			this._menuQueueLastDeployment = new System.Windows.Forms.ToolStripMenuItem();
			this._btnQueueSinceLastDeploy = new System.Windows.Forms.ToolStripButton();
			this._btnDeployQueue = new System.Windows.Forms.ToolStripButton();
			this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
			this._btnVerifyDatabase = new System.Windows.Forms.ToolStripButton();
			this._btnScanDatabase = new System.Windows.Forms.ToolStripButton();
			this._btnDeployDatabase = new System.Windows.Forms.ToolStripButton();
			this._menuQueue = new System.Windows.Forms.ToolStripMenuItem();
			this._mainmenu = new System.Windows.Forms.MenuStrip();
			this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._menuNewProject = new System.Windows.Forms.ToolStripMenuItem();
			this._menuOpenProject = new System.Windows.Forms.ToolStripMenuItem();
			this._menuSaveProject = new System.Windows.Forms.ToolStripMenuItem();
			this._menuSaveProjectAs = new System.Windows.Forms.ToolStripMenuItem();
			this._menuCloseProject = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
			this._menuRecentProjects = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
			this._menuExit = new System.Windows.Forms.ToolStripMenuItem();
			this.projectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._menuRefresh = new System.Windows.Forms.ToolStripMenuItem();
			this._menuDeployQueue = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
			this._menuVerifyDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this._menuScanDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this._menuDeployDatabase = new System.Windows.Forms.ToolStripMenuItem();
			this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
			this._menuConfiguration = new System.Windows.Forms.ToolStripMenuItem();
			this._menuSettings = new System.Windows.Forms.ToolStripMenuItem();
			this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._menuAbout = new System.Windows.Forms.ToolStripMenuItem();
			this._statusStrip = new System.Windows.Forms.StatusStrip();
			this._statusProgressBar = new System.Windows.Forms.ToolStripProgressBar();
			this._statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
			this._statusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
			this._activeConfiguration = new System.Windows.Forms.ToolStripDropDownButton();
			_bottomtabcontrol = new System.Windows.Forms.TabControl();
			_menuScanAll = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanOneHour = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanFourHours = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanYesterday = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanTwoDays = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanLastWeek = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanLastMonth = new System.Windows.Forms.ToolStripMenuItem();
			_menuScanSince = new System.Windows.Forms.ToolStripMenuItem();
			_bottomtabcontrol.SuspendLayout();
			this._queuetab.SuspendLayout();
			this._fileQueueMenu.SuspendLayout();
			this._toolstripBottom.SuspendLayout();
			this._logtab.SuspendLayout();
			this._tabcontrol.SuspendLayout();
			this._filetab.SuspendLayout();
			this._splitHorizontal.Panel1.SuspendLayout();
			this._splitHorizontal.Panel2.SuspendLayout();
			this._splitHorizontal.SuspendLayout();
			this._splitVertical.Panel1.SuspendLayout();
			this._splitVertical.Panel2.SuspendLayout();
			this._splitVertical.SuspendLayout();
			this._folderTreeMenu.SuspendLayout();
			this._fileListMenu.SuspendLayout();
			this._databasetab.SuspendLayout();
			this._toolstripTop.SuspendLayout();
			this._scanMenu.SuspendLayout();
			this._mainmenu.SuspendLayout();
			this._statusStrip.SuspendLayout();
			this.SuspendLayout();
			// 
			// _bottomtabcontrol
			// 
			_bottomtabcontrol.Controls.Add(this._queuetab);
			_bottomtabcontrol.Controls.Add(this._logtab);
			_bottomtabcontrol.Dock = System.Windows.Forms.DockStyle.Fill;
			_bottomtabcontrol.Location = new System.Drawing.Point(0, 0);
			_bottomtabcontrol.Name = "_bottomtabcontrol";
			_bottomtabcontrol.SelectedIndex = 0;
			_bottomtabcontrol.Size = new System.Drawing.Size(988, 184);
			_bottomtabcontrol.TabIndex = 12;
			// 
			// _queuetab
			// 
			this._queuetab.Controls.Add(this._fileQueueList);
			this._queuetab.Controls.Add(this._toolstripBottom);
			this._queuetab.Location = new System.Drawing.Point(4, 22);
			this._queuetab.Name = "_queuetab";
			this._queuetab.Padding = new System.Windows.Forms.Padding(3);
			this._queuetab.Size = new System.Drawing.Size(980, 158);
			this._queuetab.TabIndex = 0;
			this._queuetab.Text = "Queue";
			// 
			// _fileQueueList
			// 
			this._fileQueueList.BackColor = System.Drawing.SystemColors.Window;
			glColumn1.Name = "Filename";
			glColumn1.Text = "Name";
			glColumn1.Width = 450;
			glColumn2.Name = "LastModified";
			glColumn2.Text = "Last modified";
			glColumn2.Width = 118;
			glColumn3.Name = "Size";
			glColumn3.Text = "Size";
			glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
			glColumn3.Width = 50;
			glColumn4.Name = "Destination";
			glColumn4.Text = "Destination";
			glColumn4.Width = 130;
			glColumn5.Name = "RemotePath";
			glColumn5.Text = "Remote path";
			glColumn5.Width = 170;
			glColumn6.Name = "RemoteName";
			glColumn6.Text = "Remote name";
			glColumn7.Name = "Progress";
			glColumn7.Text = "Progress";
			this._fileQueueList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
            glColumn1,
            glColumn2,
            glColumn3,
            glColumn4,
            glColumn5,
            glColumn6,
            glColumn7});
			this._fileQueueList.ContextMenuStrip = this._fileQueueMenu;
			this._fileQueueList.Dock = System.Windows.Forms.DockStyle.Fill;
			this._fileQueueList.HotItemTracking = true;
			this._fileQueueList.HotTrackingColor = System.Drawing.SystemColors.HotTrack;
			this._fileQueueList.ImageList = null;
			this._fileQueueList.Location = new System.Drawing.Point(3, 28);
			this._fileQueueList.MultiSelect = true;
			this._fileQueueList.Name = "_fileQueueList";
			this._fileQueueList.SelectedTextColor = System.Drawing.SystemColors.HighlightText;
			this._fileQueueList.SelectionColor = System.Drawing.SystemColors.Highlight;
			this._fileQueueList.Size = new System.Drawing.Size(974, 127);
			this._fileQueueList.TabIndex = 11;
			this._fileQueueList.UnfocusedSelectionColor = System.Drawing.SystemColors.Highlight;
			this._fileQueueList.DoubleClick += new System.EventHandler(this._fileQueueList_DoubleClick);
			// 
			// _fileQueueMenu
			// 
			this._fileQueueMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuQueueRemove,
            this._menuQueueRemoveOther,
            this.toolStripSeparator6,
            this._menuQueueSelectAll,
            this._menuQueueUnselectAll,
            this.toolStripSeparator7,
            this._menuQueueDeploy,
            this.toolStripSeparator5,
            this._menuQueueClear});
			this._fileQueueMenu.Name = "_fileQueueMenu";
			this._fileQueueMenu.Size = new System.Drawing.Size(257, 154);
			this._fileQueueMenu.Opening += new System.ComponentModel.CancelEventHandler(this._fileQueueMenu_Opening);
			// 
			// _menuQueueRemove
			// 
			this._menuQueueRemove.Name = "_menuQueueRemove";
			this._menuQueueRemove.ShortcutKeys = System.Windows.Forms.Keys.Delete;
			this._menuQueueRemove.Size = new System.Drawing.Size(256, 22);
			this._menuQueueRemove.Text = "Remove file(s) from Queue";
			this._menuQueueRemove.Click += new System.EventHandler(this._menuQueueRemove_Click);
			// 
			// _menuQueueRemoveOther
			// 
			this._menuQueueRemoveOther.Name = "_menuQueueRemoveOther";
			this._menuQueueRemoveOther.Size = new System.Drawing.Size(256, 22);
			this._menuQueueRemoveOther.Text = "Remove non-selected from Queue";
			this._menuQueueRemoveOther.Click += new System.EventHandler(this._menuQueueRemoveOther_Click);
			// 
			// toolStripSeparator6
			// 
			this.toolStripSeparator6.Name = "toolStripSeparator6";
			this.toolStripSeparator6.Size = new System.Drawing.Size(253, 6);
			// 
			// _menuQueueSelectAll
			// 
			this._menuQueueSelectAll.Name = "_menuQueueSelectAll";
			this._menuQueueSelectAll.Size = new System.Drawing.Size(256, 22);
			this._menuQueueSelectAll.Text = "Select All";
			this._menuQueueSelectAll.Click += new System.EventHandler(this._menuQueueSelectAll_Click);
			// 
			// _menuQueueUnselectAll
			// 
			this._menuQueueUnselectAll.Name = "_menuQueueUnselectAll";
			this._menuQueueUnselectAll.Size = new System.Drawing.Size(256, 22);
			this._menuQueueUnselectAll.Text = "Unselect All";
			this._menuQueueUnselectAll.Click += new System.EventHandler(this._menuQueueUnselectAll_Click);
			// 
			// toolStripSeparator7
			// 
			this.toolStripSeparator7.Name = "toolStripSeparator7";
			this.toolStripSeparator7.Size = new System.Drawing.Size(253, 6);
			// 
			// _menuQueueDeploy
			// 
			this._menuQueueDeploy.Name = "_menuQueueDeploy";
			this._menuQueueDeploy.Size = new System.Drawing.Size(256, 22);
			this._menuQueueDeploy.Text = "Deploy Queue";
			this._menuQueueDeploy.Click += new System.EventHandler(this._menuQueueDeploy_Click);
			// 
			// toolStripSeparator5
			// 
			this.toolStripSeparator5.Name = "toolStripSeparator5";
			this.toolStripSeparator5.Size = new System.Drawing.Size(253, 6);
			// 
			// _menuQueueClear
			// 
			this._menuQueueClear.Name = "_menuQueueClear";
			this._menuQueueClear.Size = new System.Drawing.Size(256, 22);
			this._menuQueueClear.Text = "&Clear Queue";
			this._menuQueueClear.Click += new System.EventHandler(this._menuQueueClear_Click);
			// 
			// _toolstripBottom
			// 
			this._toolstripBottom.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._queueAutoRemove});
			this._toolstripBottom.Location = new System.Drawing.Point(3, 3);
			this._toolstripBottom.Name = "_toolstripBottom";
			this._toolstripBottom.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
			this._toolstripBottom.Size = new System.Drawing.Size(974, 25);
			this._toolstripBottom.TabIndex = 12;
			this._toolstripBottom.Text = "toolStrip1";
			// 
			// _queueAutoRemove
			// 
			this._queueAutoRemove.Checked = true;
			this._queueAutoRemove.CheckOnClick = true;
			this._queueAutoRemove.CheckState = System.Windows.Forms.CheckState.Checked;
			this._queueAutoRemove.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._queueAutoRemove.Image = global::Deployer.Properties.Resources.index_delete;
			this._queueAutoRemove.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._queueAutoRemove.Name = "_queueAutoRemove";
			this._queueAutoRemove.Size = new System.Drawing.Size(23, 22);
			this._queueAutoRemove.Text = "toolStripButton1";
			this._queueAutoRemove.ToolTipText = "Automatically remove successfully transferred files from the queue.";
			// 
			// _logtab
			// 
			this._logtab.Controls.Add(this._logtext);
			this._logtab.Location = new System.Drawing.Point(4, 22);
			this._logtab.Name = "_logtab";
			this._logtab.Padding = new System.Windows.Forms.Padding(3);
			this._logtab.Size = new System.Drawing.Size(980, 158);
			this._logtab.TabIndex = 1;
			this._logtab.Text = "Log";
			// 
			// _logtext
			// 
			this._logtext.BackColor = System.Drawing.Color.White;
			this._logtext.Dock = System.Windows.Forms.DockStyle.Fill;
			this._logtext.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this._logtext.Location = new System.Drawing.Point(3, 3);
			this._logtext.Multiline = true;
			this._logtext.Name = "_logtext";
			this._logtext.ReadOnly = true;
			this._logtext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this._logtext.Size = new System.Drawing.Size(974, 152);
			this._logtext.TabIndex = 1;
			// 
			// _menuScanAll
			// 
			_menuScanAll.Name = "_menuScanAll";
			_menuScanAll.Size = new System.Drawing.Size(190, 22);
			_menuScanAll.Text = "All";
			_menuScanAll.ToolTipText = "Queue all files";
			_menuScanAll.Click += new System.EventHandler(this._menuScanAll_Click);
			// 
			// _menuScanOneHour
			// 
			_menuScanOneHour.Name = "_menuScanOneHour";
			_menuScanOneHour.Size = new System.Drawing.Size(190, 22);
			_menuScanOneHour.Tag = "hour";
			_menuScanOneHour.Text = "Less than an hour";
			_menuScanOneHour.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanFourHours
			// 
			_menuScanFourHours.Name = "_menuScanFourHours";
			_menuScanFourHours.Size = new System.Drawing.Size(190, 22);
			_menuScanFourHours.Tag = "4hours";
			_menuScanFourHours.Text = "Four hours ago";
			_menuScanFourHours.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanYesterday
			// 
			_menuScanYesterday.Name = "_menuScanYesterday";
			_menuScanYesterday.Size = new System.Drawing.Size(190, 22);
			_menuScanYesterday.Tag = "yesterday";
			_menuScanYesterday.Text = "Since yesterday";
			_menuScanYesterday.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanTwoDays
			// 
			_menuScanTwoDays.Name = "_menuScanTwoDays";
			_menuScanTwoDays.Size = new System.Drawing.Size(190, 22);
			_menuScanTwoDays.Tag = "twodays";
			_menuScanTwoDays.Text = "Two days ago";
			_menuScanTwoDays.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanLastWeek
			// 
			_menuScanLastWeek.Name = "_menuScanLastWeek";
			_menuScanLastWeek.Size = new System.Drawing.Size(190, 22);
			_menuScanLastWeek.Tag = "week";
			_menuScanLastWeek.Text = "Last week";
			_menuScanLastWeek.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanLastMonth
			// 
			_menuScanLastMonth.Name = "_menuScanLastMonth";
			_menuScanLastMonth.Size = new System.Drawing.Size(190, 22);
			_menuScanLastMonth.Tag = "month";
			_menuScanLastMonth.Text = "Last month";
			_menuScanLastMonth.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _menuScanSince
			// 
			_menuScanSince.Name = "_menuScanSince";
			_menuScanSince.Size = new System.Drawing.Size(190, 22);
			_menuScanSince.Tag = "date";
			_menuScanSince.Text = "Since date...";
			_menuScanSince.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _tabcontrol
			// 
			this._tabcontrol.Controls.Add(this._filetab);
			this._tabcontrol.Controls.Add(this._databasetab);
			this._tabcontrol.Dock = System.Windows.Forms.DockStyle.Fill;
			this._tabcontrol.Location = new System.Drawing.Point(0, 63);
			this._tabcontrol.Name = "_tabcontrol";
			this._tabcontrol.SelectedIndex = 0;
			this._tabcontrol.Size = new System.Drawing.Size(996, 561);
			this._tabcontrol.TabIndex = 11;
			// 
			// _filetab
			// 
			this._filetab.Controls.Add(this._splitHorizontal);
			this._filetab.Location = new System.Drawing.Point(4, 22);
			this._filetab.Name = "_filetab";
			this._filetab.Size = new System.Drawing.Size(988, 535);
			this._filetab.TabIndex = 0;
			this._filetab.Text = "Files";
			// 
			// _splitHorizontal
			// 
			this._splitHorizontal.Dock = System.Windows.Forms.DockStyle.Fill;
			this._splitHorizontal.Location = new System.Drawing.Point(0, 0);
			this._splitHorizontal.Name = "_splitHorizontal";
			this._splitHorizontal.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// _splitHorizontal.Panel1
			// 
			this._splitHorizontal.Panel1.Controls.Add(this._splitVertical);
			// 
			// _splitHorizontal.Panel2
			// 
			this._splitHorizontal.Panel2.Controls.Add(_bottomtabcontrol);
			this._splitHorizontal.Size = new System.Drawing.Size(988, 535);
			this._splitHorizontal.SplitterDistance = 347;
			this._splitHorizontal.TabIndex = 12;
			// 
			// _splitVertical
			// 
			this._splitVertical.Dock = System.Windows.Forms.DockStyle.Fill;
			this._splitVertical.Location = new System.Drawing.Point(0, 0);
			this._splitVertical.Name = "_splitVertical";
			// 
			// _splitVertical.Panel1
			// 
			this._splitVertical.Panel1.Controls.Add(this._folderTree);
			// 
			// _splitVertical.Panel2
			// 
			this._splitVertical.Panel2.Controls.Add(this._filelist);
			this._splitVertical.Size = new System.Drawing.Size(988, 347);
			this._splitVertical.SplitterDistance = 272;
			this._splitVertical.TabIndex = 11;
			// 
			// _folderTree
			// 
			this._folderTree.ContextMenuStrip = this._folderTreeMenu;
			this._folderTree.Dock = System.Windows.Forms.DockStyle.Fill;
			this._folderTree.HideSelection = false;
			this._folderTree.HotTracking = true;
			this._folderTree.ImageIndex = 0;
			this._folderTree.ImageList = this._folderImages;
			this._folderTree.Location = new System.Drawing.Point(0, 0);
			this._folderTree.Name = "_folderTree";
			this._folderTree.SelectedImageIndex = 0;
			this._folderTree.Size = new System.Drawing.Size(272, 347);
			this._folderTree.TabIndex = 0;
			this._folderTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this._folderTree_AfterSelect);
			this._folderTree.MouseDown += new System.Windows.Forms.MouseEventHandler(this._folderTree_MouseDown);
			// 
			// _folderTreeMenu
			// 
			this._folderTreeMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuQueueFolder});
			this._folderTreeMenu.Name = "_folderTreeMenu";
			this._folderTreeMenu.Size = new System.Drawing.Size(183, 26);
			this._folderTreeMenu.Opening += new System.ComponentModel.CancelEventHandler(this._folderTreeMenu_Opening);
			// 
			// _menuQueueFolder
			// 
			this._menuQueueFolder.Name = "_menuQueueFolder";
			this._menuQueueFolder.Size = new System.Drawing.Size(182, 22);
			this._menuQueueFolder.Text = "Add folder to Queue";
			this._menuQueueFolder.Click += new System.EventHandler(this._menuQueueFolder_Click);
			// 
			// _folderImages
			// 
			this._folderImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_folderImages.ImageStream")));
			this._folderImages.TransparentColor = System.Drawing.Color.Transparent;
			this._folderImages.Images.SetKeyName(0, "folder_closed.png");
			this._folderImages.Images.SetKeyName(1, "folder.png");
			this._folderImages.Images.SetKeyName(2, "server_from_client.png");
			// 
			// _filelist
			// 
			this._filelist.BackColor = System.Drawing.SystemColors.Window;
			glColumn8.Name = "Filename";
			glColumn8.Text = "Name";
			glColumn8.Width = 300;
			glColumn9.Name = "LastModified";
			glColumn9.Text = "Last modified";
			glColumn9.Width = 118;
			glColumn10.Name = "Size";
			glColumn10.Text = "Size";
			glColumn10.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
			glColumn10.Width = 50;
			glColumn11.Name = "Destination";
			glColumn11.Text = "Destination";
			glColumn11.Width = 110;
			glColumn12.Name = "RemotePath";
			glColumn12.Text = "Remote path";
			glColumn12.Width = 150;
			glColumn13.Name = "RemoteFileName";
			glColumn13.Text = "Remote filename";
			this._filelist.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
            glColumn8,
            glColumn9,
            glColumn10,
            glColumn11,
            glColumn12,
            glColumn13});
			this._filelist.ContextMenuStrip = this._fileListMenu;
			this._filelist.Dock = System.Windows.Forms.DockStyle.Fill;
			this._filelist.HotItemTracking = true;
			this._filelist.HotTrackingColor = System.Drawing.SystemColors.HotTrack;
			this._filelist.ImageList = null;
			this._filelist.Location = new System.Drawing.Point(0, 0);
			this._filelist.MultiSelect = true;
			this._filelist.Name = "_filelist";
			this._filelist.SelectedTextColor = System.Drawing.SystemColors.HighlightText;
			this._filelist.SelectionColor = System.Drawing.SystemColors.Highlight;
			this._filelist.Size = new System.Drawing.Size(712, 347);
			this._filelist.TabIndex = 10;
			this._filelist.UnfocusedSelectionColor = System.Drawing.SystemColors.Highlight;
			this._filelist.DoubleClick += new System.EventHandler(this._filelist_DoubleClick);
			// 
			// _fileListMenu
			// 
			this._fileListMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuQueueFiles,
            this.toolStripMenuItem5,
            this._menuSelectAll,
            this._menuUnselectAll,
            this.toolStripMenuItem6,
            this._menuEditFiles,
            this.toolStripMenuItem7,
            this._menuInclude,
            this._menuExclude});
			this._fileListMenu.Name = "_fileListMenu";
			this._fileListMenu.Size = new System.Drawing.Size(181, 154);
			this._fileListMenu.Opening += new System.ComponentModel.CancelEventHandler(this._fileListMenu_Opening);
			// 
			// _menuQueueFiles
			// 
			this._menuQueueFiles.Name = "_menuQueueFiles";
			this._menuQueueFiles.Size = new System.Drawing.Size(180, 22);
			this._menuQueueFiles.Text = "Add file(s) to Queue";
			this._menuQueueFiles.Click += new System.EventHandler(this._menuQueueFiles_Click);
			// 
			// toolStripMenuItem5
			// 
			this.toolStripMenuItem5.Name = "toolStripMenuItem5";
			this.toolStripMenuItem5.Size = new System.Drawing.Size(177, 6);
			// 
			// _menuSelectAll
			// 
			this._menuSelectAll.Name = "_menuSelectAll";
			this._menuSelectAll.Size = new System.Drawing.Size(180, 22);
			this._menuSelectAll.Text = "Select All";
			this._menuSelectAll.Click += new System.EventHandler(this._menuSelectAll_Click);
			// 
			// _menuUnselectAll
			// 
			this._menuUnselectAll.Name = "_menuUnselectAll";
			this._menuUnselectAll.Size = new System.Drawing.Size(180, 22);
			this._menuUnselectAll.Text = "Unselect All";
			this._menuUnselectAll.Click += new System.EventHandler(this._menuUnselectAll_Click);
			// 
			// toolStripMenuItem6
			// 
			this.toolStripMenuItem6.Name = "toolStripMenuItem6";
			this.toolStripMenuItem6.Size = new System.Drawing.Size(177, 6);
			// 
			// _menuEditFiles
			// 
			this._menuEditFiles.Name = "_menuEditFiles";
			this._menuEditFiles.Size = new System.Drawing.Size(180, 22);
			this._menuEditFiles.Text = "Edit Files...";
			this._menuEditFiles.Click += new System.EventHandler(this._menuEditFiles_Click);
			// 
			// toolStripMenuItem7
			// 
			this.toolStripMenuItem7.Name = "toolStripMenuItem7";
			this.toolStripMenuItem7.Size = new System.Drawing.Size(177, 6);
			// 
			// _menuInclude
			// 
			this._menuInclude.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuIncludeSingleFile,
            this._menuIncludeAllInFolder,
            this._menuIncludeAllInSubfolders,
            this._menuIncludeAll});
			this._menuInclude.Name = "_menuInclude";
			this._menuInclude.Size = new System.Drawing.Size(180, 22);
			this._menuInclude.Text = "Include";
			// 
			// _menuIncludeSingleFile
			// 
			this._menuIncludeSingleFile.Name = "_menuIncludeSingleFile";
			this._menuIncludeSingleFile.Size = new System.Drawing.Size(245, 22);
			this._menuIncludeSingleFile.Text = "Only \"myfile.txt\"";
			// 
			// _menuIncludeAllInFolder
			// 
			this._menuIncludeAllInFolder.Name = "_menuIncludeAllInFolder";
			this._menuIncludeAllInFolder.Size = new System.Drawing.Size(245, 22);
			this._menuIncludeAllInFolder.Text = "*.txt in this folder";
			// 
			// _menuIncludeAllInSubfolders
			// 
			this._menuIncludeAllInSubfolders.Name = "_menuIncludeAllInSubfolders";
			this._menuIncludeAllInSubfolders.Size = new System.Drawing.Size(245, 22);
			this._menuIncludeAllInSubfolders.Text = "*.txt in this folder and subfolders";
			// 
			// _menuIncludeAll
			// 
			this._menuIncludeAll.Name = "_menuIncludeAll";
			this._menuIncludeAll.Size = new System.Drawing.Size(245, 22);
			this._menuIncludeAll.Text = "All *.txt files";
			// 
			// _menuExclude
			// 
			this._menuExclude.Enabled = false;
			this._menuExclude.Name = "_menuExclude";
			this._menuExclude.Size = new System.Drawing.Size(180, 22);
			this._menuExclude.Text = "Exclude";
			// 
			// _databasetab
			// 
			this._databasetab.Controls.Add(this._databaselist);
			this._databasetab.Location = new System.Drawing.Point(4, 22);
			this._databasetab.Name = "_databasetab";
			this._databasetab.Size = new System.Drawing.Size(988, 535);
			this._databasetab.TabIndex = 1;
			this._databasetab.Text = "Database";
			// 
			// _databaselist
			// 
			this._databaselist.BackColor = System.Drawing.SystemColors.Window;
			glColumn14.CheckBoxes = true;
			glColumn14.Name = "Name";
			glColumn14.Text = "Object Name";
			glColumn14.Width = 200;
			glColumn15.Name = "Type";
			glColumn15.Text = "Type";
			glColumn16.Name = "Progress";
			glColumn16.Text = "Progress";
			glColumn16.Width = 60;
			glColumn17.Name = "Summary";
			glColumn17.Text = "Summary";
			glColumn17.Width = 400;
			this._databaselist.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
            glColumn14,
            glColumn15,
            glColumn16,
            glColumn17});
			this._databaselist.ContextMenu = this._databaselistmenu;
			this._databaselist.Dock = System.Windows.Forms.DockStyle.Fill;
			this._databaselist.HotTrackingColor = System.Drawing.SystemColors.HotTrack;
			this._databaselist.ImageList = null;
			this._databaselist.Location = new System.Drawing.Point(0, 0);
			this._databaselist.MultiSelect = true;
			this._databaselist.Name = "_databaselist";
			this._databaselist.SelectedTextColor = System.Drawing.SystemColors.HighlightText;
			this._databaselist.SelectionColor = System.Drawing.SystemColors.Highlight;
			this._databaselist.Size = new System.Drawing.Size(988, 535);
			this._databaselist.TabIndex = 0;
			this._databaselist.UnfocusedSelectionColor = System.Drawing.SystemColors.Highlight;
			this._databaselist.DoubleClick += new System.EventHandler(this._databaselist_DoubleClick);
			// 
			// _databaselistmenu
			// 
			this._databaselistmenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this._menuViewDetails,
            this.menuItem5,
            this._menuIncludeDbObject,
            this._menuExcludeDbObject,
            this.menuItem11,
            this._menuIncludeAllDbObjects,
            this._menuExcludeAllDbObjects});
			this._databaselistmenu.Popup += new System.EventHandler(this._databaselistmenu_Popup);
			// 
			// _menuViewDetails
			// 
			this._menuViewDetails.DefaultItem = true;
			this._menuViewDetails.Index = 0;
			this._menuViewDetails.Text = "&View details";
			this._menuViewDetails.Click += new System.EventHandler(this._menuViewDetails_Click);
			// 
			// menuItem5
			// 
			this.menuItem5.Index = 1;
			this.menuItem5.Text = "-";
			// 
			// _menuIncludeDbObject
			// 
			this._menuIncludeDbObject.Index = 2;
			this._menuIncludeDbObject.Text = "&Select Object(s)";
			this._menuIncludeDbObject.Click += new System.EventHandler(this._menuIncludeDbObject_Click);
			// 
			// _menuExcludeDbObject
			// 
			this._menuExcludeDbObject.Index = 3;
			this._menuExcludeDbObject.Text = "&Unselect Object(s)";
			this._menuExcludeDbObject.Click += new System.EventHandler(this._menuExcludeDbObject_Click);
			// 
			// menuItem11
			// 
			this.menuItem11.Index = 4;
			this.menuItem11.Text = "-";
			// 
			// _menuIncludeAllDbObjects
			// 
			this._menuIncludeAllDbObjects.Index = 5;
			this._menuIncludeAllDbObjects.Text = "Select &All";
			this._menuIncludeAllDbObjects.Click += new System.EventHandler(this._menuIncludeAllDbObjects_Click);
			// 
			// _menuExcludeAllDbObjects
			// 
			this._menuExcludeAllDbObjects.Index = 6;
			this._menuExcludeAllDbObjects.Text = "U&nselect All";
			this._menuExcludeAllDbObjects.Click += new System.EventHandler(this._menuExcludeAllDbObjects_Click);
			// 
			// _toolstripTop
			// 
			this._toolstripTop.ImageScalingSize = new System.Drawing.Size(32, 32);
			this._toolstripTop.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._btnOpen,
            this._btnSave,
            this.toolStripSeparator1,
            this._btnSettings,
            this.toolStripSeparator2,
            this._btnRefresh,
            this._btnQueueAll,
            this._btnQueueModified,
            this._btnQueueSinceLastDeploy,
            this._btnDeployQueue,
            this.toolStripSeparator3,
            this._btnVerifyDatabase,
            this._btnScanDatabase,
            this._btnDeployDatabase});
			this._toolstripTop.Location = new System.Drawing.Point(0, 24);
			this._toolstripTop.Name = "_toolstripTop";
			this._toolstripTop.Size = new System.Drawing.Size(996, 39);
			this._toolstripTop.TabIndex = 12;
			this._toolstripTop.Text = "toolStrip2";
			// 
			// _btnOpen
			// 
			this._btnOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnOpen.Image = global::Deployer.Properties.Resources.folder_out;
			this._btnOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnOpen.Name = "_btnOpen";
			this._btnOpen.Size = new System.Drawing.Size(36, 36);
			this._btnOpen.Text = "Open project";
			this._btnOpen.Click += new System.EventHandler(this._menuOpenProject_Click);
			// 
			// _btnSave
			// 
			this._btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnSave.Image = global::Deployer.Properties.Resources.disk_blue;
			this._btnSave.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnSave.Name = "_btnSave";
			this._btnSave.Size = new System.Drawing.Size(36, 36);
			this._btnSave.Text = "Save project";
			this._btnSave.Click += new System.EventHandler(this._menuSaveProject_Click);
			// 
			// toolStripSeparator1
			// 
			this.toolStripSeparator1.Name = "toolStripSeparator1";
			this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39);
			// 
			// _btnSettings
			// 
			this._btnSettings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnSettings.Image = global::Deployer.Properties.Resources.preferences;
			this._btnSettings.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnSettings.Name = "_btnSettings";
			this._btnSettings.Size = new System.Drawing.Size(36, 36);
			this._btnSettings.Text = "Settings";
			this._btnSettings.ToolTipText = "Edit project settings";
			this._btnSettings.Click += new System.EventHandler(this._menuSettings_Click);
			// 
			// toolStripSeparator2
			// 
			this.toolStripSeparator2.Name = "toolStripSeparator2";
			this.toolStripSeparator2.Size = new System.Drawing.Size(6, 39);
			// 
			// _btnRefresh
			// 
			this._btnRefresh.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnRefresh.Image = global::Deployer.Properties.Resources.refresh;
			this._btnRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnRefresh.Name = "_btnRefresh";
			this._btnRefresh.Size = new System.Drawing.Size(36, 36);
			this._btnRefresh.Text = "Refresh";
			this._btnRefresh.ToolTipText = "Refresh file structure";
			this._btnRefresh.Click += new System.EventHandler(this._menuRefresh_Click);
			// 
			// _btnQueueAll
			// 
			this._btnQueueAll.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnQueueAll.Image = global::Deployer.Properties.Resources.index;
			this._btnQueueAll.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnQueueAll.Name = "_btnQueueAll";
			this._btnQueueAll.Size = new System.Drawing.Size(36, 36);
			this._btnQueueAll.Text = "Queue all";
			this._btnQueueAll.ToolTipText = "Queue all files";
			this._btnQueueAll.Click += new System.EventHandler(this._menuScanAll_Click);
			// 
			// _btnQueueModified
			// 
			this._btnQueueModified.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnQueueModified.DropDown = this._scanMenu;
			this._btnQueueModified.Image = global::Deployer.Properties.Resources.index_view;
			this._btnQueueModified.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnQueueModified.Name = "_btnQueueModified";
			this._btnQueueModified.Size = new System.Drawing.Size(45, 36);
			this._btnQueueModified.Text = "Queue modified";
			this._btnQueueModified.ToolTipText = "Queue modified files";
			// 
			// _scanMenu
			// 
			this._scanMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            _menuScanAll,
            this.toolStripSeparator4,
            this._menuQueueLastDeployment,
            _menuScanOneHour,
            _menuScanFourHours,
            _menuScanYesterday,
            _menuScanTwoDays,
            _menuScanLastWeek,
            _menuScanLastMonth,
            _menuScanSince});
			this._scanMenu.Name = "_scanmenu2";
			this._scanMenu.OwnerItem = this._menuQueue;
			this._scanMenu.Size = new System.Drawing.Size(191, 208);
			// 
			// toolStripSeparator4
			// 
			this.toolStripSeparator4.Name = "toolStripSeparator4";
			this.toolStripSeparator4.Size = new System.Drawing.Size(187, 6);
			// 
			// _menuQueueLastDeployment
			// 
			this._menuQueueLastDeployment.Name = "_menuQueueLastDeployment";
			this._menuQueueLastDeployment.Size = new System.Drawing.Size(190, 22);
			this._menuQueueLastDeployment.Tag = "last";
			this._menuQueueLastDeployment.Text = "Since last deployment";
			this._menuQueueLastDeployment.ToolTipText = "Queue files modified since last deployment";
			this._menuQueueLastDeployment.Click += new System.EventHandler(this._menuScanModified_Click);
			// 
			// _btnQueueSinceLastDeploy
			// 
			this._btnQueueSinceLastDeploy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnQueueSinceLastDeploy.Image = global::Deployer.Properties.Resources.index_refresh;
			this._btnQueueSinceLastDeploy.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnQueueSinceLastDeploy.Name = "_btnQueueSinceLastDeploy";
			this._btnQueueSinceLastDeploy.Size = new System.Drawing.Size(36, 36);
			this._btnQueueSinceLastDeploy.Text = "Queue modified";
			this._btnQueueSinceLastDeploy.ToolTipText = "Queue files modified since last deployment";
			this._btnQueueSinceLastDeploy.Click += new System.EventHandler(this._menuScanLastDeployment_Click);
			// 
			// _btnDeployQueue
			// 
			this._btnDeployQueue.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnDeployQueue.Image = global::Deployer.Properties.Resources.index_up;
			this._btnDeployQueue.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnDeployQueue.Name = "_btnDeployQueue";
			this._btnDeployQueue.Size = new System.Drawing.Size(36, 36);
			this._btnDeployQueue.Text = "Deploy";
			this._btnDeployQueue.ToolTipText = "Deploy queue";
			this._btnDeployQueue.Click += new System.EventHandler(this._menuUpload_Click);
			// 
			// toolStripSeparator3
			// 
			this.toolStripSeparator3.Name = "toolStripSeparator3";
			this.toolStripSeparator3.Size = new System.Drawing.Size(6, 39);
			// 
			// _btnVerifyDatabase
			// 
			this._btnVerifyDatabase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnVerifyDatabase.Image = global::Deployer.Properties.Resources.data_view;
			this._btnVerifyDatabase.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnVerifyDatabase.Name = "_btnVerifyDatabase";
			this._btnVerifyDatabase.Size = new System.Drawing.Size(36, 36);
			this._btnVerifyDatabase.Text = "Verify database";
			this._btnVerifyDatabase.Click += new System.EventHandler(this._menuVerifyDatabase_Click);
			// 
			// _btnScanDatabase
			// 
			this._btnScanDatabase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnScanDatabase.Image = global::Deployer.Properties.Resources.data_refresh;
			this._btnScanDatabase.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnScanDatabase.Name = "_btnScanDatabase";
			this._btnScanDatabase.Size = new System.Drawing.Size(36, 36);
			this._btnScanDatabase.Text = "Scan database";
			this._btnScanDatabase.ToolTipText = "Scan stored procedures in database";
			this._btnScanDatabase.Click += new System.EventHandler(this._menuScanDatabase_Click);
			// 
			// _btnDeployDatabase
			// 
			this._btnDeployDatabase.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._btnDeployDatabase.Image = global::Deployer.Properties.Resources.data_up;
			this._btnDeployDatabase.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._btnDeployDatabase.Name = "_btnDeployDatabase";
			this._btnDeployDatabase.Size = new System.Drawing.Size(36, 36);
			this._btnDeployDatabase.Text = "Deploy database";
			this._btnDeployDatabase.ToolTipText = "Deploy stored procedures";
			this._btnDeployDatabase.Click += new System.EventHandler(this._menuDeployDatabase_Click);
			// 
			// _menuQueue
			// 
			this._menuQueue.DropDown = this._scanMenu;
			this._menuQueue.Name = "_menuQueue";
			this._menuQueue.Size = new System.Drawing.Size(179, 22);
			this._menuQueue.Text = "&Queue Files";
			// 
			// _mainmenu
			// 
			this._mainmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.projectToolStripMenuItem,
            this.helpToolStripMenuItem});
			this._mainmenu.Location = new System.Drawing.Point(0, 0);
			this._mainmenu.Name = "_mainmenu";
			this._mainmenu.Size = new System.Drawing.Size(996, 24);
			this._mainmenu.TabIndex = 14;
			this._mainmenu.Text = "menuStrip1";
			// 
			// fileToolStripMenuItem
			// 
			this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuNewProject,
            this._menuOpenProject,
            this._menuSaveProject,
            this._menuSaveProjectAs,
            this._menuCloseProject,
            this.toolStripMenuItem1,
            this._menuRecentProjects,
            this.toolStripMenuItem2,
            this._menuExit});
			this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
			this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
			this.fileToolStripMenuItem.Text = "&File";
			// 
			// _menuNewProject
			// 
			this._menuNewProject.Image = global::Deployer.Properties.Resources.document_new;
			this._menuNewProject.Name = "_menuNewProject";
			this._menuNewProject.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
			this._menuNewProject.Size = new System.Drawing.Size(195, 22);
			this._menuNewProject.Text = "&New Project...";
			this._menuNewProject.Click += new System.EventHandler(this._menuNewProject_Click);
			// 
			// _menuOpenProject
			// 
			this._menuOpenProject.Image = global::Deployer.Properties.Resources.folder_out;
			this._menuOpenProject.Name = "_menuOpenProject";
			this._menuOpenProject.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
			this._menuOpenProject.Size = new System.Drawing.Size(195, 22);
			this._menuOpenProject.Text = "&Open Project...";
			this._menuOpenProject.Click += new System.EventHandler(this._menuOpenProject_Click);
			// 
			// _menuSaveProject
			// 
			this._menuSaveProject.Image = global::Deployer.Properties.Resources.disk_blue;
			this._menuSaveProject.Name = "_menuSaveProject";
			this._menuSaveProject.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
			this._menuSaveProject.Size = new System.Drawing.Size(195, 22);
			this._menuSaveProject.Text = "&Save Project";
			this._menuSaveProject.Click += new System.EventHandler(this._menuSaveProject_Click);
			// 
			// _menuSaveProjectAs
			// 
			this._menuSaveProjectAs.Name = "_menuSaveProjectAs";
			this._menuSaveProjectAs.Size = new System.Drawing.Size(195, 22);
			this._menuSaveProjectAs.Text = "Save Project &As...";
			this._menuSaveProjectAs.Click += new System.EventHandler(this._menuSaveProjectAs_Click);
			// 
			// _menuCloseProject
			// 
			this._menuCloseProject.Name = "_menuCloseProject";
			this._menuCloseProject.Size = new System.Drawing.Size(195, 22);
			this._menuCloseProject.Text = "Close Project";
			this._menuCloseProject.Click += new System.EventHandler(this._menuCloseProject_Click);
			// 
			// toolStripMenuItem1
			// 
			this.toolStripMenuItem1.Name = "toolStripMenuItem1";
			this.toolStripMenuItem1.Size = new System.Drawing.Size(192, 6);
			// 
			// _menuRecentProjects
			// 
			this._menuRecentProjects.Name = "_menuRecentProjects";
			this._menuRecentProjects.Size = new System.Drawing.Size(195, 22);
			this._menuRecentProjects.Text = "&Recent Projects";
			// 
			// toolStripMenuItem2
			// 
			this.toolStripMenuItem2.Name = "toolStripMenuItem2";
			this.toolStripMenuItem2.Size = new System.Drawing.Size(192, 6);
			// 
			// _menuExit
			// 
			this._menuExit.Name = "_menuExit";
			this._menuExit.Size = new System.Drawing.Size(195, 22);
			this._menuExit.Text = "E&xit";
			this._menuExit.Click += new System.EventHandler(this._menuExit_Click);
			// 
			// projectToolStripMenuItem
			// 
			this.projectToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuRefresh,
            this._menuQueue,
            this._menuDeployQueue,
            this.toolStripMenuItem3,
            this._menuVerifyDatabase,
            this._menuScanDatabase,
            this._menuDeployDatabase,
            this.toolStripMenuItem4,
            this._menuConfiguration,
            this._menuSettings});
			this.projectToolStripMenuItem.Name = "projectToolStripMenuItem";
			this.projectToolStripMenuItem.Size = new System.Drawing.Size(56, 20);
			this.projectToolStripMenuItem.Text = "&Project";
			// 
			// _menuRefresh
			// 
			this._menuRefresh.Name = "_menuRefresh";
			this._menuRefresh.ShortcutKeys = System.Windows.Forms.Keys.F5;
			this._menuRefresh.Size = new System.Drawing.Size(179, 22);
			this._menuRefresh.Text = "&Refresh";
			this._menuRefresh.Click += new System.EventHandler(this._menuRefresh_Click);
			// 
			// _menuDeployQueue
			// 
			this._menuDeployQueue.Image = global::Deployer.Properties.Resources.index_up;
			this._menuDeployQueue.Name = "_menuDeployQueue";
			this._menuDeployQueue.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)));
			this._menuDeployQueue.Size = new System.Drawing.Size(179, 22);
			this._menuDeployQueue.Text = "&Deploy Files";
			this._menuDeployQueue.Click += new System.EventHandler(this._menuUpload_Click);
			// 
			// toolStripMenuItem3
			// 
			this.toolStripMenuItem3.Name = "toolStripMenuItem3";
			this.toolStripMenuItem3.Size = new System.Drawing.Size(176, 6);
			// 
			// _menuVerifyDatabase
			// 
			this._menuVerifyDatabase.Name = "_menuVerifyDatabase";
			this._menuVerifyDatabase.Size = new System.Drawing.Size(179, 22);
			this._menuVerifyDatabase.Text = "&Verify Database";
			this._menuVerifyDatabase.Click += new System.EventHandler(this._menuVerifyDatabase_Click);
			// 
			// _menuScanDatabase
			// 
			this._menuScanDatabase.Name = "_menuScanDatabase";
			this._menuScanDatabase.Size = new System.Drawing.Size(179, 22);
			this._menuScanDatabase.Text = "S&can Database";
			this._menuScanDatabase.ToolTipText = "Scan stored procedures in database";
			this._menuScanDatabase.Click += new System.EventHandler(this._menuScanDatabase_Click);
			// 
			// _menuDeployDatabase
			// 
			this._menuDeployDatabase.Name = "_menuDeployDatabase";
			this._menuDeployDatabase.Size = new System.Drawing.Size(179, 22);
			this._menuDeployDatabase.Text = "D&eploy Database";
			this._menuDeployDatabase.ToolTipText = "Deploy stored procedures";
			this._menuDeployDatabase.Click += new System.EventHandler(this._menuDeployDatabase_Click);
			// 
			// toolStripMenuItem4
			// 
			this.toolStripMenuItem4.Name = "toolStripMenuItem4";
			this.toolStripMenuItem4.Size = new System.Drawing.Size(176, 6);
			// 
			// _menuConfiguration
			// 
			this._menuConfiguration.Name = "_menuConfiguration";
			this._menuConfiguration.Size = new System.Drawing.Size(179, 22);
			this._menuConfiguration.Text = "Configuration";
			// 
			// _menuSettings
			// 
			this._menuSettings.Name = "_menuSettings";
			this._menuSettings.Size = new System.Drawing.Size(179, 22);
			this._menuSettings.Text = "&Settings...";
			this._menuSettings.Click += new System.EventHandler(this._menuSettings_Click);
			// 
			// helpToolStripMenuItem
			// 
			this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuAbout});
			this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
			this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
			this.helpToolStripMenuItem.Text = "&Help";
			// 
			// _menuAbout
			// 
			this._menuAbout.Name = "_menuAbout";
			this._menuAbout.Size = new System.Drawing.Size(107, 22);
			this._menuAbout.Text = "&About";
			this._menuAbout.Click += new System.EventHandler(this._menuAbout_Click);
			// 
			// _statusStrip
			// 
			this._statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._statusProgressBar,
            this._statusLabel,
            this._statusLabel2,
            this._activeConfiguration});
			this._statusStrip.Location = new System.Drawing.Point(0, 624);
			this._statusStrip.Name = "_statusStrip";
			this._statusStrip.Size = new System.Drawing.Size(996, 22);
			this._statusStrip.TabIndex = 15;
			this._statusStrip.Text = "statusStrip1";
			// 
			// _statusProgressBar
			// 
			this._statusProgressBar.Name = "_statusProgressBar";
			this._statusProgressBar.Size = new System.Drawing.Size(100, 16);
			// 
			// _statusLabel
			// 
			this._statusLabel.Name = "_statusLabel";
			this._statusLabel.Size = new System.Drawing.Size(782, 17);
			this._statusLabel.Spring = true;
			this._statusLabel.Text = "Ready";
			this._statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// _statusLabel2
			// 
			this._statusLabel2.Name = "_statusLabel2";
			this._statusLabel2.Size = new System.Drawing.Size(84, 17);
			this._statusLabel2.Text = "Configuration:";
			// 
			// _activeConfiguration
			// 
			this._activeConfiguration.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
			this._activeConfiguration.Image = ((System.Drawing.Image)(resources.GetObject("_activeConfiguration.Image")));
			this._activeConfiguration.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._activeConfiguration.Name = "_activeConfiguration";
			this._activeConfiguration.Size = new System.Drawing.Size(13, 20);
			this._activeConfiguration.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._activeConfiguration_DropDownItemClicked);
			// 
			// MainForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
			this.ClientSize = new System.Drawing.Size(996, 646);
			this.Controls.Add(this._tabcontrol);
			this.Controls.Add(this._toolstripTop);
			this.Controls.Add(this._mainmenu);
			this.Controls.Add(this._statusStrip);
			this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MainMenuStrip = this._mainmenu;
			this.MinimumSize = new System.Drawing.Size(500, 300);
			this.Name = "MainForm";
			this.Text = "Deployer";
			this.Load += new System.EventHandler(this.MainForm_Load);
			this.Closed += new System.EventHandler(this.MainForm_Closed);
			this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
			_bottomtabcontrol.ResumeLayout(false);
			this._queuetab.ResumeLayout(false);
			this._queuetab.PerformLayout();
			this._fileQueueMenu.ResumeLayout(false);
			this._toolstripBottom.ResumeLayout(false);
			this._toolstripBottom.PerformLayout();
			this._logtab.ResumeLayout(false);
			this._logtab.PerformLayout();
			this._tabcontrol.ResumeLayout(false);
			this._filetab.ResumeLayout(false);
			this._splitHorizontal.Panel1.ResumeLayout(false);
			this._splitHorizontal.Panel2.ResumeLayout(false);
			this._splitHorizontal.ResumeLayout(false);
			this._splitVertical.Panel1.ResumeLayout(false);
			this._splitVertical.Panel2.ResumeLayout(false);
			this._splitVertical.ResumeLayout(false);
			this._folderTreeMenu.ResumeLayout(false);
			this._fileListMenu.ResumeLayout(false);
			this._databasetab.ResumeLayout(false);
			this._toolstripTop.ResumeLayout(false);
			this._toolstripTop.PerformLayout();
			this._scanMenu.ResumeLayout(false);
			this._mainmenu.ResumeLayout(false);
			this._mainmenu.PerformLayout();
			this._statusStrip.ResumeLayout(false);
			this._statusStrip.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
コード例 #8
0
		/// <summary>
		/// Add Column to collection
		/// </summary>
		/// <param name="strColumnName"></param>
		/// <param name="nColumnWidth"></param>
		/// <param name="align"></param>
		public GLColumn Add( string strColumnName, int nColumnWidth, HorizontalAlignment align )
		{
			GLColumn newColumn = new GLColumn();
			newColumn.Text = strColumnName;
			newColumn.Name = strColumnName;
			newColumn.Width = nColumnWidth;
			newColumn.State = ColumnStates.csNone;
			newColumn.TextAlignment = ContentAlignment.MiddleLeft;

			Add( newColumn );

			return newColumn;
		}
コード例 #9
0
ファイル: LogForm.cs プロジェクト: ralfeus/ActivityEvidence
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn5 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn6 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn7 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn8 = new GlacialComponents.Controls.GLColumn();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LogForm));
     this.firstDateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.lastDateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.label1 = new System.Windows.Forms.Label();
     this.filterPanel = new System.Windows.Forms.Panel();
     this.workTimeLabel = new System.Windows.Forms.Label();
     this.workTimeComboBox = new System.Windows.Forms.ComboBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnApply = new System.Windows.Forms.Button();
     this.label3 = new System.Windows.Forms.Label();
     this.customersComboBox = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.logGlacialList = new GlacialComponents.Controls.GlacialList();
     this.logContextMenu = new System.Windows.Forms.ContextMenu();
     this.addMenuItem = new System.Windows.Forms.MenuItem();
     this.removeMenuItem = new System.Windows.Forms.MenuItem();
     this.panel2 = new System.Windows.Forms.Panel();
     this.closeButton = new System.Windows.Forms.Button();
     this.filterButton = new System.Windows.Forms.Button();
     this.applyChangesButton = new System.Windows.Forms.Button();
     this.filterPanel.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // firstDateTimePicker
     //
     this.firstDateTimePicker.Location = new System.Drawing.Point(64, 5);
     this.firstDateTimePicker.Name = "firstDateTimePicker";
     this.firstDateTimePicker.Size = new System.Drawing.Size(200, 20);
     this.firstDateTimePicker.TabIndex = 1;
     //
     // lastDateTimePicker
     //
     this.lastDateTimePicker.Location = new System.Drawing.Point(64, 32);
     this.lastDateTimePicker.Name = "lastDateTimePicker";
     this.lastDateTimePicker.Size = new System.Drawing.Size(200, 20);
     this.lastDateTimePicker.TabIndex = 3;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(56, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "First day";
     //
     // filterPanel
     //
     this.filterPanel.Controls.Add(this.workTimeLabel);
     this.filterPanel.Controls.Add(this.workTimeComboBox);
     this.filterPanel.Controls.Add(this.btnClear);
     this.filterPanel.Controls.Add(this.btnApply);
     this.filterPanel.Controls.Add(this.label3);
     this.filterPanel.Controls.Add(this.customersComboBox);
     this.filterPanel.Controls.Add(this.label2);
     this.filterPanel.Controls.Add(this.firstDateTimePicker);
     this.filterPanel.Controls.Add(this.lastDateTimePicker);
     this.filterPanel.Controls.Add(this.label1);
     this.filterPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.filterPanel.Location = new System.Drawing.Point(0, 0);
     this.filterPanel.Name = "filterPanel";
     this.filterPanel.Size = new System.Drawing.Size(704, 64);
     this.filterPanel.TabIndex = 4;
     //
     // workTimeLabel
     //
     this.workTimeLabel.Location = new System.Drawing.Point(272, 32);
     this.workTimeLabel.Name = "workTimeLabel";
     this.workTimeLabel.Size = new System.Drawing.Size(96, 16);
     this.workTimeLabel.TabIndex = 6;
     this.workTimeLabel.Text = "Show work &period";
     //
     // workTimeComboBox
     //
     this.workTimeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.workTimeComboBox.Items.AddRange(new object[] {
     "Total",
     "Office hours",
     "Out of office hours"});
     this.workTimeComboBox.Location = new System.Drawing.Point(376, 32);
     this.workTimeComboBox.Name = "workTimeComboBox";
     this.workTimeComboBox.Size = new System.Drawing.Size(168, 21);
     this.workTimeComboBox.TabIndex = 7;
     //
     // btnClear
     //
     this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClear.Location = new System.Drawing.Point(624, 35);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(75, 23);
     this.btnClear.TabIndex = 9;
     this.btnClear.Text = "Clear";
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnApply
     //
     this.btnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnApply.Location = new System.Drawing.Point(624, 5);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new System.Drawing.Size(75, 23);
     this.btnApply.TabIndex = 8;
     this.btnApply.Text = "Apply";
     this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(272, 8);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(56, 16);
     this.label3.TabIndex = 4;
     this.label3.Text = "Customer";
     //
     // customersComboBox
     //
     this.customersComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.customersComboBox.Location = new System.Drawing.Point(376, 8);
     this.customersComboBox.Name = "customersComboBox";
     this.customersComboBox.Size = new System.Drawing.Size(168, 21);
     this.customersComboBox.Sorted = true;
     this.customersComboBox.TabIndex = 5;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 35);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(56, 16);
     this.label2.TabIndex = 2;
     this.label2.Text = "Last day";
     //
     // logGlacialList
     //
     this.logGlacialList.AllowColumnResize = true;
     this.logGlacialList.AllowMultiselect = false;
     this.logGlacialList.AlternateBackground = System.Drawing.Color.DarkGreen;
     this.logGlacialList.AlternatingColors = false;
     this.logGlacialList.AutoHeight = true;
     this.logGlacialList.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.logGlacialList.BackgroundStretchToFit = true;
     glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.DateTimePicker;
     glColumn1.CheckBoxes = false;
     glColumn1.ImageIndex = -1;
     glColumn1.Name = "dateColumn";
     glColumn1.NumericSort = false;
     glColumn1.Text = "Date";
     glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn1.Width = 60;
     glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.ComboBox;
     glColumn2.CheckBoxes = false;
     glColumn2.ImageIndex = -1;
     glColumn2.Name = "customerColumn";
     glColumn2.NumericSort = false;
     glColumn2.Text = "Customer";
     glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn2.Width = 125;
     glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.ComboBox;
     glColumn3.CheckBoxes = false;
     glColumn3.ImageIndex = -1;
     glColumn3.Name = "activityColumn";
     glColumn3.NumericSort = false;
     glColumn3.Text = "Activity";
     glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn3.Width = 155;
     glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.DateTimePicker;
     glColumn4.CheckBoxes = false;
     glColumn4.ImageIndex = -1;
     glColumn4.Name = "startTimeColumn";
     glColumn4.NumericSort = false;
     glColumn4.Text = "Start time";
     glColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn4.Width = 65;
     glColumn5.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn5.CheckBoxes = false;
     glColumn5.ImageIndex = -1;
     glColumn5.Name = "finishTimeColumn";
     glColumn5.NumericSort = false;
     glColumn5.Text = "Finish time";
     glColumn5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn5.Width = 65;
     glColumn6.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.NumericUpDown;
     glColumn6.CheckBoxes = false;
     glColumn6.ImageIndex = -1;
     glColumn6.Name = "durationColumn";
     glColumn6.NumericSort = false;
     glColumn6.Text = "Duration";
     glColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn6.Width = 80;
     glColumn7.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.TextBox;
     glColumn7.CheckBoxes = false;
     glColumn7.ImageIndex = -1;
     glColumn7.Name = "ticketColumn";
     glColumn7.NumericSort = true;
     glColumn7.Text = "Ticket number";
     glColumn7.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn7.Width = 80;
     glColumn8.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.TextBox;
     glColumn8.CheckBoxes = false;
     glColumn8.ImageIndex = -1;
     glColumn8.Name = "commentColumn";
     glColumn8.NumericSort = false;
     glColumn8.Text = "Comment";
     glColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn8.Width = 65;
     this.logGlacialList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
     glColumn1,
     glColumn2,
     glColumn3,
     glColumn4,
     glColumn5,
     glColumn6,
     glColumn7,
     glColumn8});
     this.logGlacialList.ContextMenu = this.logContextMenu;
     this.logGlacialList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal;
     this.logGlacialList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.logGlacialList.FullRowSelect = true;
     this.logGlacialList.GridColor = System.Drawing.Color.LightGray;
     this.logGlacialList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth;
     this.logGlacialList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid;
     this.logGlacialList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridNormal;
     this.logGlacialList.HeaderHeight = 15;
     this.logGlacialList.HeaderVisible = true;
     this.logGlacialList.HeaderWordWrap = false;
     this.logGlacialList.HotColumnTracking = false;
     this.logGlacialList.HotItemTracking = false;
     this.logGlacialList.HotTrackingColor = System.Drawing.Color.LightGray;
     this.logGlacialList.HoverEvents = false;
     this.logGlacialList.HoverTime = 1;
     this.logGlacialList.ImageList = null;
     this.logGlacialList.ItemHeight = 17;
     this.logGlacialList.ItemWordWrap = false;
     this.logGlacialList.Location = new System.Drawing.Point(0, 64);
     this.logGlacialList.Name = "logGlacialList";
     this.logGlacialList.Selectable = true;
     this.logGlacialList.SelectedTextColor = System.Drawing.Color.White;
     this.logGlacialList.SelectionColor = System.Drawing.Color.DarkBlue;
     this.logGlacialList.ShowBorder = true;
     this.logGlacialList.ShowFocusRect = false;
     this.logGlacialList.Size = new System.Drawing.Size(704, 429);
     this.logGlacialList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort;
     this.logGlacialList.SuperFlatHeaderColor = System.Drawing.Color.White;
     this.logGlacialList.TabIndex = 6;
     this.logGlacialList.Text = "glacialList1";
     this.logGlacialList.ItemChangedEvent += new GlacialComponents.Controls.ChangedEventHandler(this.logGlacialList_ItemChangedEvent);
     this.logGlacialList.KeyUp += new System.Windows.Forms.KeyEventHandler(this.logGlacialList_KeyUp);
     //
     // logContextMenu
     //
     this.logContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.addMenuItem,
     this.removeMenuItem});
     //
     // addMenuItem
     //
     this.addMenuItem.Index = 0;
     this.addMenuItem.Text = "&Add activity";
     this.addMenuItem.Click += new System.EventHandler(this.addMenuItem_Click);
     //
     // removeMenuItem
     //
     this.removeMenuItem.Index = 1;
     this.removeMenuItem.Text = "&Remove activity";
     this.removeMenuItem.Click += new System.EventHandler(this.removeMenuItem_Click);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.closeButton);
     this.panel2.Controls.Add(this.filterButton);
     this.panel2.Controls.Add(this.applyChangesButton);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel2.Location = new System.Drawing.Point(704, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(104, 493);
     this.panel2.TabIndex = 7;
     //
     // closeButton
     //
     this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.closeButton.Location = new System.Drawing.Point(8, 464);
     this.closeButton.Name = "closeButton";
     this.closeButton.Size = new System.Drawing.Size(88, 23);
     this.closeButton.TabIndex = 2;
     this.closeButton.Text = "Close";
     this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
     //
     // filterButton
     //
     this.filterButton.Location = new System.Drawing.Point(8, 5);
     this.filterButton.Name = "filterButton";
     this.filterButton.Size = new System.Drawing.Size(88, 23);
     this.filterButton.TabIndex = 1;
     this.filterButton.Text = "Hide filter";
     this.filterButton.Click += new System.EventHandler(this.filterButton_Click);
     //
     // applyChangesButton
     //
     this.applyChangesButton.Enabled = false;
     this.applyChangesButton.Location = new System.Drawing.Point(8, 35);
     this.applyChangesButton.Name = "applyChangesButton";
     this.applyChangesButton.Size = new System.Drawing.Size(88, 23);
     this.applyChangesButton.TabIndex = 0;
     this.applyChangesButton.Text = "Apply changes";
     this.applyChangesButton.Click += new System.EventHandler(this.applyChangesButton_Click);
     //
     // LogForm
     //
     this.AcceptButton = this.btnApply;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(808, 493);
     this.Controls.Add(this.logGlacialList);
     this.Controls.Add(this.filterPanel);
     this.Controls.Add(this.panel2);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Location = new System.Drawing.Point(40, 40);
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(590, 200);
     this.Name = "LogForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = "LogForm";
     this.Load += new System.EventHandler(this.LogForm_Load);
     this.filterPanel.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #10
0
		/// <summary>
		/// Draw column in header control
		/// </summary>
		/// <param name="graphicsColumn"></param>
		/// <param name="rectColumn"></param>
		/// <param name="column"></param>
		virtual public void DrawColumnHeader( Graphics graphicsColumn, Rectangle rectColumn, GLColumn column )
		{
			DW("DrawColumn");

			if ( this.ControlStyle == GLControlStyles.SuperFlat )
			{
				SolidBrush brush = new SolidBrush( this.SuperFlatHeaderColor );
				graphicsColumn.FillRectangle( brush, rectColumn );
				brush.Dispose();
			}
			else if (( this.ControlStyle == GLControlStyles.XP )&& this.ThemesAvailable )
			{	// this is really the only thing we care about for themeing right now inside the control
				System.IntPtr hDC = graphicsColumn.GetHdc();;

				RECT colrect = new RECT( rectColumn.X, rectColumn.Y, rectColumn.Right, rectColumn.Bottom );
				RECT cliprect = new RECT( rectColumn.X, rectColumn.Y, rectColumn.Right, rectColumn.Bottom );

				if ( column.State == ColumnStates.csNone )
				{
					//Debug.WriteLine( "Normal" );
					ThemeRoutines.DrawThemeBackground( m_hTheme, hDC, 1, 1, ref colrect, ref cliprect );
				}
				else if ( column.State == ColumnStates.csPressed )
				{
					//Debug.WriteLine( "Pressed" );
					ThemeRoutines.DrawThemeBackground( m_hTheme, hDC, 1, 3, ref colrect, ref cliprect );
				}
				else if ( column.State == ColumnStates.csHot )
				{
					//Debug.WriteLine( "Hot" );
					ThemeRoutines.DrawThemeBackground( m_hTheme, hDC, 1, 2, ref colrect, ref cliprect );
				}

				graphicsColumn.ReleaseHdc(hDC);
			}
			else		// normal state
			{
				if ( column.State != ColumnStates.csPressed )
					ControlPaint.DrawButton( graphicsColumn, rectColumn, ButtonState.Normal );
				else
					ControlPaint.DrawButton( graphicsColumn, rectColumn, ButtonState.Pushed );
			}


			// if there is an image, this routine will RETURN with exactly the space left for everything else after the image is drawn (or not drawn due to lack of space)
			if ( (column.ImageIndex > -1) && (ImageList != null) && (column.ImageIndex < this.ImageList.Images.Count) )
				rectColumn = DrawCellGraphic( graphicsColumn, rectColumn, this.ImageList.Images[ column.ImageIndex ], HorizontalAlignment.Left );

			DrawCellText( graphicsColumn, rectColumn, column.Text, column.TextAlignment, this.ForeColor, false, HeaderWordWrap );
		}
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn4 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn5 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn6 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn7 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn8 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn9 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn10 = new GlacialComponents.Controls.GLColumn();
     GlacialComponents.Controls.GLColumn glColumn11 = new GlacialComponents.Controls.GLColumn();
     this.panel2 = new System.Windows.Forms.Panel();
     this.claimWeekCalendar = new System.Windows.Forms.MonthCalendar();
     this.calculateClaimButton = new System.Windows.Forms.Button();
     this.button1 = new System.Windows.Forms.Button();
     this.closeButton = new System.Windows.Forms.Button();
     this.applyChangesButton = new System.Windows.Forms.Button();
     this.logGlacialList = new GlacialComponents.Controls.GlacialList();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel2
     //
     this.panel2.Controls.Add(this.claimWeekCalendar);
     this.panel2.Controls.Add(this.calculateClaimButton);
     this.panel2.Controls.Add(this.button1);
     this.panel2.Controls.Add(this.closeButton);
     this.panel2.Controls.Add(this.applyChangesButton);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel2.Location = new System.Drawing.Point(1040, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(168, 597);
     this.panel2.TabIndex = 10;
     //
     // claimWeekCalendar
     //
     this.claimWeekCalendar.FirstDayOfWeek = System.Windows.Forms.Day.Saturday;
     this.claimWeekCalendar.Location = new System.Drawing.Point(8, 8);
     this.claimWeekCalendar.Name = "claimWeekCalendar";
     this.claimWeekCalendar.TabIndex = 5;
     this.claimWeekCalendar.SizeChanged += new System.EventHandler(this.claimWeekCalendar_SizeChanged);
     this.claimWeekCalendar.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.claimWeekCalendar_DateSelected);
     //
     // calculateClaimButton
     //
     this.calculateClaimButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.calculateClaimButton.Location = new System.Drawing.Point(8, 200);
     this.calculateClaimButton.Name = "calculateClaimButton";
     this.calculateClaimButton.Size = new System.Drawing.Size(152, 23);
     this.calculateClaimButton.TabIndex = 4;
     this.calculateClaimButton.Text = "Calculate";
     this.calculateClaimButton.Click += new System.EventHandler(this.calculateClaimButton_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(8, 315);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(88, 23);
     this.button1.TabIndex = 3;
     this.button1.Text = "Show ...";
     this.button1.Visible = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // closeButton
     //
     this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.Location = new System.Drawing.Point(8, 568);
     this.closeButton.Name = "closeButton";
     this.closeButton.Size = new System.Drawing.Size(152, 23);
     this.closeButton.TabIndex = 2;
     this.closeButton.Text = "Close";
     this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
     //
     // applyChangesButton
     //
     this.applyChangesButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.applyChangesButton.Enabled = false;
     this.applyChangesButton.Location = new System.Drawing.Point(8, 168);
     this.applyChangesButton.Name = "applyChangesButton";
     this.applyChangesButton.Size = new System.Drawing.Size(152, 23);
     this.applyChangesButton.TabIndex = 0;
     this.applyChangesButton.Text = "Apply changes";
     this.applyChangesButton.Click += new System.EventHandler(this.applyChangesButton_Click);
     //
     // logGlacialList
     //
     this.logGlacialList.AllowColumnResize = true;
     this.logGlacialList.AllowMultiselect = false;
     this.logGlacialList.AlternateBackground = System.Drawing.Color.DarkGreen;
     this.logGlacialList.AlternatingColors = false;
     this.logGlacialList.AutoHeight = true;
     this.logGlacialList.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.logGlacialList.BackgroundStretchToFit = true;
     glColumn1.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn1.CheckBoxes = false;
     glColumn1.ImageIndex = -1;
     glColumn1.Name = "dateColumn";
     glColumn1.NumericSort = false;
     glColumn1.Text = "Date";
     glColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn1.Width = 65;
     glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn2.CheckBoxes = false;
     glColumn2.ImageIndex = -1;
     glColumn2.Name = "customerColumn";
     glColumn2.NumericSort = false;
     glColumn2.Text = "Customer";
     glColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn2.Width = 125;
     glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn3.CheckBoxes = false;
     glColumn3.ImageIndex = -1;
     glColumn3.Name = "activityColumn";
     glColumn3.NumericSort = false;
     glColumn3.Text = "Activity";
     glColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn3.Width = 155;
     glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn4.CheckBoxes = false;
     glColumn4.ImageIndex = -1;
     glColumn4.Name = "startTimeColumn";
     glColumn4.NumericSort = false;
     glColumn4.Text = "Start time";
     glColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn4.Width = 65;
     glColumn5.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn5.CheckBoxes = false;
     glColumn5.ImageIndex = -1;
     glColumn5.Name = "durationColumn";
     glColumn5.NumericSort = false;
     glColumn5.Text = "Duration";
     glColumn5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn5.Width = 51;
     glColumn6.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn6.CheckBoxes = false;
     glColumn6.ImageIndex = -1;
     glColumn6.Name = "ticketColumn";
     glColumn6.NumericSort = true;
     glColumn6.Text = "Ticket number";
     glColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn6.Width = 80;
     glColumn7.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.CheckBox;
     glColumn7.CheckBoxes = false;
     glColumn7.ImageIndex = -1;
     glColumn7.Name = "standardClaimColumn";
     glColumn7.NumericSort = false;
     glColumn7.Text = "Standard Claim";
     glColumn7.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn7.Width = 86;
     glColumn8.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.CheckBox;
     glColumn8.CheckBoxes = false;
     glColumn8.ImageIndex = -1;
     glColumn8.Name = "plannedOvertimeColumn";
     glColumn8.NumericSort = false;
     glColumn8.Text = "Planned Overtime";
     glColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn8.Width = 99;
     glColumn9.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.TextBox;
     glColumn9.CheckBoxes = false;
     glColumn9.ImageIndex = -1;
     glColumn9.Name = "claimAccountColumn";
     glColumn9.NumericSort = false;
     glColumn9.Text = "Account";
     glColumn9.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn9.Width = 60;
     glColumn10.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.TextBox;
     glColumn10.CheckBoxes = false;
     glColumn10.ImageIndex = -1;
     glColumn10.Name = "claimWorkItemColumn";
     glColumn10.NumericSort = false;
     glColumn10.Text = "Work Item";
     glColumn10.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn10.Width = 70;
     glColumn11.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
     glColumn11.CheckBoxes = false;
     glColumn11.ImageIndex = -1;
     glColumn11.Name = "commentColumn";
     glColumn11.NumericSort = false;
     glColumn11.Text = "Comment";
     glColumn11.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     glColumn11.Width = 180;
     this.logGlacialList.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
                                                                                        glColumn1,
                                                                                        glColumn2,
                                                                                        glColumn3,
                                                                                        glColumn4,
                                                                                        glColumn5,
                                                                                        glColumn6,
                                                                                        glColumn7,
                                                                                        glColumn8,
                                                                                        glColumn9,
                                                                                        glColumn10,
                                                                                        glColumn11});
     this.logGlacialList.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal;
     this.logGlacialList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.logGlacialList.FullRowSelect = true;
     this.logGlacialList.GridColor = System.Drawing.Color.LightGray;
     this.logGlacialList.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth;
     this.logGlacialList.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid;
     this.logGlacialList.GridTypes = GlacialComponents.Controls.GLGridTypes.gridNormal;
     this.logGlacialList.HeaderHeight = 15;
     this.logGlacialList.HeaderVisible = true;
     this.logGlacialList.HeaderWordWrap = false;
     this.logGlacialList.HotColumnTracking = false;
     this.logGlacialList.HotItemTracking = false;
     this.logGlacialList.HotTrackingColor = System.Drawing.Color.LightGray;
     this.logGlacialList.HoverEvents = false;
     this.logGlacialList.HoverTime = 1;
     this.logGlacialList.ImageList = null;
     this.logGlacialList.ItemHeight = 17;
     this.logGlacialList.ItemWordWrap = false;
     this.logGlacialList.Location = new System.Drawing.Point(0, 0);
     this.logGlacialList.Name = "logGlacialList";
     this.logGlacialList.Selectable = true;
     this.logGlacialList.SelectedTextColor = System.Drawing.Color.White;
     this.logGlacialList.SelectionColor = System.Drawing.Color.DarkBlue;
     this.logGlacialList.ShowBorder = true;
     this.logGlacialList.ShowFocusRect = false;
     this.logGlacialList.Size = new System.Drawing.Size(1040, 597);
     this.logGlacialList.SortType = GlacialComponents.Controls.SortTypes.InsertionSort;
     this.logGlacialList.SuperFlatHeaderColor = System.Drawing.Color.White;
     this.logGlacialList.TabIndex = 9;
     this.logGlacialList.ItemChangedEvent += new GlacialComponents.Controls.ChangedEventHandler(this.logGlacialList_ItemChangedEvent);
     this.logGlacialList.EmbeddedActivating += new GlacialComponents.Controls.GlacialList.EmbeddedActivatingEventHandler(this.logGlacialList_EmbeddedActivating);
     //
     // ClaimPrepareForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(1208, 597);
     this.Controls.Add(this.logGlacialList);
     this.Controls.Add(this.panel2);
     this.MinimumSize = new System.Drawing.Size(176, 288);
     this.Name = "ClaimPrepareForm";
     this.Text = "ClaimForm";
     this.Load += new System.EventHandler(this.ClaimForm_Load);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
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();
            GlacialComponents.Controls.GLColumn  glColumn1   = new GlacialComponents.Controls.GLColumn();
            GlacialComponents.Controls.GLColumn  glColumn2   = new GlacialComponents.Controls.GLColumn();
            GlacialComponents.Controls.GLColumn  glColumn3   = new GlacialComponents.Controls.GLColumn();
            GlacialComponents.Controls.GLColumn  glColumn4   = new GlacialComponents.Controls.GLColumn();
            GlacialComponents.Controls.GLItem    glItem1     = new GlacialComponents.Controls.GLItem();
            GlacialComponents.Controls.GLSubItem glSubItem1  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem2  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem3  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem4  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLItem    glItem2     = new GlacialComponents.Controls.GLItem();
            GlacialComponents.Controls.GLSubItem glSubItem5  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem6  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem7  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem8  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLItem    glItem3     = new GlacialComponents.Controls.GLItem();
            GlacialComponents.Controls.GLSubItem glSubItem9  = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem10 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem11 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem12 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLItem    glItem4     = new GlacialComponents.Controls.GLItem();
            GlacialComponents.Controls.GLSubItem glSubItem13 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem14 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem15 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem16 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLItem    glItem5     = new GlacialComponents.Controls.GLItem();
            GlacialComponents.Controls.GLSubItem glSubItem17 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem18 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem19 = new GlacialComponents.Controls.GLSubItem();
            GlacialComponents.Controls.GLSubItem glSubItem20 = new GlacialComponents.Controls.GLSubItem();
            System.Resources.ResourceManager     resources   = new System.Resources.ResourceManager(typeof(Form1));
            this.glacialList1 = new GlacialComponents.Controls.GlacialList();
            this.imageList1   = new System.Windows.Forms.ImageList(this.components);
            this.mainMenu1    = new System.Windows.Forms.MainMenu();
            this.menuItem1    = new System.Windows.Forms.MenuItem();
            this.menuItem2    = new System.Windows.Forms.MenuItem();
            this.SuspendLayout();
            //
            // glacialList1
            //
            this.glacialList1.AllowColumnResize      = true;
            this.glacialList1.AllowMultiselect       = false;
            this.glacialList1.AlternateBackground    = System.Drawing.Color.ForestGreen;
            this.glacialList1.AlternatingColors      = true;
            this.glacialList1.AutoHeight             = true;
            this.glacialList1.BackColor              = System.Drawing.SystemColors.ControlLightLight;
            this.glacialList1.BackgroundStretchToFit = true;
            glColumn1.ActivatedEmbeddedType          = GlacialComponents.Controls.GLActivatedEmbeddedTypes.TextBox;
            glColumn1.CheckBoxes            = true;
            glColumn1.ImageIndex            = -1;
            glColumn1.Name                  = "Column1";
            glColumn1.NumericSort           = false;
            glColumn1.Text                  = "Name";
            glColumn1.TextAlignment         = System.Drawing.ContentAlignment.MiddleLeft;
            glColumn1.Width                 = 130;
            glColumn2.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.DateTimePicker;
            glColumn2.CheckBoxes            = false;
            glColumn2.ImageIndex            = -1;
            glColumn2.Name                  = "Column2";
            glColumn2.NumericSort           = false;
            glColumn2.Text                  = "Released";
            glColumn2.TextAlignment         = System.Drawing.ContentAlignment.MiddleLeft;
            glColumn2.Width                 = 140;
            glColumn3.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
            glColumn3.CheckBoxes            = false;
            glColumn3.ImageIndex            = -1;
            glColumn3.Name                  = "Column3";
            glColumn3.NumericSort           = false;
            glColumn3.Text                  = "Download";
            glColumn3.TextAlignment         = System.Drawing.ContentAlignment.MiddleLeft;
            glColumn3.Width                 = 100;
            glColumn4.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None;
            glColumn4.CheckBoxes            = false;
            glColumn4.ImageIndex            = -1;
            glColumn4.Name                  = "Column4";
            glColumn4.NumericSort           = false;
            glColumn4.Text                  = "Rating";
            glColumn4.TextAlignment         = System.Drawing.ContentAlignment.MiddleLeft;
            glColumn4.Width                 = 100;
            this.glacialList1.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
                glColumn1,
                glColumn2,
                glColumn3,
                glColumn4
            });
            this.glacialList1.ControlStyle      = GlacialComponents.Controls.GLControlStyles.XP;
            this.glacialList1.Dock              = System.Windows.Forms.DockStyle.Fill;
            this.glacialList1.FullRowSelect     = true;
            this.glacialList1.GridColor         = System.Drawing.Color.LightGray;
            this.glacialList1.GridLines         = GlacialComponents.Controls.GLGridLines.gridBoth;
            this.glacialList1.GridLineStyle     = GlacialComponents.Controls.GLGridLineStyles.gridSolid;
            this.glacialList1.GridTypes         = GlacialComponents.Controls.GLGridTypes.gridOnExists;
            this.glacialList1.HeaderHeight      = 22;
            this.glacialList1.HeaderVisible     = true;
            this.glacialList1.HeaderWordWrap    = false;
            this.glacialList1.HotColumnTracking = true;
            this.glacialList1.HotItemTracking   = true;
            this.glacialList1.HotTrackingColor  = System.Drawing.Color.LightGray;
            this.glacialList1.HoverEvents       = false;
            this.glacialList1.HoverTime         = 1;
            this.glacialList1.ImageList         = this.imageList1;
            this.glacialList1.ItemHeight        = 20;
            glItem1.BackColor         = System.Drawing.Color.White;
            glItem1.ForeColor         = System.Drawing.Color.Black;
            glItem1.RowBorderColor    = System.Drawing.Color.Black;
            glItem1.RowBorderSize     = 0;
            glSubItem1.BackColor      = System.Drawing.Color.Empty;
            glSubItem1.Checked        = false;
            glSubItem1.ForceText      = false;
            glSubItem1.ForeColor      = System.Drawing.Color.Black;
            glSubItem1.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem1.ImageIndex     = -1;
            glSubItem1.Text           = "Glacial List 1.3";
            glSubItem2.BackColor      = System.Drawing.Color.Empty;
            glSubItem2.Checked        = false;
            glSubItem2.ForceText      = false;
            glSubItem2.ForeColor      = System.Drawing.Color.Black;
            glSubItem2.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem2.ImageIndex     = -1;
            glSubItem2.Text           = "1/7/2004";
            glSubItem3.BackColor      = System.Drawing.Color.Empty;
            glSubItem3.Checked        = false;
            glSubItem3.ForceText      = false;
            glSubItem3.ForeColor      = System.Drawing.Color.Black;
            glSubItem3.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem3.ImageIndex     = -1;
            glSubItem3.Text           = "40";
            glSubItem4.BackColor      = System.Drawing.Color.Empty;
            glSubItem4.Checked        = false;
            glSubItem4.ForceText      = false;
            glSubItem4.ForeColor      = System.Drawing.Color.Black;
            glSubItem4.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem4.ImageIndex     = 2;
            glSubItem4.Text           = "";
            glItem1.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] {
                glSubItem1,
                glSubItem2,
                glSubItem3,
                glSubItem4
            });
            glItem1.Text              = "Glacial List 1.3";
            glItem2.BackColor         = System.Drawing.Color.White;
            glItem2.ForeColor         = System.Drawing.Color.Black;
            glItem2.RowBorderColor    = System.Drawing.Color.Black;
            glItem2.RowBorderSize     = 0;
            glSubItem5.BackColor      = System.Drawing.Color.Empty;
            glSubItem5.Checked        = false;
            glSubItem5.ForceText      = false;
            glSubItem5.ForeColor      = System.Drawing.Color.Black;
            glSubItem5.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem5.ImageIndex     = -1;
            glSubItem5.Text           = "Glacial List 1.28";
            glSubItem6.BackColor      = System.Drawing.Color.Empty;
            glSubItem6.Checked        = false;
            glSubItem6.ForceText      = false;
            glSubItem6.ForeColor      = System.Drawing.Color.Black;
            glSubItem6.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem6.ImageIndex     = -1;
            glSubItem6.Text           = "12/30/2003";
            glSubItem7.BackColor      = System.Drawing.Color.Empty;
            glSubItem7.Checked        = false;
            glSubItem7.ForceText      = false;
            glSubItem7.ForeColor      = System.Drawing.Color.Black;
            glSubItem7.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem7.ImageIndex     = -1;
            glSubItem7.Text           = "90";
            glSubItem8.BackColor      = System.Drawing.Color.Empty;
            glSubItem8.Checked        = false;
            glSubItem8.ForceText      = false;
            glSubItem8.ForeColor      = System.Drawing.Color.Black;
            glSubItem8.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem8.ImageIndex     = 2;
            glSubItem8.Text           = "";
            glItem2.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] {
                glSubItem5,
                glSubItem6,
                glSubItem7,
                glSubItem8
            });
            glItem2.Text               = "Glacial List 1.28";
            glItem3.BackColor          = System.Drawing.Color.White;
            glItem3.ForeColor          = System.Drawing.Color.Black;
            glItem3.RowBorderColor     = System.Drawing.Color.Black;
            glItem3.RowBorderSize      = 0;
            glSubItem9.BackColor       = System.Drawing.Color.Empty;
            glSubItem9.Checked         = false;
            glSubItem9.ForceText       = false;
            glSubItem9.ForeColor       = System.Drawing.Color.Black;
            glSubItem9.ImageAlignment  = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem9.ImageIndex      = -1;
            glSubItem9.Text            = "Glacial List 1.26";
            glSubItem10.BackColor      = System.Drawing.Color.Empty;
            glSubItem10.Checked        = false;
            glSubItem10.ForceText      = false;
            glSubItem10.ForeColor      = System.Drawing.Color.Black;
            glSubItem10.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem10.ImageIndex     = -1;
            glSubItem10.Text           = "12/22/2003";
            glSubItem11.BackColor      = System.Drawing.Color.Empty;
            glSubItem11.Checked        = false;
            glSubItem11.ForceText      = false;
            glSubItem11.ForeColor      = System.Drawing.Color.Black;
            glSubItem11.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem11.ImageIndex     = -1;
            glSubItem11.Text           = "80";
            glSubItem12.BackColor      = System.Drawing.Color.Empty;
            glSubItem12.Checked        = false;
            glSubItem12.ForceText      = false;
            glSubItem12.ForeColor      = System.Drawing.Color.Black;
            glSubItem12.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem12.ImageIndex     = 1;
            glSubItem12.Text           = "";
            glItem3.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] {
                glSubItem9,
                glSubItem10,
                glSubItem11,
                glSubItem12
            });
            glItem3.Text               = "Glacial List 1.26";
            glItem4.BackColor          = System.Drawing.Color.White;
            glItem4.ForeColor          = System.Drawing.Color.Black;
            glItem4.RowBorderColor     = System.Drawing.Color.Black;
            glItem4.RowBorderSize      = 0;
            glSubItem13.BackColor      = System.Drawing.Color.Empty;
            glSubItem13.Checked        = false;
            glSubItem13.ForceText      = false;
            glSubItem13.ForeColor      = System.Drawing.Color.Black;
            glSubItem13.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem13.ImageIndex     = -1;
            glSubItem13.Text           = "Glacial List 1.1";
            glSubItem14.BackColor      = System.Drawing.Color.Empty;
            glSubItem14.Checked        = false;
            glSubItem14.ForceText      = false;
            glSubItem14.ForeColor      = System.Drawing.Color.Black;
            glSubItem14.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem14.ImageIndex     = -1;
            glSubItem14.Text           = "7/9/2003";
            glSubItem15.BackColor      = System.Drawing.Color.Empty;
            glSubItem15.Checked        = false;
            glSubItem15.ForceText      = false;
            glSubItem15.ForeColor      = System.Drawing.Color.Black;
            glSubItem15.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem15.ImageIndex     = -1;
            glSubItem15.Text           = "Done";
            glSubItem16.BackColor      = System.Drawing.Color.Empty;
            glSubItem16.Checked        = false;
            glSubItem16.ForceText      = false;
            glSubItem16.ForeColor      = System.Drawing.Color.Black;
            glSubItem16.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem16.ImageIndex     = 1;
            glSubItem16.Text           = "";
            glItem4.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] {
                glSubItem13,
                glSubItem14,
                glSubItem15,
                glSubItem16
            });
            glItem4.Text               = "Glacial List 1.1";
            glItem5.BackColor          = System.Drawing.Color.White;
            glItem5.ForeColor          = System.Drawing.Color.Black;
            glItem5.RowBorderColor     = System.Drawing.Color.Black;
            glItem5.RowBorderSize      = 0;
            glSubItem17.BackColor      = System.Drawing.Color.Empty;
            glSubItem17.Checked        = false;
            glSubItem17.ForceText      = false;
            glSubItem17.ForeColor      = System.Drawing.Color.Black;
            glSubItem17.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem17.ImageIndex     = -1;
            glSubItem17.Text           = "Glacial List 1.0";
            glSubItem18.BackColor      = System.Drawing.Color.Empty;
            glSubItem18.Checked        = false;
            glSubItem18.ForceText      = false;
            glSubItem18.ForeColor      = System.Drawing.Color.Black;
            glSubItem18.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem18.ImageIndex     = -1;
            glSubItem18.Text           = "6/13/2003";
            glSubItem19.BackColor      = System.Drawing.Color.Empty;
            glSubItem19.Checked        = false;
            glSubItem19.ForceText      = false;
            glSubItem19.ForeColor      = System.Drawing.Color.Black;
            glSubItem19.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem19.ImageIndex     = -1;
            glSubItem19.Text           = "23";
            glSubItem20.BackColor      = System.Drawing.Color.Empty;
            glSubItem20.Checked        = false;
            glSubItem20.ForceText      = false;
            glSubItem20.ForeColor      = System.Drawing.Color.Black;
            glSubItem20.ImageAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            glSubItem20.ImageIndex     = 0;
            glSubItem20.Text           = "";
            glItem5.SubItems.AddRange(new GlacialComponents.Controls.GLSubItem[] {
                glSubItem17,
                glSubItem18,
                glSubItem19,
                glSubItem20
            });
            glItem5.Text = "Glacial List 1.0";
            this.glacialList1.Items.AddRange(new GlacialComponents.Controls.GLItem[] {
                glItem1,
                glItem2,
                glItem3,
                glItem4,
                glItem5
            });
            this.glacialList1.ItemWordWrap         = false;
            this.glacialList1.Location             = new System.Drawing.Point(0, 0);
            this.glacialList1.Name                 = "glacialList1";
            this.glacialList1.Selectable           = true;
            this.glacialList1.SelectedTextColor    = System.Drawing.Color.White;
            this.glacialList1.SelectionColor       = System.Drawing.Color.DarkBlue;
            this.glacialList1.ShowBorder           = true;
            this.glacialList1.ShowFocusRect        = false;
            this.glacialList1.Size                 = new System.Drawing.Size(496, 174);
            this.glacialList1.SortType             = GlacialComponents.Controls.SortTypes.MergeSort;
            this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White;
            this.glacialList1.TabIndex             = 0;
            this.glacialList1.Text                 = "glacialList1";
            //
            // imageList1
            //
            this.imageList1.ImageSize        = new System.Drawing.Size(80, 16);
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            //
            // mainMenu1
            //
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem1
            });
            //
            // menuItem1
            //
            this.menuItem1.Index = 0;
            this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem2
            });
            this.menuItem1.Text = "test";
            //
            // menuItem2
            //
            this.menuItem2.Index = 0;
            this.menuItem2.Text  = "test2";

            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(496, 174);
            this.Controls.Add(this.glacialList1);
            this.Menu  = this.mainMenu1;
            this.Name  = "Form1";
            this.Text  = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);
        }
コード例 #13
0
		/// <summary>
		/// Return index of column in collection
		/// </summary>
		/// <param name="column"></param>
		/// <returns></returns>
		public int IndexOf( GLColumn column )
		{
			return List.IndexOf( column );
		}
コード例 #14
0
		/// <summary>
		/// Add Range of columns to collection
		/// </summary>
		/// <param name="columns"></param>
		public void AddRange( GLColumn[] columns)
		{
			lock(List.SyncRoot)
			{
				for (int i=0; i<columns.Length; i++)
					Add( columns[i] );
			}
		}
コード例 #15
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();
			GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn();
			GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn();
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.General = new System.Windows.Forms.TabPage();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this._pluginlist = new GlacialComponents.Controls.GlacialList();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this._useProjectFilter = new System.Windows.Forms.CheckBox();
			this._browse = new System.Windows.Forms.Button();
			this._localpath = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.Destinations = new System.Windows.Forms.TabPage();
			this._destinationsView = new Deployer.ProjectSettings.Views.DestinationsView();
			this.Filters = new System.Windows.Forms.TabPage();
			this._filtersView = new Deployer.ProjectSettings.Views.FiltersView();
			this.Hooks = new System.Windows.Forms.TabPage();
			this._hooksView = new Deployer.ProjectSettings.Views.HooksView();
			this.Timestamp = new System.Windows.Forms.TabPage();
			this._timestampView = new Deployer.ProjectSettings.Views.TimestampView();
			this.Database = new System.Windows.Forms.TabPage();
			this.groupBox6 = new System.Windows.Forms.GroupBox();
			this.label6 = new System.Windows.Forms.Label();
			this._destinationdbname = new System.Windows.Forms.TextBox();
			this._destinationdburl = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.label4 = new System.Windows.Forms.Label();
			this._sourcedbname = new System.Windows.Forms.TextBox();
			this._sourcedburl = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.StoredProcedures = new System.Windows.Forms.TabPage();
			this.groupBox7 = new System.Windows.Forms.GroupBox();
			this.label8 = new System.Windows.Forms.Label();
			this._excludeProcedures = new System.Windows.Forms.DataGrid();
			this._cancel = new System.Windows.Forms.Button();
			this._ok = new System.Windows.Forms.Button();
			this._tooltip = new System.Windows.Forms.ToolTip(this.components);
			this.tabControl1.SuspendLayout();
			this.General.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.Destinations.SuspendLayout();
			this.Filters.SuspendLayout();
			this.Hooks.SuspendLayout();
			this.Timestamp.SuspendLayout();
			this.Database.SuspendLayout();
			this.groupBox6.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.StoredProcedures.SuspendLayout();
			this.groupBox7.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this._excludeProcedures)).BeginInit();
			this.SuspendLayout();
			// 
			// tabControl1
			// 
			this.tabControl1.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.tabControl1.Controls.Add(this.General);
			this.tabControl1.Controls.Add(this.Destinations);
			this.tabControl1.Controls.Add(this.Filters);
			this.tabControl1.Controls.Add(this.Hooks);
			this.tabControl1.Controls.Add(this.Timestamp);
			this.tabControl1.Controls.Add(this.Database);
			this.tabControl1.Controls.Add(this.StoredProcedures);
			this.tabControl1.Location = new System.Drawing.Point(12, 12);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(770, 515);
			this.tabControl1.TabIndex = 0;
			// 
			// General
			// 
			this.General.Controls.Add(this.groupBox3);
			this.General.Controls.Add(this.groupBox2);
			this.General.Location = new System.Drawing.Point(4, 22);
			this.General.Name = "General";
			this.General.Size = new System.Drawing.Size(762, 489);
			this.General.TabIndex = 0;
			this.General.Text = "General";
			this.General.UseVisualStyleBackColor = true;
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this._pluginlist);
			this.groupBox3.Location = new System.Drawing.Point(8, 96);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(464, 181);
			this.groupBox3.TabIndex = 1;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "Available deployment plugins";
			// 
			// _pluginlist
			// 
			this._pluginlist.BackColor = System.Drawing.SystemColors.Window;
			glColumn1.Name = "Name";
			glColumn1.Text = "Name";
			glColumn1.Width = 150;
			glColumn2.Name = "Identifier";
			glColumn2.Text = "Identifier";
			glColumn3.Name = "Version";
			glColumn3.Text = "Version";
			glColumn3.Width = 80;
			this._pluginlist.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] {
			glColumn1,
			glColumn2,
			glColumn3});
			this._pluginlist.HotTrackingColor = System.Drawing.SystemColors.HotTrack;
			this._pluginlist.ImageList = null;
			this._pluginlist.Location = new System.Drawing.Point(8, 24);
			this._pluginlist.MultiSelect = true;
			this._pluginlist.Name = "_pluginlist";
			this._pluginlist.SelectedTextColor = System.Drawing.SystemColors.HighlightText;
			this._pluginlist.SelectionColor = System.Drawing.SystemColors.Highlight;
			this._pluginlist.Size = new System.Drawing.Size(448, 136);
			this._pluginlist.TabIndex = 4;
			this._pluginlist.Text = "glacialList1";
			this._pluginlist.UnfocusedSelectionColor = System.Drawing.SystemColors.Highlight;
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this._useProjectFilter);
			this.groupBox2.Controls.Add(this._browse);
			this.groupBox2.Controls.Add(this._localpath);
			this.groupBox2.Controls.Add(this.label2);
			this.groupBox2.Location = new System.Drawing.Point(8, 8);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(464, 80);
			this.groupBox2.TabIndex = 0;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Source directory";
			// 
			// _useProjectFilter
			// 
			this._useProjectFilter.Location = new System.Drawing.Point(72, 48);
			this._useProjectFilter.Name = "_useProjectFilter";
			this._useProjectFilter.Size = new System.Drawing.Size(248, 24);
			this._useProjectFilter.TabIndex = 2;
			this._useProjectFilter.Text = "Scan from Visual Studio projectfile (*.csproj)";
			// 
			// _browse
			// 
			this._browse.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this._browse.Location = new System.Drawing.Point(376, 24);
			this._browse.Name = "_browse";
			this._browse.Size = new System.Drawing.Size(75, 23);
			this._browse.TabIndex = 1;
			this._browse.Text = "Browse...";
			this._browse.Click += new System.EventHandler(this._browse_Click);
			// 
			// _localpath
			// 
			this._localpath.Location = new System.Drawing.Point(72, 24);
			this._localpath.Name = "_localpath";
			this._localpath.Size = new System.Drawing.Size(296, 21);
			this._localpath.TabIndex = 0;
			this._tooltip.SetToolTip(this._localpath, "The path where the files to deploy are stored. Relative paths will be calculated " +
		"from the location of the project file.");
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(8, 24);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(56, 23);
			this.label2.TabIndex = 1;
			this.label2.Text = "Local path";
			this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// Destinations
			// 
			this.Destinations.Controls.Add(this._destinationsView);
			this.Destinations.Location = new System.Drawing.Point(4, 22);
			this.Destinations.Name = "Destinations";
			this.Destinations.Size = new System.Drawing.Size(192, 74);
			this.Destinations.TabIndex = 6;
			this.Destinations.Text = "Destinations";
			this.Destinations.UseVisualStyleBackColor = true;
			// 
			// _destinationsView
			// 
			this._destinationsView.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this._destinationsView.Location = new System.Drawing.Point(8, 8);
			this._destinationsView.Name = "_destinationsView";
			this._destinationsView.Project = null;
			this._destinationsView.Size = new System.Drawing.Size(746, 472);
			this._destinationsView.TabIndex = 0;
			// 
			// Filters
			// 
			this.Filters.Controls.Add(this._filtersView);
			this.Filters.Location = new System.Drawing.Point(4, 22);
			this.Filters.Name = "Filters";
			this.Filters.Size = new System.Drawing.Size(192, 74);
			this.Filters.TabIndex = 7;
			this.Filters.Text = "Filters";
			this.Filters.UseVisualStyleBackColor = true;
			// 
			// _filtersView
			// 
			this._filtersView.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this._filtersView.Location = new System.Drawing.Point(8, 8);
			this._filtersView.Name = "_filtersView";
			this._filtersView.Project = null;
			this._filtersView.Size = new System.Drawing.Size(746, 472);
			this._filtersView.TabIndex = 0;
			// 
			// Hooks
			// 
			this.Hooks.Controls.Add(this._hooksView);
			this.Hooks.Location = new System.Drawing.Point(4, 22);
			this.Hooks.Name = "Hooks";
			this.Hooks.Size = new System.Drawing.Size(192, 74);
			this.Hooks.TabIndex = 8;
			this.Hooks.Text = "Hooks";
			this.Hooks.UseVisualStyleBackColor = true;
			// 
			// _hooksView
			// 
			this._hooksView.Location = new System.Drawing.Point(8, 8);
			this._hooksView.Name = "_hooksView";
			this._hooksView.Size = new System.Drawing.Size(746, 472);
			this._hooksView.TabIndex = 0;
			// 
			// Timestamp
			// 
			this.Timestamp.Controls.Add(this._timestampView);
			this.Timestamp.Location = new System.Drawing.Point(4, 22);
			this.Timestamp.Name = "Timestamp";
			this.Timestamp.Size = new System.Drawing.Size(192, 74);
			this.Timestamp.TabIndex = 5;
			this.Timestamp.Text = "Timestamp";
			this.Timestamp.UseVisualStyleBackColor = true;
			// 
			// _timestampView
			// 
			this._timestampView.Location = new System.Drawing.Point(8, 8);
			this._timestampView.Name = "_timestampView";
			this._timestampView.Project = null;
			this._timestampView.Size = new System.Drawing.Size(746, 472);
			this._timestampView.TabIndex = 0;
			// 
			// Database
			// 
			this.Database.Controls.Add(this.groupBox6);
			this.Database.Controls.Add(this.groupBox5);
			this.Database.Location = new System.Drawing.Point(4, 22);
			this.Database.Name = "Database";
			this.Database.Size = new System.Drawing.Size(192, 74);
			this.Database.TabIndex = 3;
			this.Database.Text = "Database";
			this.Database.UseVisualStyleBackColor = true;
			// 
			// groupBox6
			// 
			this.groupBox6.Controls.Add(this.label6);
			this.groupBox6.Controls.Add(this._destinationdbname);
			this.groupBox6.Controls.Add(this._destinationdburl);
			this.groupBox6.Controls.Add(this.label7);
			this.groupBox6.Location = new System.Drawing.Point(8, 104);
			this.groupBox6.Name = "groupBox6";
			this.groupBox6.Size = new System.Drawing.Size(464, 88);
			this.groupBox6.TabIndex = 1;
			this.groupBox6.TabStop = false;
			this.groupBox6.Text = "Destination database";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(8, 24);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(88, 23);
			this.label6.TabIndex = 5;
			this.label6.Text = "Name";
			this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// _destinationdbname
			// 
			this._destinationdbname.Location = new System.Drawing.Point(104, 24);
			this._destinationdbname.Name = "_destinationdbname";
			this._destinationdbname.Size = new System.Drawing.Size(352, 21);
			this._destinationdbname.TabIndex = 3;
			// 
			// _destinationdburl
			// 
			this._destinationdburl.Location = new System.Drawing.Point(104, 48);
			this._destinationdburl.Name = "_destinationdburl";
			this._destinationdburl.Size = new System.Drawing.Size(352, 21);
			this._destinationdburl.TabIndex = 2;
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(8, 48);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(88, 23);
			this.label7.TabIndex = 4;
			this.label7.Text = "Webservice URL";
			this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.Add(this.label4);
			this.groupBox5.Controls.Add(this._sourcedbname);
			this.groupBox5.Controls.Add(this._sourcedburl);
			this.groupBox5.Controls.Add(this.label5);
			this.groupBox5.Location = new System.Drawing.Point(8, 8);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(464, 88);
			this.groupBox5.TabIndex = 0;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "Source database";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 24);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(88, 23);
			this.label4.TabIndex = 1;
			this.label4.Text = "Name";
			this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// _sourcedbname
			// 
			this._sourcedbname.Location = new System.Drawing.Point(104, 24);
			this._sourcedbname.Name = "_sourcedbname";
			this._sourcedbname.Size = new System.Drawing.Size(352, 21);
			this._sourcedbname.TabIndex = 0;
			// 
			// _sourcedburl
			// 
			this._sourcedburl.Location = new System.Drawing.Point(104, 48);
			this._sourcedburl.Name = "_sourcedburl";
			this._sourcedburl.Size = new System.Drawing.Size(352, 21);
			this._sourcedburl.TabIndex = 0;
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(8, 48);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(88, 23);
			this.label5.TabIndex = 1;
			this.label5.Text = "Webservice URL";
			this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// StoredProcedures
			// 
			this.StoredProcedures.Controls.Add(this.groupBox7);
			this.StoredProcedures.Location = new System.Drawing.Point(4, 22);
			this.StoredProcedures.Name = "StoredProcedures";
			this.StoredProcedures.Size = new System.Drawing.Size(192, 74);
			this.StoredProcedures.TabIndex = 4;
			this.StoredProcedures.Text = "Stored procedures";
			this.StoredProcedures.UseVisualStyleBackColor = true;
			// 
			// groupBox7
			// 
			this.groupBox7.Controls.Add(this.label8);
			this.groupBox7.Controls.Add(this._excludeProcedures);
			this.groupBox7.Location = new System.Drawing.Point(8, 8);
			this.groupBox7.Name = "groupBox7";
			this.groupBox7.Size = new System.Drawing.Size(464, 288);
			this.groupBox7.TabIndex = 3;
			this.groupBox7.TabStop = false;
			this.groupBox7.Text = "Exclude stored procedures";
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(8, 24);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(448, 32);
			this.label8.TabIndex = 3;
			this.label8.Text = "Stored procedures matching any expression in the list below will not be included " +
	"in deployment.";
			// 
			// _excludeProcedures
			// 
			this._excludeProcedures.CaptionVisible = false;
			this._excludeProcedures.DataMember = "";
			this._excludeProcedures.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this._excludeProcedures.Location = new System.Drawing.Point(8, 56);
			this._excludeProcedures.Name = "_excludeProcedures";
			this._excludeProcedures.Size = new System.Drawing.Size(448, 224);
			this._excludeProcedures.TabIndex = 0;
			// 
			// _cancel
			// 
			this._cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this._cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this._cancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this._cancel.Location = new System.Drawing.Point(707, 533);
			this._cancel.Name = "_cancel";
			this._cancel.Size = new System.Drawing.Size(75, 23);
			this._cancel.TabIndex = 1;
			this._cancel.Text = "Cancel";
			this._cancel.Click += new System.EventHandler(this._cancel_Click);
			// 
			// _ok
			// 
			this._ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this._ok.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this._ok.Location = new System.Drawing.Point(627, 533);
			this._ok.Name = "_ok";
			this._ok.Size = new System.Drawing.Size(75, 23);
			this._ok.TabIndex = 1;
			this._ok.Text = "OK";
			this._ok.Click += new System.EventHandler(this._ok_Click);
			// 
			// _tooltip
			// 
			this._tooltip.AutoPopDelay = 10000;
			this._tooltip.InitialDelay = 200;
			this._tooltip.ReshowDelay = 100;
			// 
			// ProjectSettingsForm
			// 
			this.AcceptButton = this._ok;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
			this.CancelButton = this._cancel;
			this.ClientSize = new System.Drawing.Size(794, 568);
			this.ControlBox = false;
			this.Controls.Add(this._cancel);
			this.Controls.Add(this.tabControl1);
			this.Controls.Add(this._ok);
			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.Name = "ProjectSettingsForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Project Settings";
			this.Load += new System.EventHandler(this.ProjectSettingsForm_Load);
			this.tabControl1.ResumeLayout(false);
			this.General.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			this.Destinations.ResumeLayout(false);
			this.Filters.ResumeLayout(false);
			this.Hooks.ResumeLayout(false);
			this.Timestamp.ResumeLayout(false);
			this.Database.ResumeLayout(false);
			this.groupBox6.ResumeLayout(false);
			this.groupBox6.PerformLayout();
			this.groupBox5.ResumeLayout(false);
			this.groupBox5.PerformLayout();
			this.StoredProcedures.ResumeLayout(false);
			this.groupBox7.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this._excludeProcedures)).EndInit();
			this.ResumeLayout(false);

		}
コード例 #16
0
		/// <summary>
		/// Changes in the columns, items or subitems
		/// </summary>
		/// <param name="ctType"></param>
		/// <param name="column"></param>
		/// <param name="item"></param>
		/// <param name="subItem"></param>
		public ChangedEventArgs( ChangedTypes ctType, GLColumn column, GLItem item, GLSubItem subItem )
		{
			m_Column = column;
			m_Item = item;
			m_SubItem = subItem;

			m_ctType = ctType;
		}
コード例 #17
0
		/// <summary>
		/// Add a column to collection
		/// </summary>
		/// <param name="newColumn"></param>
		public void Add( GLColumn newColumn )
		{
			newColumn.Parent = Parent;

			//item.ChangedEvent += new BSLItem.ChangedEventHandler( BSLItem_Changed );				// listen to event changes inside the item
			newColumn.ChangedEvent += new ChangedEventHandler( GLColumn_Changed );

			while ( GetColumnIndex( newColumn.Name ) != -1 )
				newColumn.Name += "x";					// change the name till it is not the same

			int nIndex = List.Add( newColumn );

			if ( ChangedEvent != null )
				ChangedEvent( this, new ChangedEventArgs( ChangedTypes.ColumnCollectionChanged, newColumn, null, null ) );				// fire the column clicked event
		}