示例#1
2
        public static GridView AddcolumnWithHyperLink(this GridView grv, string header_text, string display_text, EventHandler action_click, int min_width = 55, int max_width = 65)
        {
            RepositoryItemHyperLinkEdit rep_colHyperLink = new RepositoryItemHyperLinkEdit();

            rep_colHyperLink.AutoHeight = false;
            rep_colHyperLink.Name       = $"rep_colHyperLink{grv.Columns.Count}";
            rep_colHyperLink.NullText   = display_text;
            rep_colHyperLink.Click     += action_click;

            GridColumn colHyperLink = new GridColumn();

            colHyperLink.Caption = header_text;
            colHyperLink.AppearanceCell.Options.UseTextOptions = true;
            colHyperLink.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            colHyperLink.ColumnEdit   = rep_colHyperLink;
            colHyperLink.Fixed        = FixedStyle.Right;
            colHyperLink.MaxWidth     = min_width;
            colHyperLink.MinWidth     = max_width;
            colHyperLink.Name         = $"colcolHyperLink{grv.Columns.Count}";
            colHyperLink.Visible      = true;
            colHyperLink.VisibleIndex = grv.Columns.Count;
            colHyperLink.Width        = 35;

            grv.Columns.Add(colHyperLink);
            return(grv);
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();
            // This line of code is generated by Data Source Configuration Wizard
            courseDemoTableAdapter1.Fill(courseDemoDataSet1.CourseDemo);

            GridColumn hyperLinkColumn = (gridControl1.Views[0] as GridView).Columns["Link"];
            //...
            RepositoryItemHyperLinkEdit hyperLinkEdit = new RepositoryItemHyperLinkEdit();
            hyperLinkColumn.ColumnEdit = hyperLinkEdit; // this line associated hyperlink with column
            hyperLinkEdit.OpenLink += hyperLinkEdit_OpenLink;
            hyperLinkEdit.Click += hyperLinkEdit_Click;

            GridColumn statusColumn = (gridControl1.Views[0] as GridView).Columns["Status"];

            //GridColumn imageLinkColumn = (gridControl1.Views[0] as GridView).Columns["ImageLink"];

            //System.Net.WebClient webSource = new System.Net.WebClient();
            //byte[] data = webSource.DownloadData("http://www.expatax.nl/calculations/grosstonet/image002.png");
            //System.IO.MemoryStream pipe = new System.IO.MemoryStream(data);
            //Image jpgImage = Image.FromStream(pipe);

            //imageLinkColumn.Image = jpgImage;

            //...
        }
        public Form1()
        {
            InitializeComponent();

            InplaceEditorInfo checkInfo = new InplaceEditorInfo(new RepositoryItemCheckEdit(), new Size(20, 20), true);

            checkInfo.MouseDown += checkInfo_MouseDown;
            RepositoryItemButtonEdit riBE       = new RepositoryItemButtonEdit();
            InplaceEditorInfo        buttonInfo = new InplaceEditorInfo(riBE, new Size(30, 20), null);

            riBE.TextEditStyle      = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
            riBE.Buttons[0].Kind    = DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph;
            riBE.Buttons[0].Caption = "Test";
            riBE.AutoHeight         = false;
            buttonInfo.MouseDown   += buttonInfo_MouseDown;
            buttonInfo.RightIndent  = 25;
            RepositoryItemHyperLinkEdit riHE          = new RepositoryItemHyperLinkEdit();
            InplaceEditorInfo           hyperLinkInfo = new InplaceEditorInfo(riHE, new Size(120, 20), "http://devexpress.com/");

            hyperLinkInfo.RightIndent = 60;
            riHE.BorderStyle          = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            hyperLinkInfo.MouseDown  += new EventHandler(hyperLinkInfo_MouseDown);
            myLayoutControl1.TabGroupItems.Add(tabbedControlGroup1, new InplaceEditorInfo[] { checkInfo, buttonInfo, hyperLinkInfo });
            InplaceEditorInfo progressBarInfo = new InplaceEditorInfo(new RepositoryItemProgressBar(), new Size(40, 20), 10);

            progressBarInfo.MouseDown += progressBarInfo_MouseDown;
            checkInfo             = new InplaceEditorInfo(new RepositoryItemCheckEdit(), new Size(20, 20), true);
            checkInfo.MouseDown  += checkInfo_MouseDown;
            checkInfo.RightIndent = 40;
            myLayoutControl1.TabGroupItems.Add(tabbedControlGroup2, new InplaceEditorInfo[] { progressBarInfo, checkInfo });
        }
示例#4
0
 public TemplateView(IImageListRetriever imageListRetriever, Shell shell)
     : base(shell)
 {
     _imageListRetriever = imageListRetriever;
     InitializeComponent();
     _gridViewBinder                  = new GridViewBinder <TemplateDTO>(gridView);
     gridView.MultiSelect             = true;
     gridView.OptionsView.ShowPreview = true;
     gridView.OptionsView.AutoCalcPreviewLineCount = true;
     gridView.ShouldUseColorForDisabledCell        = false;
     // Prevent the focused cell from being highlighted.
     gridView.OptionsSelection.EnableAppearanceFocusedCell = false;
     // Draw a dotted focus rectangle around the entire row.
     gridView.FocusRectStyle    = DrawFocusRectStyle.None;
     gridView.GroupFormat       = "[#image]{1}";
     gridView.ShowingEditor    += (o, e) => OnEvent(onShowingEditor, o, e);
     gridView.EndGrouping      += (o, e) => gridView.ExpandAllGroups();
     gridView.SelectionChanged += (o, e) => OnEvent(onGridViewSelectionChanged);
     toolTipController.Initialize(imageListRetriever);
     _disabledRepository = new RepositoryItemTextEdit {
         Enabled = false, ReadOnly = true
     };
     _editRemoveRepository = createEditRemoveButtonRepository();
     _urlRepository        = new RepositoryItemHyperLinkEdit {
         TextEditStyle = TextEditStyles.DisableTextEditor, SingleClick = true
     };
     lblDescription.AsDescription();
     gridView.PopupMenuShowing += (o, e) => OnEvent(onPopupMenuShowing, o, e);
 }
示例#5
0
        public Form1()
        {
            InitializeComponent();
            // This line of code is generated by Data Source Configuration Wizard
            courseDemoTableAdapter1.Fill(courseDemoDataSet1.CourseDemo);



            GridColumn hyperLinkColumn = (gridControl1.Views[0] as GridView).Columns["Link"];
            //...
            RepositoryItemHyperLinkEdit hyperLinkEdit = new RepositoryItemHyperLinkEdit();

            hyperLinkColumn.ColumnEdit = hyperLinkEdit; // this line associated hyperlink with column
            hyperLinkEdit.OpenLink    += hyperLinkEdit_OpenLink;
            hyperLinkEdit.Click       += hyperLinkEdit_Click;

            GridColumn statusColumn = (gridControl1.Views[0] as GridView).Columns["Status"];


            //GridColumn imageLinkColumn = (gridControl1.Views[0] as GridView).Columns["ImageLink"];

            //System.Net.WebClient webSource = new System.Net.WebClient();
            //byte[] data = webSource.DownloadData("http://www.expatax.nl/calculations/grosstonet/image002.png");
            //System.IO.MemoryStream pipe = new System.IO.MemoryStream(data);
            //Image jpgImage = Image.FromStream(pipe);



            //imageLinkColumn.Image = jpgImage;

            //...
        }
示例#6
0
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            try
            {
                this.Invoke((MethodInvoker) delegate
                {
                    gridView1.Columns.Clear();

                    gridControl1.DataSource = GetData(ckItem.Checked, ckLoc.Checked);
                    gridView1.BestFitColumns();
                    gridView1.Columns["厂家"].Width = 120;
                    gridView1.Columns["厂家"].SummaryItem.SummaryType   = SummaryItemType.Count;
                    gridView1.Columns["厂家"].SummaryItem.DisplayFormat = "共 {0:f0} 条记录";

                    gridView1.Columns["STOCK"].Width = 70;
                    gridView1.Columns["STOCK"].SummaryItem.SummaryType   = SummaryItemType.Sum;
                    gridView1.Columns["STOCK"].SummaryItem.DisplayFormat = "{0:f0}";

                    gridView1.Columns["TRANSIT"].Width = 70;
                    gridView1.Columns["TRANSIT"].SummaryItem.SummaryType   = SummaryItemType.Sum;
                    gridView1.Columns["TRANSIT"].SummaryItem.DisplayFormat = "{0:f0}";

                    gridView1.Columns["INPUT"].Width = 70;
                    gridView1.Columns["INPUT"].SummaryItem.SummaryType   = SummaryItemType.Sum;
                    gridView1.Columns["INPUT"].SummaryItem.DisplayFormat = "{0:f0}";

                    RepositoryItemHyperLinkEdit linkStock   = new RepositoryItemHyperLinkEdit();
                    RepositoryItemHyperLinkEdit linkTransit = new RepositoryItemHyperLinkEdit();
                    RepositoryItemHyperLinkEdit linkInput   = new RepositoryItemHyperLinkEdit();

                    linkStock.LinkColor   = Color.Maroon;
                    linkTransit.LinkColor = Color.Maroon;
                    linkInput.LinkColor   = Color.Maroon;

                    linkStock.OpenLink   += link_OpenLink;
                    linkTransit.OpenLink += link_OpenLink;
                    linkInput.OpenLink   += link_OpenLink;

                    gridView1.Columns["STOCK"].ColumnEdit   = linkStock;
                    gridView1.Columns["TRANSIT"].ColumnEdit = linkTransit;
                    gridView1.Columns["INPUT"].ColumnEdit   = linkInput;

                    gridView1.Columns["厂家"].OptionsColumn.AllowEdit = false;
                    gridView1.Columns["单位"].OptionsColumn.AllowEdit = false;
                    if (gridView1.Columns.Contains(gridView1.Columns["材料编号"]))
                    {
                        gridView1.Columns["材料编号"].OptionsColumn.AllowEdit = false;
                    }
                    if (gridView1.Columns.Contains(gridView1.Columns["位置"]))
                    {
                        gridView1.Columns["位置"].OptionsColumn.AllowEdit = false;
                    }
                });
            }
            catch (Exception btnApply_Click)
            {
                XtraMessageBox.Show(this, "System error[btnApply_Click]: " + btnApply_Click.Message);
            }
        }
示例#7
0
 private void FormLoad()
 {
     var dataTable = Dev2Interface.DB_GenerCanStartFlowsOfDataTable(WebUser.No);
     gcFlowControl.DataSource = dataTable;
     RepositoryItemHyperLinkEdit repHyperLink = new RepositoryItemHyperLinkEdit();
     gcFlowControl.RepositoryItems.Add(repHyperLink);
     gvFlow.Columns["Map"].ColumnEdit = repHyperLink;
     repHyperLink.LinkColor = Color.Maroon;
     repHyperLink.NullText = "查看";
 }
示例#8
0
        private void configGrid()
        {
            grdSelection.Visible = true;
            var view = grdSelection.MainView as GridView;

            if (view == null)
            {
                return;
            }

            view.OptionsView.ShowGroupPanel = false;
            view.OptionsBehavior.Editable   = true; // must be set to true to support hyper link for gene id.

            view.Columns[DatabaseConfiguration.ProteinColumns.COL_ID].Visible = false;
            foreach (GridColumn col in view.Columns)
            {
                switch (col.FieldName)
                {
                case DatabaseConfiguration.ProteinColumns.COL_GENE_ID:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_GENE_ID;
                    break;

                case DatabaseConfiguration.ProteinColumns.COL_GENE_NAME:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_GENE_NAME;
                    break;

                case DatabaseConfiguration.ProteinColumns.COL_ID:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_ID;
                    break;

                case DatabaseConfiguration.ProteinColumns.COL_NAME_TYPE:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_NAME_TYPE;
                    break;

                case DatabaseConfiguration.ProteinColumns.COL_OFFICIAL_FULL_NAME:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_OFFICIAL_FULL_NAME;
                    break;

                case DatabaseConfiguration.ProteinColumns.COL_SYMBOL:
                    col.Caption = PKSimConstants.ProteinExpressions.ColumnCaptions.ProteinSelection.COL_SYMBOL;
                    break;
                }

                // must be set to true for Gene ID column to support hyper link.
                col.OptionsColumn.AllowEdit = (col.FieldName == DatabaseConfiguration.ProteinColumns.COL_GENE_ID);
            }
            view.Columns[DatabaseConfiguration.ProteinColumns.HAS_DATA].Visible = false;

            var hyperLinkEditor = new RepositoryItemHyperLinkEdit();

            hyperLinkEditor.ReadOnly    = true;
            hyperLinkEditor.SingleClick = true; //means you need just a single click to open url.
            hyperLinkEditor.OpenLink   += onOpenLink;
            view.Columns[DatabaseConfiguration.ProteinColumns.COL_GENE_ID].ColumnEdit = hyperLinkEditor;
        }
示例#9
0
        /// <summary>
        /// 创建GridView的列编辑为HyperLinkEdit
        /// </summary>
        /// <param name="gridColumn">GridColumn列对象</param>
        /// <returns></returns>
        public static RepositoryItemHyperLinkEdit CreateHyperLinkEdit(this GridColumn gridColumn)
        {
            RepositoryItemHyperLinkEdit repositoryItem = new RepositoryItemHyperLinkEdit
            {
                AutoHeight = false
            };

            gridColumn.View.GridControl.RepositoryItems.Add(repositoryItem);
            gridColumn.ColumnEdit = repositoryItem;
            return(repositoryItem);
        }
示例#10
0
        public static RepositoryItemHyperLinkEdit CreateTreeHyperLinkEdit(this TreeListColumn treeColumn)
        {
            RepositoryItemHyperLinkEdit repositoryItem = new RepositoryItemHyperLinkEdit
            {
                AutoHeight = false
            };

            treeColumn.TreeList.RepositoryItems.Add(repositoryItem);
            treeColumn.ColumnEdit = repositoryItem;
            return(repositoryItem);
        }
示例#11
0
        private void FormLoad()
        {
            var dataTable = Dev2Interface.DB_GenerCanStartFlowsOfDataTable(WebUser.No);

            gcFlowControl.DataSource = dataTable;
            RepositoryItemHyperLinkEdit repHyperLink = new RepositoryItemHyperLinkEdit();

            gcFlowControl.RepositoryItems.Add(repHyperLink);
            gvFlow.Columns["Map"].ColumnEdit = repHyperLink;
            repHyperLink.LinkColor           = Color.Maroon;
            repHyperLink.NullText            = "查看";
        }
示例#12
0
        protected override void SetupRepositoryItem(RepositoryItem item)
        {
            base.SetupRepositoryItem(item);
            RepositoryItemHyperLinkEdit hyperLinkProperties = (RepositoryItemHyperLinkEdit)item;

            hyperLinkProperties.SingleClick   = View is ListView;
            hyperLinkProperties.TextEditStyle = TextEditStyles.Standard;
            hyperLinkProperties.OpenLink     += hyperLinkProperties_OpenLink;
            EditMaskType = EditMaskType.RegEx;
            hyperLinkProperties.Mask.MaskType = MaskType.RegEx;
            hyperLinkProperties.Mask.EditMask = UrlEmailMask;
        }
示例#13
0
        private void GridView_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            GridView    gv = (GridView)sender;
            GridHitInfo hi = gv.CalcHitInfo(new Point(e.X, e.Y));

            if (hi.InRowCell)
            {
                RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit = hi.Column.ColumnEdit as RepositoryItemHyperLinkEdit;
                if (repositoryItemHyperLinkEdit != null)
                {
                    HyperLinkEdit editor = (HyperLinkEdit)repositoryItemHyperLinkEdit.CreateEditor();
                    editor.ShowBrowser(WinHyperLinkStringPropertyEditor.GetResolvedUrl(gv.GetRowCellValue(hi.RowHandle, hi.Column)));
                }
            }
        }
示例#14
0
        private void ConfigGridView()
        {
            if (!DesignMode)
            {
                if (_gridControl == null)
                {
                    return;
                }
                DSCommon.SetGridControl(_gridControl);
                DSCommon.SetGridControlColumnsBind(_gridControl, _columnBind);

                #region 添加编辑删除按钮
                GridView mainView = (GridView)_gridControl.MainView;
                if (!BrowseMode && !ChooseMode)
                {
                    if (HasEdit)
                    {
                        RepositoryItemHyperLinkEdit linkEdit = new RepositoryItemHyperLinkEdit();
                        GridColumn gc_edit = new GridColumn();
                        gc_edit.Caption    = "编辑";
                        gc_edit.Name       = "gc_edit";
                        gc_edit.FieldName  = "edit";
                        gc_edit.ColumnEdit = linkEdit;
                        gc_edit.Width      = 32;
                        gc_edit.OptionsColumn.FixedWidth = true;
                        gc_edit.Visible = true;
                        mainView.Columns.Add(gc_edit);
                    }
                    if (HasDel)
                    {
                        RepositoryItemHyperLinkEdit linkDel = new RepositoryItemHyperLinkEdit();
                        GridColumn gc_del = new GridColumn();
                        gc_del.Caption    = "删除";
                        gc_del.Name       = "gc_del";
                        gc_del.FieldName  = "del";
                        gc_del.ColumnEdit = linkDel;
                        gc_del.Width      = 32;
                        gc_del.OptionsColumn.FixedWidth = true;
                        gc_del.Visible = true;
                        mainView.Columns.Add(gc_del);
                    }
                }
                #endregion

                //单元格点击事件
                mainView.RowCellClick += (object sender, RowCellClickEventArgs e) => OnRowCellClick(e);
            }
        }
示例#15
0
 /// <summary>
 /// 根据列名和控件,构建linkButton
 /// </summary>
 /// <param name="gridView">表格控件</param>
 /// <param name="ColumnName">列</param>
 /// <returns></returns>
 public static RepositoryItemHyperLinkEdit SetGridViewColumnLinkBtn(GridView gridView, string ColumnName)
 {
     try
     {
         RepositoryItemHyperLinkEdit repositoryItemLookUpEdit1 = new RepositoryItemHyperLinkEdit();
         repositoryItemLookUpEdit1.AutoHeight = false;
         repositoryItemLookUpEdit1.Name       = "repositoryItemLookUpEdit1";
         if (!string.IsNullOrEmpty(ColumnName))
         {
             gridView.Columns[ColumnName].ColumnEdit = repositoryItemLookUpEdit1;
         }
         return(repositoryItemLookUpEdit1);
     }
     catch (Exception ex)
     {
         string error = ex.Message;
         return(null);
     }
 }
示例#16
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            RepositoryItemHyperLinkEdit linkEdit = new RepositoryItemHyperLinkEdit();

            linkEdit.Click += linkEdit_Click;
            TreeListColumn gc_edit = new TreeListColumn();

            gc_edit.Caption    = "编辑";
            gc_edit.Name       = "gc_edit";
            gc_edit.FieldName  = "edit";
            gc_edit.ColumnEdit = linkEdit;
            gc_edit.Width      = 32;
            gc_edit.OptionsColumn.FixedWidth = true;
            gc_edit.OptionsColumn.AllowEdit  = true;
            gc_edit.VisibleIndex             = 3;
            RepositoryItemHyperLinkEdit linkDel = new RepositoryItemHyperLinkEdit();

            linkDel.Click += linkDel_Click;
            TreeListColumn gc_del = new TreeListColumn();

            gc_del.Caption    = "删除";
            gc_del.Name       = "gc_del";
            gc_del.FieldName  = "del";
            gc_del.ColumnEdit = linkDel;
            gc_del.Width      = 32;
            gc_del.OptionsColumn.FixedWidth = true;
            gc_del.OptionsColumn.AllowEdit  = true;
            gc_del.VisibleIndex             = 4;

            TreeListColumn[] tcs = { gc_edit, gc_del };
            treeList1.Columns.AddRange(tcs);
            treeList1.KeyFieldName     = "dpt_id";
            treeList1.ParentFieldName  = "dpt_parent";
            treeList1.PreviewFieldName = "dpt_name";
        }
示例#17
0
        public static GridView AddDeleteRowButton(this GridView grv, EventHandler action_xoa)
        {
            RepositoryItemHyperLinkEdit rep_colXoa = new RepositoryItemHyperLinkEdit();

            rep_colXoa.AutoHeight = false;
            rep_colXoa.Name       = "rep_colXoa";
            rep_colXoa.NullText   = "Xóa";
            rep_colXoa.Click     += action_xoa;

            DevExpress.XtraGrid.Columns.GridColumn colXoa = new DevExpress.XtraGrid.Columns.GridColumn();
            colXoa.AppearanceCell.Options.UseTextOptions = true;
            colXoa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            colXoa.ColumnEdit   = rep_colXoa;
            colXoa.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Right;
            colXoa.MaxWidth     = 35;
            colXoa.MinWidth     = 35;
            colXoa.Name         = "colXoa";
            colXoa.Visible      = true;
            colXoa.VisibleIndex = grv.Columns.Count;
            colXoa.Width        = 35;

            grv.Columns.Add(colXoa);
            return(grv);
        }
示例#18
0
        /// <summary>
        /// 设置设备显示列
        /// </summary>
        public override void InitColumns()
        {
            GridColumn column = gridView1.Columns.Add();

            column.Caption                 = "电厂名称";
            column.FieldName               = "Title";
            column.Width                   = 100;
            column.VisibleIndex            = 1;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "电压等级";
            column.FieldName               = "S1";
            column.Width                   = 100;
            column.VisibleIndex            = 2;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "总容量";
            column.FieldName               = "S2";
            column.Width                   = 100;
            column.VisibleIndex            = 3;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "容量构成";
            column.FieldName               = "S18";
            column.Width                   = 100;
            column.VisibleIndex            = 4;
            column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "开工年份";
            column.FieldName               = "S29";
            column.Width                   = 100;
            column.VisibleIndex            = 5;
            column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "投产年份";
            column.FieldName               = "S3";
            column.Width                   = 100;
            column.VisibleIndex            = 5;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "退役年份";
            column.FieldName               = "S30";
            column.Width                   = 100;
            column.VisibleIndex            = 6;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "分区名称";
            column.FieldName               = "S9";
            column.Width                   = 100;
            column.VisibleIndex            = 7;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "电厂类型";
            column.FieldName               = "S10";
            column.Width                   = 100;
            column.VisibleIndex            = 8;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "发电量";
            column.FieldName               = "S11";
            column.Width                   = 100;
            column.VisibleIndex            = 9;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "发电利用小时数";
            column.FieldName               = "S12";
            column.Width                   = 100;
            column.VisibleIndex            = 10;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "厂用电量";
            column.FieldName               = "S13";
            column.Width                   = 100;
            column.VisibleIndex            = 11;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "是否统调";
            column.FieldName               = "S14";
            column.Width                   = 100;
            column.VisibleIndex            = 12;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "公用自备";
            column.FieldName               = "S8";
            column.Width                   = 100;
            column.VisibleIndex            = 13;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "停产年份";
            //column.FieldName = "L12";
            //column.Width = 100;
            //column.VisibleIndex = 5;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "状态";
            //column.FieldName = "flag_";
            //column.Width = 100;
            //column.VisibleIndex = 6;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "分区类型";
            //column.FieldName = "S5";
            //column.Width = 100;
            //column.VisibleIndex = 7;
            //column.OptionsColumn.AllowEdit = false;

            column              = gridView1.Columns.Add();
            column.Caption      = "查看";
            column.FieldName    = "AreaID";
            column.Width        = 100;
            column.VisibleIndex = 14;
            // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();

            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption    = "站内详情";
            repositoryItemHyperLinkEdit1.Name       = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click     += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);

            column.ColumnEdit = repositoryItemHyperLinkEdit1;
        }
示例#19
0
        /// <summary>
        /// �����豸��ʾ��
        /// </summary>
        public override void InitColumns()
        {
            GridColumn column = gridView1.Columns.Add();
            column.Caption = "���վ����";
            column.FieldName = "Title";
            column.Width = 100;
            column.VisibleIndex = 1;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��ѹ�ȼ�";
            column.FieldName = "L1";
            column.Width = 100;
            column.VisibleIndex = 2;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "����";
            column.FieldName = "L2";
            column.Width = 100;
            column.VisibleIndex = 3;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "L4";
            column.Width = 100;
            column.VisibleIndex = 5;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "����̨��";
            column.FieldName = "L3";
            column.Width = 100;
            column.VisibleIndex = 6;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "������";
            column.FieldName = "L10";
            column.Width = 100;
            column.VisibleIndex = 7;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "L28";
            column.Width = 100;
            column.VisibleIndex = 8;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "Ͷ�����";
            column.FieldName = "S2";
            column.Width = 100;
            column.VisibleIndex = 8;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "L29";
            column.Width = 100;
            column.VisibleIndex = 9;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "ͣ�����";
            //column.FieldName = "L12";
            //column.Width = 100;
            //column.VisibleIndex = 5;
            //column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "DQ";
            column.Width = 100;
            column.VisibleIndex = 10;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "AreaName";
            column.Width = 100;
            column.VisibleIndex = 11;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�޹�����";
            column.FieldName = "L26";
            column.Width = 100;
            column.VisibleIndex = 12;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�޹���������";
            column.FieldName = "L27";
            column.Width = 100;
            column.VisibleIndex = 13;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�鿴";
            column.FieldName = "AreaID";
            column.Width = 100;
            column.VisibleIndex = 14;
               // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();
            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption = "վ������";
            repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);

            column.ColumnEdit =repositoryItemHyperLinkEdit1;
        }
示例#20
0
        protected override void AddColumnsToGridView(string strTableName, GridView gridView)
        {
            base.AddColumnsToGridView(strTableName, gridView);
            GridColumn column = new GridColumn();

            column.Caption   = "Tên nhân viên";
            column.FieldName = "EmployeeName";
            column.OptionsColumn.AllowEdit = false;
            column.Group();
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Thứ";
            column.FieldName = "ThName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Vào/Ra";
            column.FieldName = "HRTimeKeeperCompleteInOutMode";
            column.OptionsColumn.AllowEdit = true;
            gridView.Columns.Add(column);

            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompleteTimeCheck"];
            if (column != null)
            {
                column.OptionsColumn.AllowEdit = true;
            }
            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompletesEmployeeCardNo"];
            if (column != null)
            {
                column.Group();
            }
            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompleteDate"];
            if (column != null)
            {
                column.Group();
            }
            column = gridView.Columns["HRTimeKeeperCompleteDateCheck"];
            if (column != null)
            {
                column.OptionsColumn.AllowEdit = true;
            }
            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompleteComment"];
            if (column != null)
            {
                column.OptionsColumn.AllowEdit = true;
            }
            column = new GridColumn();
            column = gridView.Columns["FK_HRDepartmentID"];
            if (column != null)
            {
                column.OptionsColumn.AllowEdit = false;
            }
            column = new GridColumn();
            column = gridView.Columns["FK_HRLevelID"];
            if (column != null)
            {
                column.OptionsColumn.AllowEdit = false;
            }

            column           = new GridColumn();
            column.Caption   = "Xóa dữ liệu";
            column.FieldName = "DiscardItem";
            RepositoryItemHyperLinkEdit rep = new RepositoryItemHyperLinkEdit();

            rep.NullText      = "Hủy";
            rep.LinkColor     = Color.Blue;
            rep.Click        += new EventHandler(rep_Click);
            column.ColumnEdit = rep;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Trùng giờ";
            column.FieldName = "SameDateTime";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            repositoryItemDateEdit = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();

            // repositoryItemDateEdit
            repositoryItemDateEdit.AutoHeight = false;
            repositoryItemDateEdit.DisplayFormat.FormatString = "HH:mm:ss";
            repositoryItemDateEdit.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
            repositoryItemDateEdit.Mask.EditMask = "HH:mm:ss";
            repositoryItemDateEdit.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime;
            repositoryItemDateEdit.Name          = "repositoryItemDateEdit1";

            column           = new GridColumn();
            column.Caption   = "Bộ phận";
            column.FieldName = "HRDepartmentRoomName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Tổ";
            column.FieldName = "HRDepartmentRoomGroupItemName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Nhóm chấm công";
            column.FieldName = "HREmployeePayrollFormulaName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Mã màu";
            column.FieldName = "RowColor";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);
        }
示例#21
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(DlgContentManager));
     this.gpgPanelMyContent = new GPGPanel();
     this.splitContainerMyContent = new SplitContainer();
     this.treeViewMyContent = new TreeView();
     this.imageListContentTypes = new ImageList(this.components);
     this.gpgLabelMyContent = new GPGLabel();
     this.tabMyContent = new SkinButton();
     this.tabDownload = new SkinButton();
     this.tabUpload = new SkinButton();
     this.gpgPanelDownload = new GPGPanel();
     this.splitContainerDownload = new SplitContainer();
     this.treeViewDownloadType = new TreeView();
     this.treeViewSavedSearches = new TreeView();
     this.skinLabel1 = new SkinLabel();
     this.skinLabel2 = new SkinLabel();
     this.gpgGroupBoxResults = new SkinGroupPanel();
     this.skinButtonSearchNext = new SkinButton();
     this.skinLabelSearchPage = new SkinLabel();
     this.dataGridSearchResults = new GPGDataGrid();
     this.gvResults = new GridView();
     this.gcDownload = new GridColumn();
     this.gcName = new GridColumn();
     this.gcOwner = new GridColumn();
     this.gcVersion = new GridColumn();
     this.gcDate = new GridColumn();
     this.gcDownloads = new GridColumn();
     this.gcRating = new GridColumn();
     this.repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
     this.repositoryItemRatingStars = new RepositoryItemPictureEdit();
     this.repositoryItemChatLink = new RepositoryItemHyperLinkEdit();
     this.repositoryItemVersionLink = new RepositoryItemHyperLinkEdit();
     this.skinButtonSearchStart = new SkinButton();
     this.skinButtonSearchPrevious = new SkinButton();
     this.gpgGroupBoxCriteria = new SkinGroupPanel();
     this.skinButtonSaveSearch = new SkinButton();
     this.skinButtonRunSearch = new SkinButton();
     this.gpgPanelSearchCriteria = new GPGPanel();
     this.skinButtonSearchType = new SkinButton();
     this.gpgLabelSearchType = new GPGLabel();
     this.gpgTextBoxSearchCreator = new GPGTextBox();
     this.gpgLabel16 = new GPGLabel();
     this.gpgTextBoxSearchName = new GPGTextBox();
     this.gpgLabel1 = new GPGLabel();
     this.gpgTextBoxSearchKeywords = new GPGTextBox();
     this.gpgLabel21 = new GPGLabel();
     this.gpgPanelUpload = new GPGPanel();
     this.splitContainerUpload = new SplitContainer();
     this.gpgLabelUploadLocations = new GPGLabel();
     this.skinLabel4 = new SkinLabel();
     this.skinLabel3 = new SkinLabel();
     this.pictureBoxRefreshUploads = new PictureBox();
     this.treeViewUpload = new TreeView();
     this.gpgGroupBoxUploadVersion = new SkinGroupPanel();
     this.gpgPanelUploadVersion = new GPGPanel();
     this.gpgTextAreaVersionNotes = new GPGTextArea();
     this.gpgLabelUploadVersionNotes = new GPGLabel();
     this.gpgLabelUploadCurrentVersion = new GPGLabel();
     this.gpgGroupBoxUploadGeneral = new SkinGroupPanel();
     this.gpgPanelUploadGeneral = new GPGPanel();
     this.skinButtonDeleteUploadDependency = new SkinButton();
     this.skinButtonUploadDependency = new SkinButton();
     this.gpgTextBoxUploadSearchKeywords = new GPGTextBox();
     this.listBoxUploadDependencies = new ListBox();
     this.gpgLabel6 = new GPGLabel();
     this.gpgLabel9 = new GPGLabel();
     this.gpgLabel27 = new GPGLabel();
     this.gpgTextBoxUploadDesc = new GPGTextBox();
     this.gpgLabelUploadLocation = new GPGLabel();
     this.gpgTextBoxUploadName = new GPGTextBox();
     this.gpgLabel25 = new GPGLabel();
     this.gpgLabel29 = new GPGLabel();
     this.skinButtonDeleteUploadVersion = new SkinButton();
     this.skinButtonDeleteUploadAll = new SkinButton();
     this.skinButtonUpload = new SkinButton();
     this.gpgLabelNoUploadSelected = new GPGLabel();
     this.tabActivity = new SkinButton();
     this.msQuickButtons = new GPGMenuStrip(this.components);
     this.btnOptions = new ToolStripMenuItem();
     this.btnHelp = new ToolStripMenuItem();
     this.btnMapDiagnose = new ToolStripMenuItem();
     this.btnMore = new ToolStripMenuItem();
     this.gpgPanel2 = new GPGPanel();
     this.gpgPanelActivity = new GPGPanel();
     this.splitContainerActivity = new SplitContainer();
     this.gpgLabel4 = new GPGLabel();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel2 = new GPGLabel();
     this.gpgPanelDownActivity = new GPGPanel();
     this.skinLabel5 = new SkinLabel();
     this.gpgLabel5 = new GPGLabel();
     this.gpgLabel7 = new GPGLabel();
     this.gpgLabel8 = new GPGLabel();
     this.gpgPanelUpActivity = new GPGPanel();
     this.skinLabel6 = new SkinLabel();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.gpgPanelMyContent.SuspendLayout();
     this.splitContainerMyContent.Panel1.SuspendLayout();
     this.splitContainerMyContent.Panel2.SuspendLayout();
     this.splitContainerMyContent.SuspendLayout();
     this.gpgPanelDownload.SuspendLayout();
     this.splitContainerDownload.Panel1.SuspendLayout();
     this.splitContainerDownload.Panel2.SuspendLayout();
     this.splitContainerDownload.SuspendLayout();
     this.gpgGroupBoxResults.SuspendLayout();
     this.dataGridSearchResults.BeginInit();
     this.gvResults.BeginInit();
     this.repositoryItemPictureEdit1.BeginInit();
     this.repositoryItemRatingStars.BeginInit();
     this.repositoryItemChatLink.BeginInit();
     this.repositoryItemVersionLink.BeginInit();
     this.gpgGroupBoxCriteria.SuspendLayout();
     this.gpgPanelSearchCriteria.SuspendLayout();
     this.gpgTextBoxSearchCreator.Properties.BeginInit();
     this.gpgTextBoxSearchName.Properties.BeginInit();
     this.gpgTextBoxSearchKeywords.Properties.BeginInit();
     this.gpgPanelUpload.SuspendLayout();
     this.splitContainerUpload.Panel1.SuspendLayout();
     this.splitContainerUpload.Panel2.SuspendLayout();
     this.splitContainerUpload.SuspendLayout();
     ((ISupportInitialize) this.pictureBoxRefreshUploads).BeginInit();
     this.gpgGroupBoxUploadVersion.SuspendLayout();
     this.gpgPanelUploadVersion.SuspendLayout();
     this.gpgTextAreaVersionNotes.Properties.BeginInit();
     this.gpgGroupBoxUploadGeneral.SuspendLayout();
     this.gpgPanelUploadGeneral.SuspendLayout();
     this.gpgTextBoxUploadSearchKeywords.Properties.BeginInit();
     this.gpgTextBoxUploadDesc.Properties.BeginInit();
     this.gpgTextBoxUploadName.Properties.BeginInit();
     this.msQuickButtons.SuspendLayout();
     this.gpgPanelActivity.SuspendLayout();
     this.splitContainerActivity.Panel1.SuspendLayout();
     this.splitContainerActivity.Panel2.SuspendLayout();
     this.splitContainerActivity.SuspendLayout();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x3c5, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgPanelMyContent.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelMyContent.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelMyContent.BorderThickness = 2;
     this.gpgPanelMyContent.Controls.Add(this.splitContainerMyContent);
     this.gpgPanelMyContent.DrawBorder = false;
     this.gpgPanelMyContent.Location = new Point(12, 110);
     this.gpgPanelMyContent.Name = "gpgPanelMyContent";
     this.gpgPanelMyContent.Size = new Size(0x3e8, 0x25a);
     base.ttDefault.SetSuperTip(this.gpgPanelMyContent, null);
     this.gpgPanelMyContent.TabIndex = 7;
     this.splitContainerMyContent.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerMyContent.BackColor = Color.DarkGray;
     this.splitContainerMyContent.Location = new Point(2, 2);
     this.splitContainerMyContent.Name = "splitContainerMyContent";
     this.splitContainerMyContent.Panel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.splitContainerMyContent.Panel1.Controls.Add(this.treeViewMyContent);
     base.ttDefault.SetSuperTip(this.splitContainerMyContent.Panel1, null);
     this.splitContainerMyContent.Panel2.AutoScroll = true;
     this.splitContainerMyContent.Panel2.BackColor = Color.Black;
     this.splitContainerMyContent.Panel2.BackgroundImage = (Image) manager.GetObject("splitContainerMyContent.Panel2.BackgroundImage");
     this.splitContainerMyContent.Panel2.Controls.Add(this.gpgLabelMyContent);
     base.ttDefault.SetSuperTip(this.splitContainerMyContent.Panel2, null);
     this.splitContainerMyContent.Size = new Size(0x3e4, 0x256);
     this.splitContainerMyContent.SplitterDistance = 0xd8;
     this.splitContainerMyContent.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerMyContent, null);
     this.splitContainerMyContent.TabIndex = 2;
     this.treeViewMyContent.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.treeViewMyContent.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewMyContent.BorderStyle = BorderStyle.None;
     this.treeViewMyContent.ForeColor = Color.White;
     this.treeViewMyContent.HideSelection = false;
     this.treeViewMyContent.ImageIndex = 0;
     this.treeViewMyContent.ImageList = this.imageListContentTypes;
     this.treeViewMyContent.Location = new Point(0, 4);
     this.treeViewMyContent.Name = "treeViewMyContent";
     this.treeViewMyContent.SelectedImageIndex = 0;
     this.treeViewMyContent.Size = new Size(0xd9, 0x252);
     base.ttDefault.SetSuperTip(this.treeViewMyContent, null);
     this.treeViewMyContent.TabIndex = 1;
     this.treeViewMyContent.AfterSelect += new TreeViewEventHandler(this.treeViewMyContent_AfterSelect);
     this.imageListContentTypes.ImageStream = (ImageListStreamer) manager.GetObject("imageListContentTypes.ImageStream");
     this.imageListContentTypes.TransparentColor = Color.Transparent;
     this.imageListContentTypes.Images.SetKeyName(0, "icon_map_sm.png");
     this.imageListContentTypes.Images.SetKeyName(1, "icon_mod_sm.png");
     this.imageListContentTypes.Images.SetKeyName(2, "icon_mag_glass_sm.png");
     this.imageListContentTypes.Images.SetKeyName(3, "icon_saved_sm.png");
     this.imageListContentTypes.Images.SetKeyName(4, "icon_my_upload_sm.png");
     this.imageListContentTypes.Images.SetKeyName(5, "icon_avail_upload_sm.png");
     this.imageListContentTypes.Images.SetKeyName(6, "icon_replay_sm.png");
     this.imageListContentTypes.Images.SetKeyName(7, "icon_missing_sm.png");
     this.imageListContentTypes.Images.SetKeyName(8, "icon_tools_sm.png");
     this.imageListContentTypes.Images.SetKeyName(9, "icon_video_sm.png");
     this.gpgLabelMyContent.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelMyContent.AutoStyle = true;
     this.gpgLabelMyContent.BackColor = Color.Transparent;
     this.gpgLabelMyContent.Dock = DockStyle.Fill;
     this.gpgLabelMyContent.Font = new Font("Arial", 9.75f);
     this.gpgLabelMyContent.ForeColor = Color.White;
     this.gpgLabelMyContent.IgnoreMouseWheel = false;
     this.gpgLabelMyContent.IsStyled = false;
     this.gpgLabelMyContent.Location = new Point(0, 0);
     this.gpgLabelMyContent.Name = "gpgLabelMyContent";
     this.gpgLabelMyContent.Size = new Size(0x30a, 0x256);
     base.ttDefault.SetSuperTip(this.gpgLabelMyContent, null);
     this.gpgLabelMyContent.TabIndex = 0;
     this.gpgLabelMyContent.Text = "gpgLabel2";
     this.gpgLabelMyContent.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelMyContent.TextStyle = TextStyles.Default;
     this.tabMyContent.AutoStyle = true;
     this.tabMyContent.BackColor = Color.Black;
     this.tabMyContent.ButtonState = 0;
     this.tabMyContent.DialogResult = DialogResult.OK;
     this.tabMyContent.DisabledForecolor = Color.Gray;
     this.tabMyContent.DrawColor = Color.White;
     this.tabMyContent.DrawEdges = true;
     this.tabMyContent.FocusColor = Color.Yellow;
     this.tabMyContent.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.tabMyContent.ForeColor = Color.White;
     this.tabMyContent.HorizontalScalingMode = ScalingModes.Tile;
     this.tabMyContent.IsStyled = true;
     this.tabMyContent.Location = new Point(0x84, 0x53);
     this.tabMyContent.Name = "tabMyContent";
     this.tabMyContent.Size = new Size(0x7a, 0x1c);
     this.tabMyContent.SkinBasePath = @"Dialog\ContentManager\TabLarge";
     base.ttDefault.SetSuperTip(this.tabMyContent, null);
     this.tabMyContent.TabIndex = 8;
     this.tabMyContent.TabStop = true;
     this.tabMyContent.Text = "<LOC>My Content";
     this.tabMyContent.TextAlign = ContentAlignment.MiddleLeft;
     this.tabMyContent.TextPadding = new Padding(6, 0, 0, 0);
     this.tabDownload.AutoStyle = true;
     this.tabDownload.BackColor = Color.Black;
     this.tabDownload.ButtonState = 0;
     this.tabDownload.DialogResult = DialogResult.OK;
     this.tabDownload.DisabledForecolor = Color.Gray;
     this.tabDownload.DrawColor = Color.White;
     this.tabDownload.DrawEdges = true;
     this.tabDownload.FocusColor = Color.Yellow;
     this.tabDownload.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.tabDownload.ForeColor = Color.White;
     this.tabDownload.HorizontalScalingMode = ScalingModes.Tile;
     this.tabDownload.IsStyled = true;
     this.tabDownload.Location = new Point(10, 0x53);
     this.tabDownload.Name = "tabDownload";
     this.tabDownload.Size = new Size(0x7a, 0x1c);
     this.tabDownload.SkinBasePath = @"Dialog\ContentManager\TabLarge";
     base.ttDefault.SetSuperTip(this.tabDownload, null);
     this.tabDownload.TabIndex = 9;
     this.tabDownload.TabStop = true;
     this.tabDownload.Text = "<LOC>Download";
     this.tabDownload.TextAlign = ContentAlignment.MiddleLeft;
     this.tabDownload.TextPadding = new Padding(6, 0, 0, 0);
     this.tabUpload.AutoStyle = true;
     this.tabUpload.BackColor = Color.Black;
     this.tabUpload.ButtonState = 0;
     this.tabUpload.DialogResult = DialogResult.OK;
     this.tabUpload.DisabledForecolor = Color.Gray;
     this.tabUpload.DrawColor = Color.White;
     this.tabUpload.DrawEdges = true;
     this.tabUpload.FocusColor = Color.Yellow;
     this.tabUpload.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.tabUpload.ForeColor = Color.White;
     this.tabUpload.HorizontalScalingMode = ScalingModes.Tile;
     this.tabUpload.IsStyled = true;
     this.tabUpload.Location = new Point(0xfe, 0x53);
     this.tabUpload.Name = "tabUpload";
     this.tabUpload.Size = new Size(0x7a, 0x1c);
     this.tabUpload.SkinBasePath = @"Dialog\ContentManager\TabLarge";
     base.ttDefault.SetSuperTip(this.tabUpload, null);
     this.tabUpload.TabIndex = 10;
     this.tabUpload.TabStop = true;
     this.tabUpload.Text = "<LOC>Upload";
     this.tabUpload.TextAlign = ContentAlignment.MiddleLeft;
     this.tabUpload.TextPadding = new Padding(6, 0, 0, 0);
     this.gpgPanelDownload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelDownload.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelDownload.BorderThickness = 2;
     this.gpgPanelDownload.Controls.Add(this.splitContainerDownload);
     this.gpgPanelDownload.DrawBorder = false;
     this.gpgPanelDownload.Location = new Point(12, 110);
     this.gpgPanelDownload.Name = "gpgPanelDownload";
     this.gpgPanelDownload.Size = new Size(0x3e8, 0x25a);
     base.ttDefault.SetSuperTip(this.gpgPanelDownload, null);
     this.gpgPanelDownload.TabIndex = 8;
     this.splitContainerDownload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerDownload.Location = new Point(2, 2);
     this.splitContainerDownload.Name = "splitContainerDownload";
     this.splitContainerDownload.Panel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.splitContainerDownload.Panel1.Controls.Add(this.treeViewDownloadType);
     this.splitContainerDownload.Panel1.Controls.Add(this.treeViewSavedSearches);
     this.splitContainerDownload.Panel1.Controls.Add(this.skinLabel1);
     this.splitContainerDownload.Panel1.Controls.Add(this.skinLabel2);
     base.ttDefault.SetSuperTip(this.splitContainerDownload.Panel1, null);
     this.splitContainerDownload.Panel2.BackgroundImage = (Image) manager.GetObject("splitContainerDownload.Panel2.BackgroundImage");
     this.splitContainerDownload.Panel2.Controls.Add(this.gpgGroupBoxResults);
     this.splitContainerDownload.Panel2.Controls.Add(this.gpgGroupBoxCriteria);
     base.ttDefault.SetSuperTip(this.splitContainerDownload.Panel2, null);
     this.splitContainerDownload.Size = new Size(0x3e4, 0x256);
     this.splitContainerDownload.SplitterDistance = 0xe1;
     this.splitContainerDownload.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerDownload, null);
     this.splitContainerDownload.TabIndex = 15;
     this.treeViewDownloadType.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.treeViewDownloadType.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewDownloadType.BorderStyle = BorderStyle.None;
     this.treeViewDownloadType.HideSelection = false;
     this.treeViewDownloadType.ImageIndex = 0;
     this.treeViewDownloadType.ImageList = this.imageListContentTypes;
     this.treeViewDownloadType.Location = new Point(0, 0x1a);
     this.treeViewDownloadType.Name = "treeViewDownloadType";
     this.treeViewDownloadType.SelectedImageIndex = 0;
     this.treeViewDownloadType.Size = new Size(0xe1, 0x80);
     base.ttDefault.SetSuperTip(this.treeViewDownloadType, null);
     this.treeViewDownloadType.TabIndex = 0;
     this.treeViewDownloadType.AfterSelect += new TreeViewEventHandler(this.treeViewDownloadType_AfterSelect);
     this.treeViewSavedSearches.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.treeViewSavedSearches.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewSavedSearches.BorderStyle = BorderStyle.None;
     this.treeViewSavedSearches.HideSelection = false;
     this.treeViewSavedSearches.ImageIndex = 0;
     this.treeViewSavedSearches.ImageList = this.imageListContentTypes;
     this.treeViewSavedSearches.Location = new Point(0, 180);
     this.treeViewSavedSearches.Name = "treeViewSavedSearches";
     this.treeViewSavedSearches.SelectedImageIndex = 0;
     this.treeViewSavedSearches.Size = new Size(0xe1, 0x1a2);
     base.ttDefault.SetSuperTip(this.treeViewSavedSearches, null);
     this.treeViewSavedSearches.TabIndex = 1;
     this.treeViewSavedSearches.AfterSelect += new TreeViewEventHandler(this.treeViewSavedSearches_AfterSelect);
     this.skinLabel1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel1.AutoStyle = false;
     this.skinLabel1.BackColor = Color.Transparent;
     this.skinLabel1.DrawEdges = true;
     this.skinLabel1.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel1.ForeColor = Color.White;
     this.skinLabel1.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel1.IsStyled = false;
     this.skinLabel1.Location = new Point(0, 0x9a);
     this.skinLabel1.Name = "skinLabel1";
     this.skinLabel1.Size = new Size(0xe1, 20);
     this.skinLabel1.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel1, null);
     this.skinLabel1.TabIndex = 15;
     this.skinLabel1.Text = "<LOC>Saved Searches";
     this.skinLabel1.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel1.TextPadding = new Padding(0);
     this.skinLabel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel2.AutoStyle = false;
     this.skinLabel2.BackColor = Color.Transparent;
     this.skinLabel2.DrawEdges = true;
     this.skinLabel2.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel2.ForeColor = Color.White;
     this.skinLabel2.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel2.IsStyled = false;
     this.skinLabel2.Location = new Point(0, 0);
     this.skinLabel2.Name = "skinLabel2";
     this.skinLabel2.Size = new Size(0xe1, 20);
     this.skinLabel2.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel2, null);
     this.skinLabel2.TabIndex = 0x10;
     this.skinLabel2.Text = "<LOC>Search For";
     this.skinLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel2.TextPadding = new Padding(0);
     this.gpgGroupBoxResults.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgGroupBoxResults.AutoStyle = false;
     this.gpgGroupBoxResults.BackColor = Color.Black;
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchNext);
     this.gpgGroupBoxResults.Controls.Add(this.skinLabelSearchPage);
     this.gpgGroupBoxResults.Controls.Add(this.dataGridSearchResults);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchStart);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchPrevious);
     this.gpgGroupBoxResults.CutCorner = false;
     this.gpgGroupBoxResults.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxResults.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxResults.IsStyled = true;
     this.gpgGroupBoxResults.Location = new Point(4, 0x7d);
     this.gpgGroupBoxResults.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxResults.Name = "gpgGroupBoxResults";
     this.gpgGroupBoxResults.Size = new Size(0x2f6, 0x1d4);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxResults, null);
     this.gpgGroupBoxResults.TabIndex = 0x10;
     this.gpgGroupBoxResults.Text = "<LOC>Search Results";
     this.gpgGroupBoxResults.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxResults.TextPadding = new Padding(8, 0, 0, 0);
     this.skinButtonSearchNext.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonSearchNext.AutoStyle = true;
     this.skinButtonSearchNext.BackColor = Color.Black;
     this.skinButtonSearchNext.ButtonState = 0;
     this.skinButtonSearchNext.DialogResult = DialogResult.OK;
     this.skinButtonSearchNext.DisabledForecolor = Color.Gray;
     this.skinButtonSearchNext.DrawColor = Color.White;
     this.skinButtonSearchNext.DrawEdges = false;
     this.skinButtonSearchNext.FocusColor = Color.Yellow;
     this.skinButtonSearchNext.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchNext.ForeColor = Color.White;
     this.skinButtonSearchNext.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchNext.IsStyled = true;
     this.skinButtonSearchNext.Location = new Point(0x2ca, 0x1ba);
     this.skinButtonSearchNext.Name = "skinButtonSearchNext";
     this.skinButtonSearchNext.Size = new Size(40, 0x16);
     this.skinButtonSearchNext.SkinBasePath = @"Controls\Button\Next_End";
     base.ttDefault.SetSuperTip(this.skinButtonSearchNext, null);
     this.skinButtonSearchNext.TabIndex = 7;
     this.skinButtonSearchNext.TabStop = true;
     this.skinButtonSearchNext.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchNext.TextPadding = new Padding(0);
     this.skinButtonSearchNext.Click += new EventHandler(this.skinButtonSearchNext_Click);
     this.skinLabelSearchPage.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinLabelSearchPage.AutoStyle = false;
     this.skinLabelSearchPage.BackColor = Color.Transparent;
     this.skinLabelSearchPage.DrawEdges = true;
     this.skinLabelSearchPage.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabelSearchPage.ForeColor = Color.White;
     this.skinLabelSearchPage.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabelSearchPage.IsStyled = false;
     this.skinLabelSearchPage.Location = new Point(0x54, 0x1ba);
     this.skinLabelSearchPage.Name = "skinLabelSearchPage";
     this.skinLabelSearchPage.Size = new Size(630, 0x16);
     this.skinLabelSearchPage.SkinBasePath = @"Controls\Background Label\BlackBar";
     base.ttDefault.SetSuperTip(this.skinLabelSearchPage, null);
     this.skinLabelSearchPage.TabIndex = 0x19;
     this.skinLabelSearchPage.Text = "<LOC>No Results";
     this.skinLabelSearchPage.TextAlign = ContentAlignment.MiddleCenter;
     this.skinLabelSearchPage.TextPadding = new Padding(0);
     this.dataGridSearchResults.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dataGridSearchResults.CustomizeStyle = false;
     this.dataGridSearchResults.EmbeddedNavigator.Name = "";
     this.dataGridSearchResults.Location = new Point(4, 0x16);
     this.dataGridSearchResults.MainView = this.gvResults;
     this.dataGridSearchResults.Name = "dataGridSearchResults";
     this.dataGridSearchResults.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemRatingStars, this.repositoryItemChatLink, this.repositoryItemPictureEdit1, this.repositoryItemVersionLink });
     this.dataGridSearchResults.ShowOnlyPredefinedDetails = true;
     this.dataGridSearchResults.Size = new Size(750, 0x1a0);
     this.dataGridSearchResults.TabIndex = 0x18;
     this.dataGridSearchResults.ViewCollection.AddRange(new BaseView[] { this.gvResults });
     this.dataGridSearchResults.DoubleClick += new EventHandler(this.dataGridSearchResults_DoubleClick);
     this.gvResults.Appearance.EvenRow.BackColor = Color.Black;
     this.gvResults.Appearance.EvenRow.Options.UseBackColor = true;
     this.gvResults.Appearance.OddRow.BackColor = Color.Black;
     this.gvResults.Appearance.OddRow.Options.UseBackColor = true;
     this.gvResults.Appearance.Preview.ForeColor = Color.Silver;
     this.gvResults.Appearance.Preview.Options.UseForeColor = true;
     this.gvResults.Appearance.SelectedRow.BackColor = Color.FromArgb(0x33, 0x33, 0x65);
     this.gvResults.Appearance.SelectedRow.BackColor2 = Color.Black;
     this.gvResults.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gvResults.Columns.AddRange(new GridColumn[] { this.gcDownload, this.gcName, this.gcOwner, this.gcVersion, this.gcDate, this.gcDownloads, this.gcRating });
     this.gvResults.GridControl = this.dataGridSearchResults;
     this.gvResults.GroupPanelText = "<LOC>Drag a column here to group by it.";
     this.gvResults.Name = "gvResults";
     this.gvResults.OptionsBehavior.Editable = false;
     this.gvResults.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gvResults.OptionsView.AutoCalcPreviewLineCount = true;
     this.gvResults.OptionsView.RowAutoHeight = true;
     this.gvResults.OptionsView.ShowPreview = true;
     this.gvResults.PreviewFieldName = "Description";
     this.gvResults.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gvResults_CustomDrawCell);
     this.gvResults.MouseDown += new MouseEventHandler(this.gvResults_MouseDown);
     this.gvResults.MouseUp += new MouseEventHandler(this.gvResults_MouseUp);
     this.gvResults.MouseMove += new MouseEventHandler(this.gvResults_MouseMove);
     this.gvResults.CalcRowHeight += new RowHeightEventHandler(this.gvResults_CalcRowHeight);
     this.gcDownload.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDownload.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownload.Caption = "<LOC>Download";
     this.gcDownload.FieldName = "Download";
     this.gcDownload.Name = "gcDownload";
     this.gcDownload.ToolTip = "<LOC>Download";
     this.gcDownload.Visible = true;
     this.gcDownload.VisibleIndex = 0;
     this.gcName.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.gcName.AppearanceCell.Options.UseFont = true;
     this.gcName.AppearanceHeader.Options.UseTextOptions = true;
     this.gcName.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcName.Caption = "<LOC>Name";
     this.gcName.FieldName = "Name";
     this.gcName.Name = "gcName";
     this.gcName.Visible = true;
     this.gcName.VisibleIndex = 1;
     this.gcOwner.AppearanceHeader.Options.UseTextOptions = true;
     this.gcOwner.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcOwner.Caption = "<LOC>Creator";
     this.gcOwner.FieldName = "OwnerName";
     this.gcOwner.Name = "gcOwner";
     this.gcOwner.Visible = true;
     this.gcOwner.VisibleIndex = 2;
     this.gcVersion.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Underline | FontStyle.Bold);
     this.gcVersion.AppearanceCell.ForeColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.gcVersion.AppearanceCell.Options.UseFont = true;
     this.gcVersion.AppearanceCell.Options.UseForeColor = true;
     this.gcVersion.AppearanceCell.Options.UseTextOptions = true;
     this.gcVersion.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcVersion.AppearanceHeader.Options.UseTextOptions = true;
     this.gcVersion.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcVersion.Caption = "<LOC>Version";
     this.gcVersion.FieldName = "Version";
     this.gcVersion.Name = "gcVersion";
     this.gcVersion.Visible = true;
     this.gcVersion.VisibleIndex = 3;
     this.gcDate.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDate.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDate.Caption = "<LOC>Date";
     this.gcDate.FieldName = "VersionDate";
     this.gcDate.Name = "gcDate";
     this.gcDate.Visible = true;
     this.gcDate.VisibleIndex = 4;
     this.gcDownloads.AppearanceCell.Options.UseTextOptions = true;
     this.gcDownloads.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownloads.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDownloads.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownloads.Caption = "<LOC>D/L";
     this.gcDownloads.FieldName = "Downloads";
     this.gcDownloads.Name = "gcDownloads";
     this.gcDownloads.Visible = true;
     this.gcDownloads.VisibleIndex = 5;
     this.gcRating.AppearanceHeader.Options.UseTextOptions = true;
     this.gcRating.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcRating.Caption = "<LOC>Rating";
     this.gcRating.ColumnEdit = this.repositoryItemPictureEdit1;
     this.gcRating.FieldName = "RatingImageSmall";
     this.gcRating.Name = "gcRating";
     this.gcRating.Visible = true;
     this.gcRating.VisibleIndex = 6;
     this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
     this.repositoryItemRatingStars.Name = "repositoryItemRatingStars";
     this.repositoryItemChatLink.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.repositoryItemChatLink.Appearance.ForeColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.repositoryItemChatLink.Appearance.Options.UseFont = true;
     this.repositoryItemChatLink.Appearance.Options.UseForeColor = true;
     this.repositoryItemChatLink.Appearance.Options.UseTextOptions = true;
     this.repositoryItemChatLink.Appearance.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.Appearance.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.Options.UseTextOptions = true;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AutoHeight = false;
     this.repositoryItemChatLink.LinkColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.repositoryItemChatLink.Name = "repositoryItemChatLink";
     this.repositoryItemChatLink.SingleClick = true;
     this.repositoryItemVersionLink.AutoHeight = false;
     this.repositoryItemVersionLink.Name = "repositoryItemVersionLink";
     this.skinButtonSearchStart.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonSearchStart.AutoStyle = true;
     this.skinButtonSearchStart.BackColor = Color.Black;
     this.skinButtonSearchStart.ButtonState = 0;
     this.skinButtonSearchStart.DialogResult = DialogResult.OK;
     this.skinButtonSearchStart.DisabledForecolor = Color.Gray;
     this.skinButtonSearchStart.DrawColor = Color.White;
     this.skinButtonSearchStart.DrawEdges = false;
     this.skinButtonSearchStart.FocusColor = Color.Yellow;
     this.skinButtonSearchStart.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchStart.ForeColor = Color.White;
     this.skinButtonSearchStart.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchStart.IsStyled = true;
     this.skinButtonSearchStart.Location = new Point(4, 0x1ba);
     this.skinButtonSearchStart.Name = "skinButtonSearchStart";
     this.skinButtonSearchStart.Size = new Size(40, 0x16);
     this.skinButtonSearchStart.SkinBasePath = @"Controls\Button\First";
     base.ttDefault.SetSuperTip(this.skinButtonSearchStart, null);
     this.skinButtonSearchStart.TabIndex = 5;
     this.skinButtonSearchStart.TabStop = true;
     this.skinButtonSearchStart.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchStart.TextPadding = new Padding(0);
     this.skinButtonSearchStart.Click += new EventHandler(this.skinButtonSearchStart_Click);
     this.skinButtonSearchPrevious.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonSearchPrevious.AutoStyle = true;
     this.skinButtonSearchPrevious.BackColor = Color.Black;
     this.skinButtonSearchPrevious.ButtonState = 0;
     this.skinButtonSearchPrevious.DialogResult = DialogResult.OK;
     this.skinButtonSearchPrevious.DisabledForecolor = Color.Gray;
     this.skinButtonSearchPrevious.DrawColor = Color.White;
     this.skinButtonSearchPrevious.DrawEdges = false;
     this.skinButtonSearchPrevious.FocusColor = Color.Yellow;
     this.skinButtonSearchPrevious.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchPrevious.ForeColor = Color.White;
     this.skinButtonSearchPrevious.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchPrevious.IsStyled = true;
     this.skinButtonSearchPrevious.Location = new Point(0x2c, 0x1ba);
     this.skinButtonSearchPrevious.Name = "skinButtonSearchPrevious";
     this.skinButtonSearchPrevious.Size = new Size(40, 0x16);
     this.skinButtonSearchPrevious.SkinBasePath = @"Controls\Button\Previous";
     base.ttDefault.SetSuperTip(this.skinButtonSearchPrevious, null);
     this.skinButtonSearchPrevious.TabIndex = 6;
     this.skinButtonSearchPrevious.TabStop = true;
     this.skinButtonSearchPrevious.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchPrevious.TextPadding = new Padding(0);
     this.skinButtonSearchPrevious.Click += new EventHandler(this.skinButtonSearchPrevious_Click);
     this.gpgGroupBoxCriteria.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgGroupBoxCriteria.AutoStyle = false;
     this.gpgGroupBoxCriteria.BackColor = Color.Black;
     this.gpgGroupBoxCriteria.Controls.Add(this.skinButtonSaveSearch);
     this.gpgGroupBoxCriteria.Controls.Add(this.skinButtonRunSearch);
     this.gpgGroupBoxCriteria.Controls.Add(this.gpgPanelSearchCriteria);
     this.gpgGroupBoxCriteria.CutCorner = false;
     this.gpgGroupBoxCriteria.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxCriteria.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxCriteria.IsStyled = true;
     this.gpgGroupBoxCriteria.Location = new Point(4, 5);
     this.gpgGroupBoxCriteria.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxCriteria.Name = "gpgGroupBoxCriteria";
     this.gpgGroupBoxCriteria.Size = new Size(0x2f6, 0x72);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxCriteria, null);
     this.gpgGroupBoxCriteria.TabIndex = 15;
     this.gpgGroupBoxCriteria.Text = "<LOC>Search Criteria";
     this.gpgGroupBoxCriteria.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxCriteria.TextPadding = new Padding(8, 0, 0, 0);
     this.skinButtonSaveSearch.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonSaveSearch.AutoStyle = true;
     this.skinButtonSaveSearch.BackColor = Color.Black;
     this.skinButtonSaveSearch.ButtonState = 0;
     this.skinButtonSaveSearch.DialogResult = DialogResult.OK;
     this.skinButtonSaveSearch.DisabledForecolor = Color.Gray;
     this.skinButtonSaveSearch.DrawColor = Color.White;
     this.skinButtonSaveSearch.DrawEdges = true;
     this.skinButtonSaveSearch.FocusColor = Color.Yellow;
     this.skinButtonSaveSearch.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSaveSearch.ForeColor = Color.White;
     this.skinButtonSaveSearch.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSaveSearch.IsStyled = true;
     this.skinButtonSaveSearch.Location = new Point(0x1ef, 0x51);
     this.skinButtonSaveSearch.Name = "skinButtonSaveSearch";
     this.skinButtonSaveSearch.Size = new Size(0x7d, 0x1a);
     this.skinButtonSaveSearch.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonSaveSearch, null);
     this.skinButtonSaveSearch.TabIndex = 0x1f;
     this.skinButtonSaveSearch.TabStop = true;
     this.skinButtonSaveSearch.Text = "<LOC>Save Search";
     this.skinButtonSaveSearch.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSaveSearch.TextPadding = new Padding(0);
     this.skinButtonSaveSearch.Visible = false;
     this.skinButtonSaveSearch.Click += new EventHandler(this.skinButtonSaveSearch_Click);
     this.skinButtonRunSearch.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonRunSearch.AutoStyle = true;
     this.skinButtonRunSearch.BackColor = Color.Black;
     this.skinButtonRunSearch.ButtonState = 0;
     this.skinButtonRunSearch.DialogResult = DialogResult.OK;
     this.skinButtonRunSearch.DisabledForecolor = Color.Gray;
     this.skinButtonRunSearch.DrawColor = Color.White;
     this.skinButtonRunSearch.DrawEdges = true;
     this.skinButtonRunSearch.FocusColor = Color.Yellow;
     this.skinButtonRunSearch.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonRunSearch.ForeColor = Color.White;
     this.skinButtonRunSearch.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonRunSearch.IsStyled = true;
     this.skinButtonRunSearch.Location = new Point(0x272, 0x51);
     this.skinButtonRunSearch.Name = "skinButtonRunSearch";
     this.skinButtonRunSearch.Size = new Size(0x7d, 0x1a);
     this.skinButtonRunSearch.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonRunSearch, null);
     this.skinButtonRunSearch.TabIndex = 30;
     this.skinButtonRunSearch.TabStop = true;
     this.skinButtonRunSearch.Text = "<LOC>Run Search";
     this.skinButtonRunSearch.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonRunSearch.TextPadding = new Padding(0);
     this.skinButtonRunSearch.Click += new EventHandler(this.skinButtonRunSearch_Click);
     this.gpgPanelSearchCriteria.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelSearchCriteria.AutoScroll = true;
     this.gpgPanelSearchCriteria.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelSearchCriteria.BorderThickness = 2;
     this.gpgPanelSearchCriteria.Controls.Add(this.skinButtonSearchType);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabelSearchType);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchCreator);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel16);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchName);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel1);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchKeywords);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel21);
     this.gpgPanelSearchCriteria.DrawBorder = false;
     this.gpgPanelSearchCriteria.Location = new Point(2, 0x17);
     this.gpgPanelSearchCriteria.Name = "gpgPanelSearchCriteria";
     this.gpgPanelSearchCriteria.Size = new Size(0x2ed, 0x34);
     base.ttDefault.SetSuperTip(this.gpgPanelSearchCriteria, null);
     this.gpgPanelSearchCriteria.TabIndex = 0x1d;
     this.skinButtonSearchType.AutoStyle = true;
     this.skinButtonSearchType.BackColor = Color.Transparent;
     this.skinButtonSearchType.ButtonState = 0;
     this.skinButtonSearchType.DialogResult = DialogResult.OK;
     this.skinButtonSearchType.DisabledForecolor = Color.Gray;
     this.skinButtonSearchType.DrawColor = Color.White;
     this.skinButtonSearchType.DrawEdges = false;
     this.skinButtonSearchType.FocusColor = Color.Yellow;
     this.skinButtonSearchType.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchType.ForeColor = Color.White;
     this.skinButtonSearchType.HorizontalScalingMode = ScalingModes.Center;
     this.skinButtonSearchType.IsStyled = true;
     this.skinButtonSearchType.Location = new Point(0x295, 0x17);
     this.skinButtonSearchType.Name = "skinButtonSearchType";
     this.skinButtonSearchType.Size = new Size(0x18, 0x12);
     this.skinButtonSearchType.SkinBasePath = @"Dialog\ContentManager\BtnAdvancedSearch";
     base.ttDefault.SetSuperTip(this.skinButtonSearchType, null);
     this.skinButtonSearchType.TabIndex = 0x25;
     this.skinButtonSearchType.TabStop = true;
     this.skinButtonSearchType.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchType.TextPadding = new Padding(0);
     this.skinButtonSearchType.Click += new EventHandler(this.skinButtonSearchType_Click);
     this.gpgLabelSearchType.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelSearchType.AutoSize = true;
     this.gpgLabelSearchType.AutoStyle = true;
     this.gpgLabelSearchType.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabelSearchType.ForeColor = Color.DimGray;
     this.gpgLabelSearchType.IgnoreMouseWheel = false;
     this.gpgLabelSearchType.IsStyled = false;
     this.gpgLabelSearchType.Location = new Point(530, 0x1a);
     this.gpgLabelSearchType.Name = "gpgLabelSearchType";
     this.gpgLabelSearchType.Size = new Size(0x7e, 12);
     base.ttDefault.SetSuperTip(this.gpgLabelSearchType, null);
     this.gpgLabelSearchType.TabIndex = 0x23;
     this.gpgLabelSearchType.Text = "<LOC>Advanced Search";
     this.gpgLabelSearchType.TextStyle = TextStyles.Custom;
     this.gpgTextBoxSearchCreator.Location = new Point(0xb9, 0x16);
     this.gpgTextBoxSearchCreator.Name = "gpgTextBoxSearchCreator";
     this.gpgTextBoxSearchCreator.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchCreator.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchCreator.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchCreator.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchCreator.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchCreator.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchCreator.Properties.MaxLength = 0x16;
     this.gpgTextBoxSearchCreator.Size = new Size(160, 20);
     this.gpgTextBoxSearchCreator.TabIndex = 0x22;
     this.gpgTextBoxSearchCreator.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgTextBoxSearchCreator.KeyDown += new KeyEventHandler(this.SearchCriteriaTextBox_KeyDown);
     this.gpgLabel16.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel16.AutoSize = true;
     this.gpgLabel16.AutoStyle = true;
     this.gpgLabel16.Font = new Font("Arial", 9.75f);
     this.gpgLabel16.ForeColor = Color.White;
     this.gpgLabel16.IgnoreMouseWheel = false;
     this.gpgLabel16.IsStyled = false;
     this.gpgLabel16.Location = new Point(0xb6, 3);
     this.gpgLabel16.Name = "gpgLabel16";
     this.gpgLabel16.Size = new Size(0x73, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel16, null);
     this.gpgLabel16.TabIndex = 0x21;
     this.gpgLabel16.Text = "<LOC>Created By";
     this.gpgLabel16.TextStyle = TextStyles.Bold;
     this.gpgTextBoxSearchName.EditValue = "";
     this.gpgTextBoxSearchName.Location = new Point(8, 0x16);
     this.gpgTextBoxSearchName.Name = "gpgTextBoxSearchName";
     this.gpgTextBoxSearchName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchName.Properties.MaxLength = 0x100;
     this.gpgTextBoxSearchName.Size = new Size(160, 20);
     this.gpgTextBoxSearchName.TabIndex = 0x20;
     this.gpgTextBoxSearchName.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgTextBoxSearchName.KeyDown += new KeyEventHandler(this.SearchCriteriaTextBox_KeyDown);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(5, 3);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x54, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 0x1f;
     this.gpgLabel1.Text = "<LOC>Name";
     this.gpgLabel1.TextStyle = TextStyles.Bold;
     this.gpgTextBoxSearchKeywords.Location = new Point(0x16c, 0x16);
     this.gpgTextBoxSearchKeywords.Name = "gpgTextBoxSearchKeywords";
     this.gpgTextBoxSearchKeywords.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchKeywords.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchKeywords.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchKeywords.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchKeywords.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchKeywords.Properties.MaxLength = 0x100;
     this.gpgTextBoxSearchKeywords.Size = new Size(160, 20);
     this.gpgTextBoxSearchKeywords.TabIndex = 30;
     this.gpgTextBoxSearchKeywords.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgTextBoxSearchKeywords.KeyDown += new KeyEventHandler(this.SearchCriteriaTextBox_KeyDown);
     this.gpgLabel21.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel21.AutoSize = true;
     this.gpgLabel21.AutoStyle = true;
     this.gpgLabel21.Font = new Font("Arial", 9.75f);
     this.gpgLabel21.ForeColor = Color.White;
     this.gpgLabel21.IgnoreMouseWheel = false;
     this.gpgLabel21.IsStyled = false;
     this.gpgLabel21.Location = new Point(0x169, 3);
     this.gpgLabel21.Name = "gpgLabel21";
     this.gpgLabel21.Size = new Size(0x6b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel21, null);
     this.gpgLabel21.TabIndex = 0x1d;
     this.gpgLabel21.Text = "<LOC>Keywords";
     this.gpgLabel21.TextStyle = TextStyles.Bold;
     this.gpgPanelUpload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelUpload.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelUpload.BorderThickness = 2;
     this.gpgPanelUpload.Controls.Add(this.splitContainerUpload);
     this.gpgPanelUpload.DrawBorder = false;
     this.gpgPanelUpload.Location = new Point(12, 110);
     this.gpgPanelUpload.Name = "gpgPanelUpload";
     this.gpgPanelUpload.Size = new Size(0x3e8, 0x25a);
     base.ttDefault.SetSuperTip(this.gpgPanelUpload, null);
     this.gpgPanelUpload.TabIndex = 8;
     this.splitContainerUpload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerUpload.Location = new Point(2, 2);
     this.splitContainerUpload.Name = "splitContainerUpload";
     this.splitContainerUpload.Panel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.splitContainerUpload.Panel1.Controls.Add(this.gpgLabelUploadLocations);
     this.splitContainerUpload.Panel1.Controls.Add(this.skinLabel4);
     this.splitContainerUpload.Panel1.Controls.Add(this.skinLabel3);
     this.splitContainerUpload.Panel1.Controls.Add(this.pictureBoxRefreshUploads);
     this.splitContainerUpload.Panel1.Controls.Add(this.treeViewUpload);
     base.ttDefault.SetSuperTip(this.splitContainerUpload.Panel1, null);
     this.splitContainerUpload.Panel2.AutoScroll = true;
     this.splitContainerUpload.Panel2.BackgroundImage = (Image) manager.GetObject("splitContainerUpload.Panel2.BackgroundImage");
     this.splitContainerUpload.Panel2.Controls.Add(this.gpgGroupBoxUploadVersion);
     this.splitContainerUpload.Panel2.Controls.Add(this.gpgGroupBoxUploadGeneral);
     this.splitContainerUpload.Panel2.Controls.Add(this.skinButtonDeleteUploadVersion);
     this.splitContainerUpload.Panel2.Controls.Add(this.skinButtonDeleteUploadAll);
     this.splitContainerUpload.Panel2.Controls.Add(this.skinButtonUpload);
     this.splitContainerUpload.Panel2.Controls.Add(this.gpgLabelNoUploadSelected);
     base.ttDefault.SetSuperTip(this.splitContainerUpload.Panel2, null);
     this.splitContainerUpload.Size = new Size(0x3e4, 0x256);
     this.splitContainerUpload.SplitterDistance = 0x120;
     this.splitContainerUpload.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerUpload, null);
     this.splitContainerUpload.TabIndex = 2;
     this.gpgLabelUploadLocations.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelUploadLocations.AutoSize = true;
     this.gpgLabelUploadLocations.AutoStyle = true;
     this.gpgLabelUploadLocations.Cursor = Cursors.Hand;
     this.gpgLabelUploadLocations.Font = new Font("Verdana", 8.25f, FontStyle.Underline | FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabelUploadLocations.ForeColor = Color.White;
     this.gpgLabelUploadLocations.IgnoreMouseWheel = false;
     this.gpgLabelUploadLocations.IsStyled = false;
     this.gpgLabelUploadLocations.Location = new Point(1, 0x1d);
     this.gpgLabelUploadLocations.Name = "gpgLabelUploadLocations";
     this.gpgLabelUploadLocations.Size = new Size(0xd8, 13);
     base.ttDefault.SetSuperTip(this.gpgLabelUploadLocations, null);
     this.gpgLabelUploadLocations.TabIndex = 3;
     this.gpgLabelUploadLocations.Text = "<LOC>Select Upload Locations...";
     this.gpgLabelUploadLocations.TextStyle = TextStyles.Custom;
     this.gpgLabelUploadLocations.Click += new EventHandler(this.SelectUploadPath_Click);
     this.skinLabel4.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel4.AutoStyle = false;
     this.skinLabel4.BackColor = Color.Transparent;
     this.skinLabel4.DrawEdges = true;
     this.skinLabel4.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel4.ForeColor = Color.White;
     this.skinLabel4.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel4.IsStyled = false;
     this.skinLabel4.Location = new Point(0, 0x36);
     this.skinLabel4.Name = "skinLabel4";
     this.skinLabel4.Size = new Size(0x120, 20);
     this.skinLabel4.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel4, null);
     this.skinLabel4.TabIndex = 2;
     this.skinLabel4.Text = "<LOC>My Files";
     this.skinLabel4.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel4.TextPadding = new Padding(0);
     this.skinLabel3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel3.AutoStyle = false;
     this.skinLabel3.BackColor = Color.Transparent;
     this.skinLabel3.DrawEdges = true;
     this.skinLabel3.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel3.ForeColor = Color.White;
     this.skinLabel3.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel3.IsStyled = false;
     this.skinLabel3.Location = new Point(0, 0);
     this.skinLabel3.Name = "skinLabel3";
     this.skinLabel3.Size = new Size(0x120, 20);
     this.skinLabel3.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel3, null);
     this.skinLabel3.TabIndex = 1;
     this.skinLabel3.Text = "<LOC>Uploadable Content";
     this.skinLabel3.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel3.TextPadding = new Padding(0);
     this.pictureBoxRefreshUploads.Cursor = Cursors.Hand;
     this.pictureBoxRefreshUploads.Image = (Image) manager.GetObject("pictureBoxRefreshUploads.Image");
     this.pictureBoxRefreshUploads.InitialImage = (Image) manager.GetObject("pictureBoxRefreshUploads.InitialImage");
     this.pictureBoxRefreshUploads.Location = new Point(0xe1, 0x1b);
     this.pictureBoxRefreshUploads.Name = "pictureBoxRefreshUploads";
     this.pictureBoxRefreshUploads.Size = new Size(0x10, 0x10);
     this.pictureBoxRefreshUploads.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pictureBoxRefreshUploads, null);
     this.pictureBoxRefreshUploads.TabIndex = 0;
     this.pictureBoxRefreshUploads.TabStop = false;
     base.ttDefault.SetToolTip(this.pictureBoxRefreshUploads, "<LOC>Refresh Files");
     this.pictureBoxRefreshUploads.Click += new EventHandler(this.pictureBoxRefreshUploads_Click);
     this.treeViewUpload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.treeViewUpload.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewUpload.BorderStyle = BorderStyle.None;
     this.treeViewUpload.HideSelection = false;
     this.treeViewUpload.ImageIndex = 0;
     this.treeViewUpload.ImageList = this.imageListContentTypes;
     this.treeViewUpload.Location = new Point(0, 80);
     this.treeViewUpload.Name = "treeViewUpload";
     this.treeViewUpload.SelectedImageIndex = 0;
     this.treeViewUpload.Size = new Size(0x120, 0x206);
     base.ttDefault.SetSuperTip(this.treeViewUpload, null);
     this.treeViewUpload.TabIndex = 1;
     this.treeViewUpload.AfterSelect += new TreeViewEventHandler(this.treeViewUpload_AfterSelect);
     this.gpgGroupBoxUploadVersion.AutoStyle = false;
     this.gpgGroupBoxUploadVersion.BackColor = Color.Black;
     this.gpgGroupBoxUploadVersion.Controls.Add(this.gpgPanelUploadVersion);
     this.gpgGroupBoxUploadVersion.CutCorner = true;
     this.gpgGroupBoxUploadVersion.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxUploadVersion.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxUploadVersion.IsStyled = true;
     this.gpgGroupBoxUploadVersion.Location = new Point(8, 0x11f);
     this.gpgGroupBoxUploadVersion.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxUploadVersion.Name = "gpgGroupBoxUploadVersion";
     this.gpgGroupBoxUploadVersion.Size = new Size(0x2b0, 180);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxUploadVersion, null);
     this.gpgGroupBoxUploadVersion.TabIndex = 0x23;
     this.gpgGroupBoxUploadVersion.Text = "<LOC>Version Info";
     this.gpgGroupBoxUploadVersion.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxUploadVersion.TextPadding = new Padding(8, 0, 0, 0);
     this.gpgGroupBoxUploadVersion.Visible = false;
     this.gpgPanelUploadVersion.AutoScroll = true;
     this.gpgPanelUploadVersion.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelUploadVersion.BorderThickness = 2;
     this.gpgPanelUploadVersion.Controls.Add(this.gpgTextAreaVersionNotes);
     this.gpgPanelUploadVersion.Controls.Add(this.gpgLabelUploadVersionNotes);
     this.gpgPanelUploadVersion.Controls.Add(this.gpgLabelUploadCurrentVersion);
     this.gpgPanelUploadVersion.DrawBorder = false;
     this.gpgPanelUploadVersion.Location = new Point(2, 0x16);
     this.gpgPanelUploadVersion.Name = "gpgPanelUploadVersion";
     this.gpgPanelUploadVersion.Size = new Size(0x2ac, 0x88);
     base.ttDefault.SetSuperTip(this.gpgPanelUploadVersion, null);
     this.gpgPanelUploadVersion.TabIndex = 0;
     this.gpgTextAreaVersionNotes.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgTextAreaVersionNotes.BorderColor = Color.White;
     this.gpgTextAreaVersionNotes.Location = new Point(4, 0x2c);
     this.gpgTextAreaVersionNotes.Name = "gpgTextAreaVersionNotes";
     this.gpgTextAreaVersionNotes.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextAreaVersionNotes.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextAreaVersionNotes.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextAreaVersionNotes.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextAreaVersionNotes.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextAreaVersionNotes.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextAreaVersionNotes.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextAreaVersionNotes.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextAreaVersionNotes.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextAreaVersionNotes.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextAreaVersionNotes.Properties.MaxLength = 0x400;
     this.gpgTextAreaVersionNotes.Size = new Size(0x2a4, 0x59);
     this.gpgTextAreaVersionNotes.TabIndex = 2;
     this.gpgTextAreaVersionNotes.EditValueChanged += new EventHandler(this.UploadGeneralOptionsChanged);
     this.gpgLabelUploadVersionNotes.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelUploadVersionNotes.AutoSize = true;
     this.gpgLabelUploadVersionNotes.AutoStyle = true;
     this.gpgLabelUploadVersionNotes.Font = new Font("Arial", 9.75f);
     this.gpgLabelUploadVersionNotes.ForeColor = Color.White;
     this.gpgLabelUploadVersionNotes.IgnoreMouseWheel = false;
     this.gpgLabelUploadVersionNotes.IsStyled = false;
     this.gpgLabelUploadVersionNotes.Location = new Point(4, 0x19);
     this.gpgLabelUploadVersionNotes.Name = "gpgLabelUploadVersionNotes";
     this.gpgLabelUploadVersionNotes.Size = new Size(0x84, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelUploadVersionNotes, null);
     this.gpgLabelUploadVersionNotes.TabIndex = 1;
     this.gpgLabelUploadVersionNotes.Text = "<LOC>Version Notes";
     this.gpgLabelUploadVersionNotes.TextStyle = TextStyles.Bold;
     this.gpgLabelUploadCurrentVersion.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelUploadCurrentVersion.AutoSize = true;
     this.gpgLabelUploadCurrentVersion.AutoStyle = true;
     this.gpgLabelUploadCurrentVersion.Font = new Font("Arial", 9.75f);
     this.gpgLabelUploadCurrentVersion.ForeColor = Color.White;
     this.gpgLabelUploadCurrentVersion.IgnoreMouseWheel = false;
     this.gpgLabelUploadCurrentVersion.IsStyled = false;
     this.gpgLabelUploadCurrentVersion.Location = new Point(4, 4);
     this.gpgLabelUploadCurrentVersion.Name = "gpgLabelUploadCurrentVersion";
     this.gpgLabelUploadCurrentVersion.Size = new Size(140, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelUploadCurrentVersion, null);
     this.gpgLabelUploadCurrentVersion.TabIndex = 0;
     this.gpgLabelUploadCurrentVersion.Text = "<LOC>Current Version";
     this.gpgLabelUploadCurrentVersion.TextStyle = TextStyles.Bold;
     this.gpgGroupBoxUploadGeneral.AutoStyle = false;
     this.gpgGroupBoxUploadGeneral.BackColor = Color.Black;
     this.gpgGroupBoxUploadGeneral.Controls.Add(this.gpgPanelUploadGeneral);
     this.gpgGroupBoxUploadGeneral.CutCorner = false;
     this.gpgGroupBoxUploadGeneral.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxUploadGeneral.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxUploadGeneral.IsStyled = true;
     this.gpgGroupBoxUploadGeneral.Location = new Point(8, 8);
     this.gpgGroupBoxUploadGeneral.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxUploadGeneral.Name = "gpgGroupBoxUploadGeneral";
     this.gpgGroupBoxUploadGeneral.Size = new Size(0x2b0, 0xb7);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxUploadGeneral, null);
     this.gpgGroupBoxUploadGeneral.TabIndex = 0x22;
     this.gpgGroupBoxUploadGeneral.Text = "<LOC>General Info";
     this.gpgGroupBoxUploadGeneral.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxUploadGeneral.TextPadding = new Padding(8, 0, 0, 0);
     this.gpgGroupBoxUploadGeneral.Visible = false;
     this.gpgPanelUploadGeneral.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPanelUploadGeneral.AutoScroll = true;
     this.gpgPanelUploadGeneral.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelUploadGeneral.BorderThickness = 2;
     this.gpgPanelUploadGeneral.Controls.Add(this.skinButtonDeleteUploadDependency);
     this.gpgPanelUploadGeneral.Controls.Add(this.skinButtonUploadDependency);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgTextBoxUploadSearchKeywords);
     this.gpgPanelUploadGeneral.Controls.Add(this.listBoxUploadDependencies);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabel6);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabel9);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabel27);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgTextBoxUploadDesc);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabelUploadLocation);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgTextBoxUploadName);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabel25);
     this.gpgPanelUploadGeneral.Controls.Add(this.gpgLabel29);
     this.gpgPanelUploadGeneral.DrawBorder = false;
     this.gpgPanelUploadGeneral.Location = new Point(2, 0x15);
     this.gpgPanelUploadGeneral.Name = "gpgPanelUploadGeneral";
     this.gpgPanelUploadGeneral.Size = new Size(0x2ab, 160);
     base.ttDefault.SetSuperTip(this.gpgPanelUploadGeneral, null);
     this.gpgPanelUploadGeneral.TabIndex = 3;
     this.skinButtonDeleteUploadDependency.AutoStyle = true;
     this.skinButtonDeleteUploadDependency.BackColor = Color.Black;
     this.skinButtonDeleteUploadDependency.ButtonState = 0;
     this.skinButtonDeleteUploadDependency.CausesValidation = false;
     this.skinButtonDeleteUploadDependency.DialogResult = DialogResult.OK;
     this.skinButtonDeleteUploadDependency.DisabledForecolor = Color.Gray;
     this.skinButtonDeleteUploadDependency.DrawColor = Color.White;
     this.skinButtonDeleteUploadDependency.DrawEdges = false;
     this.skinButtonDeleteUploadDependency.Enabled = false;
     this.skinButtonDeleteUploadDependency.FocusColor = Color.Yellow;
     this.skinButtonDeleteUploadDependency.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonDeleteUploadDependency.ForeColor = Color.White;
     this.skinButtonDeleteUploadDependency.HorizontalScalingMode = ScalingModes.Center;
     this.skinButtonDeleteUploadDependency.IsStyled = true;
     this.skinButtonDeleteUploadDependency.Location = new Point(0x29, 0x7a);
     this.skinButtonDeleteUploadDependency.Margin = new Padding(0);
     this.skinButtonDeleteUploadDependency.MaximumSize = new Size(0x25, 0x25);
     this.skinButtonDeleteUploadDependency.MinimumSize = new Size(0x25, 0x25);
     this.skinButtonDeleteUploadDependency.Name = "skinButtonDeleteUploadDependency";
     this.skinButtonDeleteUploadDependency.Size = new Size(0x25, 0x25);
     this.skinButtonDeleteUploadDependency.SkinBasePath = @"Dialog\ContentManager\BtnDelete";
     base.ttDefault.SetSuperTip(this.skinButtonDeleteUploadDependency, null);
     this.skinButtonDeleteUploadDependency.TabIndex = 0x17;
     this.skinButtonDeleteUploadDependency.TabStop = true;
     this.skinButtonDeleteUploadDependency.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonDeleteUploadDependency.TextPadding = new Padding(0);
     this.skinButtonDeleteUploadDependency.Click += new EventHandler(this.skinButtonDeleteUploadDependency_Click);
     this.skinButtonUploadDependency.AutoStyle = true;
     this.skinButtonUploadDependency.BackColor = Color.Black;
     this.skinButtonUploadDependency.ButtonState = 0;
     this.skinButtonUploadDependency.CausesValidation = false;
     this.skinButtonUploadDependency.DialogResult = DialogResult.OK;
     this.skinButtonUploadDependency.DisabledForecolor = Color.Gray;
     this.skinButtonUploadDependency.DrawColor = Color.White;
     this.skinButtonUploadDependency.DrawEdges = false;
     this.skinButtonUploadDependency.FocusColor = Color.Yellow;
     this.skinButtonUploadDependency.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonUploadDependency.ForeColor = Color.White;
     this.skinButtonUploadDependency.HorizontalScalingMode = ScalingModes.Center;
     this.skinButtonUploadDependency.IsStyled = true;
     this.skinButtonUploadDependency.Location = new Point(1, 0x7a);
     this.skinButtonUploadDependency.Margin = new Padding(0);
     this.skinButtonUploadDependency.MaximumSize = new Size(0x25, 0x25);
     this.skinButtonUploadDependency.MinimumSize = new Size(0x25, 0x25);
     this.skinButtonUploadDependency.Name = "skinButtonUploadDependency";
     this.skinButtonUploadDependency.Size = new Size(0x25, 0x25);
     this.skinButtonUploadDependency.SkinBasePath = @"Dialog\ContentManager\BtnBrowseTo";
     base.ttDefault.SetSuperTip(this.skinButtonUploadDependency, null);
     this.skinButtonUploadDependency.TabIndex = 7;
     this.skinButtonUploadDependency.TabStop = true;
     this.skinButtonUploadDependency.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonUploadDependency.TextPadding = new Padding(0);
     this.skinButtonUploadDependency.Click += new EventHandler(this.skinButtonUploadDependency_Click);
     this.gpgTextBoxUploadSearchKeywords.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxUploadSearchKeywords.Location = new Point(0x15a, 0x4a);
     this.gpgTextBoxUploadSearchKeywords.MinimumSize = new Size(250, 20);
     this.gpgTextBoxUploadSearchKeywords.Name = "gpgTextBoxUploadSearchKeywords";
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxUploadSearchKeywords.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxUploadSearchKeywords.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxUploadSearchKeywords.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxUploadSearchKeywords.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxUploadSearchKeywords.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxUploadSearchKeywords.Properties.MaxLength = 0x100;
     this.gpgTextBoxUploadSearchKeywords.Size = new Size(0x151, 20);
     this.gpgTextBoxUploadSearchKeywords.TabIndex = 0x16;
     this.gpgTextBoxUploadSearchKeywords.EditValueChanged += new EventHandler(this.UploadGeneralOptionsChanged);
     this.listBoxUploadDependencies.BackColor = Color.Black;
     this.listBoxUploadDependencies.BorderStyle = BorderStyle.None;
     this.listBoxUploadDependencies.FormattingEnabled = true;
     this.listBoxUploadDependencies.Location = new Point(0x52, 0x79);
     this.listBoxUploadDependencies.Name = "listBoxUploadDependencies";
     this.listBoxUploadDependencies.Size = new Size(600, 0x27);
     base.ttDefault.SetSuperTip(this.listBoxUploadDependencies, null);
     this.listBoxUploadDependencies.TabIndex = 6;
     this.listBoxUploadDependencies.SelectedIndexChanged += new EventHandler(this.listBoxUploadDependencies_SelectedIndexChanged);
     this.gpgLabel6.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel6.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0x15a, 0x35);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x98, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel6, null);
     this.gpgLabel6.TabIndex = 0x15;
     this.gpgLabel6.Text = "<LOC>Search Keywords";
     this.gpgLabel6.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel6.TextStyle = TextStyles.Custom;
     this.gpgLabel9.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel9.AutoStyle = true;
     this.gpgLabel9.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel9.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel9.ForeColor = Color.White;
     this.gpgLabel9.IgnoreMouseWheel = false;
     this.gpgLabel9.IsStyled = false;
     this.gpgLabel9.Location = new Point(0, 0x62);
     this.gpgLabel9.Name = "gpgLabel9";
     this.gpgLabel9.Padding = new Padding(6, 0, 0, 0);
     this.gpgLabel9.Size = new Size(0x2ab, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel9, null);
     this.gpgLabel9.TabIndex = 5;
     this.gpgLabel9.Text = "<LOC>Dependencies";
     this.gpgLabel9.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel9.TextStyle = TextStyles.Custom;
     this.gpgLabel27.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel27.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel27.AutoStyle = true;
     this.gpgLabel27.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel27.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel27.ForeColor = Color.White;
     this.gpgLabel27.IgnoreMouseWheel = false;
     this.gpgLabel27.IsStyled = false;
     this.gpgLabel27.Location = new Point(0xfd, 2);
     this.gpgLabel27.Name = "gpgLabel27";
     this.gpgLabel27.Size = new Size(0x66, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel27, null);
     this.gpgLabel27.TabIndex = 2;
     this.gpgLabel27.Text = "<LOC>Location";
     this.gpgLabel27.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel27.TextStyle = TextStyles.Custom;
     this.gpgTextBoxUploadDesc.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxUploadDesc.Location = new Point(4, 0x4a);
     this.gpgTextBoxUploadDesc.MinimumSize = new Size(250, 20);
     this.gpgTextBoxUploadDesc.Name = "gpgTextBoxUploadDesc";
     this.gpgTextBoxUploadDesc.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxUploadDesc.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxUploadDesc.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxUploadDesc.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxUploadDesc.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxUploadDesc.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxUploadDesc.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxUploadDesc.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxUploadDesc.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxUploadDesc.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxUploadDesc.Properties.MaxLength = 0x400;
     this.gpgTextBoxUploadDesc.Size = new Size(0x146, 20);
     this.gpgTextBoxUploadDesc.TabIndex = 0x13;
     this.gpgTextBoxUploadDesc.EditValueChanged += new EventHandler(this.UploadGeneralOptionsChanged);
     this.gpgLabelUploadLocation.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabelUploadLocation.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelUploadLocation.AutoStyle = true;
     this.gpgLabelUploadLocation.Font = new Font("Arial", 9.75f);
     this.gpgLabelUploadLocation.ForeColor = Color.White;
     this.gpgLabelUploadLocation.IgnoreMouseWheel = false;
     this.gpgLabelUploadLocation.IsStyled = false;
     this.gpgLabelUploadLocation.Location = new Point(0xfd, 0x13);
     this.gpgLabelUploadLocation.Name = "gpgLabelUploadLocation";
     this.gpgLabelUploadLocation.Size = new Size(430, 0x22);
     base.ttDefault.SetSuperTip(this.gpgLabelUploadLocation, null);
     this.gpgLabelUploadLocation.TabIndex = 3;
     this.gpgLabelUploadLocation.Text = "gpgLabel26";
     this.gpgLabelUploadLocation.TextStyle = TextStyles.Default;
     this.gpgLabelUploadLocation.Click += new EventHandler(this.gpgLabelUploadLocation_Click);
     this.gpgTextBoxUploadName.Location = new Point(4, 0x17);
     this.gpgTextBoxUploadName.MinimumSize = new Size(150, 20);
     this.gpgTextBoxUploadName.Name = "gpgTextBoxUploadName";
     this.gpgTextBoxUploadName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxUploadName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxUploadName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxUploadName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxUploadName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxUploadName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxUploadName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxUploadName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxUploadName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxUploadName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxUploadName.Properties.MaxLength = 0x100;
     this.gpgTextBoxUploadName.Size = new Size(230, 20);
     this.gpgTextBoxUploadName.TabIndex = 0x10;
     this.gpgTextBoxUploadName.EditValueChanged += new EventHandler(this.UploadGeneralOptionsChanged);
     this.gpgLabel25.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel25.AutoStyle = true;
     this.gpgLabel25.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel25.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel25.ForeColor = Color.White;
     this.gpgLabel25.IgnoreMouseWheel = false;
     this.gpgLabel25.IsStyled = false;
     this.gpgLabel25.Location = new Point(0, 0x35);
     this.gpgLabel25.Name = "gpgLabel25";
     this.gpgLabel25.Padding = new Padding(6, 0, 0, 0);
     this.gpgLabel25.Size = new Size(0x2ab, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel25, null);
     this.gpgLabel25.TabIndex = 4;
     this.gpgLabel25.Text = "<LOC>Download Description";
     this.gpgLabel25.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel25.TextStyle = TextStyles.Custom;
     this.gpgLabel29.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel29.AutoStyle = true;
     this.gpgLabel29.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel29.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel29.ForeColor = Color.White;
     this.gpgLabel29.IgnoreMouseWheel = false;
     this.gpgLabel29.IsStyled = false;
     this.gpgLabel29.Location = new Point(0, 2);
     this.gpgLabel29.Name = "gpgLabel29";
     this.gpgLabel29.Padding = new Padding(6, 0, 0, 0);
     this.gpgLabel29.Size = new Size(0x2ab, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel29, null);
     this.gpgLabel29.TabIndex = 0;
     this.gpgLabel29.Text = "<LOC>Name";
     this.gpgLabel29.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel29.TextStyle = TextStyles.Custom;
     this.skinButtonDeleteUploadVersion.AutoStyle = true;
     this.skinButtonDeleteUploadVersion.BackColor = Color.Black;
     this.skinButtonDeleteUploadVersion.ButtonState = 0;
     this.skinButtonDeleteUploadVersion.DialogResult = DialogResult.OK;
     this.skinButtonDeleteUploadVersion.DisabledForecolor = Color.Gray;
     this.skinButtonDeleteUploadVersion.DrawColor = Color.White;
     this.skinButtonDeleteUploadVersion.DrawEdges = true;
     this.skinButtonDeleteUploadVersion.FocusColor = Color.Yellow;
     this.skinButtonDeleteUploadVersion.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonDeleteUploadVersion.ForeColor = Color.White;
     this.skinButtonDeleteUploadVersion.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonDeleteUploadVersion.IsStyled = true;
     this.skinButtonDeleteUploadVersion.Location = new Point(0x9d, 0x1d9);
     this.skinButtonDeleteUploadVersion.Name = "skinButtonDeleteUploadVersion";
     this.skinButtonDeleteUploadVersion.Size = new Size(0x91, 0x1a);
     this.skinButtonDeleteUploadVersion.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonDeleteUploadVersion, null);
     this.skinButtonDeleteUploadVersion.TabIndex = 0x21;
     this.skinButtonDeleteUploadVersion.TabStop = true;
     this.skinButtonDeleteUploadVersion.Text = "<LOC>Delete Version";
     this.skinButtonDeleteUploadVersion.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonDeleteUploadVersion.TextPadding = new Padding(0);
     this.skinButtonDeleteUploadVersion.Visible = false;
     this.skinButtonDeleteUploadVersion.Click += new EventHandler(this.skinButtonDeleteUploadVersion_Click);
     this.skinButtonDeleteUploadAll.AutoStyle = true;
     this.skinButtonDeleteUploadAll.BackColor = Color.Black;
     this.skinButtonDeleteUploadAll.ButtonState = 0;
     this.skinButtonDeleteUploadAll.DialogResult = DialogResult.OK;
     this.skinButtonDeleteUploadAll.DisabledForecolor = Color.Gray;
     this.skinButtonDeleteUploadAll.DrawColor = Color.White;
     this.skinButtonDeleteUploadAll.DrawEdges = true;
     this.skinButtonDeleteUploadAll.FocusColor = Color.Yellow;
     this.skinButtonDeleteUploadAll.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonDeleteUploadAll.ForeColor = Color.White;
     this.skinButtonDeleteUploadAll.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonDeleteUploadAll.IsStyled = true;
     this.skinButtonDeleteUploadAll.Location = new Point(0x134, 0x1d9);
     this.skinButtonDeleteUploadAll.Name = "skinButtonDeleteUploadAll";
     this.skinButtonDeleteUploadAll.Size = new Size(0x91, 0x1a);
     this.skinButtonDeleteUploadAll.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonDeleteUploadAll, null);
     this.skinButtonDeleteUploadAll.TabIndex = 0x20;
     this.skinButtonDeleteUploadAll.TabStop = true;
     this.skinButtonDeleteUploadAll.Text = "<LOC>Delete All Versions";
     this.skinButtonDeleteUploadAll.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonDeleteUploadAll.TextPadding = new Padding(0);
     this.skinButtonDeleteUploadAll.Visible = false;
     this.skinButtonDeleteUploadAll.Click += new EventHandler(this.skinButtonDeleteUploadAll_Click);
     this.skinButtonUpload.AutoStyle = true;
     this.skinButtonUpload.BackColor = Color.Black;
     this.skinButtonUpload.ButtonState = 0;
     this.skinButtonUpload.DialogResult = DialogResult.OK;
     this.skinButtonUpload.DisabledForecolor = Color.Gray;
     this.skinButtonUpload.DrawColor = Color.White;
     this.skinButtonUpload.DrawEdges = true;
     this.skinButtonUpload.FocusColor = Color.Yellow;
     this.skinButtonUpload.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonUpload.ForeColor = Color.White;
     this.skinButtonUpload.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonUpload.IsStyled = true;
     this.skinButtonUpload.Location = new Point(6, 0x1d9);
     this.skinButtonUpload.Name = "skinButtonUpload";
     this.skinButtonUpload.Size = new Size(0x91, 0x1a);
     this.skinButtonUpload.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonUpload, null);
     this.skinButtonUpload.TabIndex = 0x1f;
     this.skinButtonUpload.TabStop = true;
     this.skinButtonUpload.Text = "<LOC>Upload";
     this.skinButtonUpload.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonUpload.TextPadding = new Padding(0);
     this.skinButtonUpload.Visible = false;
     this.skinButtonUpload.Click += new EventHandler(this.skinButtonUpload_Click);
     this.gpgLabelNoUploadSelected.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelNoUploadSelected.AutoStyle = true;
     this.gpgLabelNoUploadSelected.BackColor = Color.Transparent;
     this.gpgLabelNoUploadSelected.Dock = DockStyle.Fill;
     this.gpgLabelNoUploadSelected.Font = new Font("Arial", 9.75f);
     this.gpgLabelNoUploadSelected.ForeColor = Color.White;
     this.gpgLabelNoUploadSelected.IgnoreMouseWheel = false;
     this.gpgLabelNoUploadSelected.IsStyled = false;
     this.gpgLabelNoUploadSelected.Location = new Point(0, 0);
     this.gpgLabelNoUploadSelected.Name = "gpgLabelNoUploadSelected";
     this.gpgLabelNoUploadSelected.Size = new Size(0x2c2, 0x256);
     base.ttDefault.SetSuperTip(this.gpgLabelNoUploadSelected, null);
     this.gpgLabelNoUploadSelected.TabIndex = 0;
     this.gpgLabelNoUploadSelected.Text = "<LOC>No valid content selected. Please select content from the browser on the left.";
     this.gpgLabelNoUploadSelected.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelNoUploadSelected.TextStyle = TextStyles.Default;
     this.tabActivity.AutoStyle = true;
     this.tabActivity.BackColor = Color.Black;
     this.tabActivity.ButtonState = 0;
     this.tabActivity.DialogResult = DialogResult.OK;
     this.tabActivity.DisabledForecolor = Color.Gray;
     this.tabActivity.DrawColor = Color.White;
     this.tabActivity.DrawEdges = true;
     this.tabActivity.FocusColor = Color.Yellow;
     this.tabActivity.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.tabActivity.ForeColor = Color.White;
     this.tabActivity.HorizontalScalingMode = ScalingModes.Tile;
     this.tabActivity.IsStyled = true;
     this.tabActivity.Location = new Point(0x178, 0x53);
     this.tabActivity.Name = "tabActivity";
     this.tabActivity.Size = new Size(0x7a, 0x1c);
     this.tabActivity.SkinBasePath = @"Dialog\ContentManager\TabLarge";
     base.ttDefault.SetSuperTip(this.tabActivity, null);
     this.tabActivity.TabIndex = 11;
     this.tabActivity.TabStop = true;
     this.tabActivity.Text = "<LOC>Activity";
     this.tabActivity.TextAlign = ContentAlignment.MiddleLeft;
     this.tabActivity.TextPadding = new Padding(6, 0, 0, 0);
     this.tabActivity.Click += new EventHandler(this.ChangePanel);
     this.msQuickButtons.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.msQuickButtons.AutoSize = false;
     this.msQuickButtons.BackgroundImage = (Image) manager.GetObject("msQuickButtons.BackgroundImage");
     this.msQuickButtons.Dock = DockStyle.None;
     this.msQuickButtons.GripMargin = new Padding(0);
     this.msQuickButtons.ImageScalingSize = new Size(0x2d, 0x2d);
     this.msQuickButtons.Items.AddRange(new ToolStripItem[] { this.btnOptions, this.btnHelp, this.btnMapDiagnose, this.btnMore });
     this.msQuickButtons.Location = new Point(60, 0x2ca);
     this.msQuickButtons.Name = "msQuickButtons";
     this.msQuickButtons.Padding = new Padding(0, 0, 10, 0);
     this.msQuickButtons.RenderMode = ToolStripRenderMode.Professional;
     this.msQuickButtons.ShowItemToolTips = true;
     this.msQuickButtons.Size = new Size(910, 0x34);
     base.ttDefault.SetSuperTip(this.msQuickButtons, null);
     this.msQuickButtons.TabIndex = 12;
     this.msQuickButtons.Paint += new PaintEventHandler(this.msQuickButtons_Paint);
     this.msQuickButtons.SizeChanged += new EventHandler(this.msQuickButtons_SizeChanged);
     this.btnOptions.AutoSize = false;
     this.btnOptions.AutoToolTip = true;
     this.btnOptions.Image = (Image) manager.GetObject("btnOptions.Image");
     this.btnOptions.ImageScaling = ToolStripItemImageScaling.None;
     this.btnOptions.Name = "btnOptions";
     this.btnOptions.ShortcutKeys = Keys.F8;
     this.btnOptions.Size = new Size(0x25, 0x34);
     this.btnOptions.ToolTipText = "<LOC>Options";
     this.btnOptions.Click += new EventHandler(this.btnOptions_Click);
     this.btnHelp.AutoSize = false;
     this.btnHelp.AutoToolTip = true;
     this.btnHelp.Image = (Image) manager.GetObject("btnHelp.Image");
     this.btnHelp.ImageScaling = ToolStripItemImageScaling.None;
     this.btnHelp.Name = "btnHelp";
     this.btnHelp.ShortcutKeys = Keys.F8;
     this.btnHelp.Size = new Size(0x25, 0x34);
     this.btnHelp.ToolTipText = "<LOC>Help";
     this.btnHelp.Click += new EventHandler(this.btnHelp_Click);
     this.btnMapDiagnose.AutoSize = false;
     this.btnMapDiagnose.AutoToolTip = true;
     this.btnMapDiagnose.Image = (Image) manager.GetObject("btnMapDiagnose.Image");
     this.btnMapDiagnose.ImageScaling = ToolStripItemImageScaling.None;
     this.btnMapDiagnose.Name = "btnMapDiagnose";
     this.btnMapDiagnose.ShortcutKeys = Keys.F8;
     this.btnMapDiagnose.Size = new Size(0x25, 0x34);
     this.btnMapDiagnose.ToolTipText = "<LOC>Map Upload Diagnostics";
     this.btnMapDiagnose.Click += new EventHandler(this.btnMapDiagnose_Click);
     this.btnMore.AutoSize = false;
     this.btnMore.AutoToolTip = true;
     this.btnMore.Image = (Image) manager.GetObject("btnMore.Image");
     this.btnMore.ImageScaling = ToolStripItemImageScaling.None;
     this.btnMore.Name = "btnMore";
     this.btnMore.ShortcutKeys = Keys.F6;
     this.btnMore.Size = new Size(20, 0x34);
     this.btnMore.ToolTipText = "<LOC>More...";
     this.gpgPanel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPanel2.BackgroundImage = (Image) manager.GetObject("gpgPanel2.BackgroundImage");
     this.gpgPanel2.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanel2.BorderThickness = 2;
     this.gpgPanel2.DrawBorder = false;
     this.gpgPanel2.Location = new Point(6, 0x3e);
     this.gpgPanel2.Name = "gpgPanel2";
     this.gpgPanel2.Size = new Size(0x3f4, 0x30);
     base.ttDefault.SetSuperTip(this.gpgPanel2, null);
     this.gpgPanel2.TabIndex = 13;
     this.gpgPanelActivity.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelActivity.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelActivity.BorderThickness = 2;
     this.gpgPanelActivity.Controls.Add(this.splitContainerActivity);
     this.gpgPanelActivity.DrawBorder = false;
     this.gpgPanelActivity.Location = new Point(12, 110);
     this.gpgPanelActivity.Name = "gpgPanelActivity";
     this.gpgPanelActivity.Size = new Size(0x3e8, 0x25a);
     base.ttDefault.SetSuperTip(this.gpgPanelActivity, null);
     this.gpgPanelActivity.TabIndex = 14;
     this.splitContainerActivity.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerActivity.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.splitContainerActivity.Location = new Point(2, 2);
     this.splitContainerActivity.Name = "splitContainerActivity";
     this.splitContainerActivity.Orientation = Orientation.Horizontal;
     this.splitContainerActivity.Panel1.BackColor = Color.Black;
     this.splitContainerActivity.Panel1.BackgroundImage = (Image) manager.GetObject("splitContainerActivity.Panel1.BackgroundImage");
     this.splitContainerActivity.Panel1.Controls.Add(this.gpgLabel4);
     this.splitContainerActivity.Panel1.Controls.Add(this.gpgLabel3);
     this.splitContainerActivity.Panel1.Controls.Add(this.gpgLabel2);
     this.splitContainerActivity.Panel1.Controls.Add(this.gpgPanelDownActivity);
     this.splitContainerActivity.Panel1.Controls.Add(this.skinLabel5);
     base.ttDefault.SetSuperTip(this.splitContainerActivity.Panel1, null);
     this.splitContainerActivity.Panel2.BackColor = Color.Black;
     this.splitContainerActivity.Panel2.BackgroundImage = (Image) manager.GetObject("splitContainerActivity.Panel2.BackgroundImage");
     this.splitContainerActivity.Panel2.Controls.Add(this.gpgLabel5);
     this.splitContainerActivity.Panel2.Controls.Add(this.gpgLabel7);
     this.splitContainerActivity.Panel2.Controls.Add(this.gpgLabel8);
     this.splitContainerActivity.Panel2.Controls.Add(this.gpgPanelUpActivity);
     this.splitContainerActivity.Panel2.Controls.Add(this.skinLabel6);
     base.ttDefault.SetSuperTip(this.splitContainerActivity.Panel2, null);
     this.splitContainerActivity.Size = new Size(0x3e4, 0x256);
     this.splitContainerActivity.SplitterDistance = 330;
     this.splitContainerActivity.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerActivity, null);
     this.splitContainerActivity.TabIndex = 0;
     this.gpgLabel4.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel4.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(0x285, 0x16);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x86, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel4, null);
     this.gpgLabel4.TabIndex = 0x15;
     this.gpgLabel4.Text = "<LOC>Status";
     this.gpgLabel4.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel4.TextStyle = TextStyles.Custom;
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel3.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(270, 0x16);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0x86, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel3, null);
     this.gpgLabel3.TabIndex = 20;
     this.gpgLabel3.Text = "<LOC>Progress";
     this.gpgLabel3.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel3.TextStyle = TextStyles.Custom;
     this.gpgLabel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel2.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0, 0x16);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Padding = new Padding(6, 0, 0, 0);
     this.gpgLabel2.Size = new Size(0x3e4, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 0x13;
     this.gpgLabel2.Text = "<LOC>Name";
     this.gpgLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel2.TextStyle = TextStyles.Custom;
     this.gpgPanelDownActivity.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelDownActivity.AutoScroll = true;
     this.gpgPanelDownActivity.BackColor = Color.Transparent;
     this.gpgPanelDownActivity.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelDownActivity.BorderThickness = 2;
     this.gpgPanelDownActivity.DrawBorder = false;
     this.gpgPanelDownActivity.Location = new Point(6, 0x2c);
     this.gpgPanelDownActivity.Name = "gpgPanelDownActivity";
     this.gpgPanelDownActivity.Size = new Size(0x3d7, 0x119);
     base.ttDefault.SetSuperTip(this.gpgPanelDownActivity, null);
     this.gpgPanelDownActivity.TabIndex = 0x12;
     this.skinLabel5.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel5.AutoStyle = false;
     this.skinLabel5.BackColor = Color.Transparent;
     this.skinLabel5.DrawEdges = true;
     this.skinLabel5.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel5.ForeColor = Color.White;
     this.skinLabel5.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel5.IsStyled = false;
     this.skinLabel5.Location = new Point(0, 0);
     this.skinLabel5.Name = "skinLabel5";
     this.skinLabel5.Size = new Size(0x3e4, 20);
     this.skinLabel5.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel5, null);
     this.skinLabel5.TabIndex = 0x11;
     this.skinLabel5.Text = "<LOC>Downloads";
     this.skinLabel5.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel5.TextPadding = new Padding(0);
     this.gpgLabel5.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel5.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel5.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(0x285, 0x16);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x86, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel5, null);
     this.gpgLabel5.TabIndex = 0x18;
     this.gpgLabel5.Text = "<LOC>Status";
     this.gpgLabel5.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel5.TextStyle = TextStyles.Custom;
     this.gpgLabel7.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel7.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(270, 0x16);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(0x86, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel7, null);
     this.gpgLabel7.TabIndex = 0x17;
     this.gpgLabel7.Text = "<LOC>Progress";
     this.gpgLabel7.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel7.TextStyle = TextStyles.Custom;
     this.gpgLabel8.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel8.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel8.AutoStyle = true;
     this.gpgLabel8.BackColor = Color.FromArgb(0x66, 0x66, 0x66);
     this.gpgLabel8.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel8.ForeColor = Color.White;
     this.gpgLabel8.IgnoreMouseWheel = false;
     this.gpgLabel8.IsStyled = false;
     this.gpgLabel8.Location = new Point(0, 0x16);
     this.gpgLabel8.Name = "gpgLabel8";
     this.gpgLabel8.Padding = new Padding(6, 0, 0, 0);
     this.gpgLabel8.Size = new Size(0x3e4, 0x11);
     base.ttDefault.SetSuperTip(this.gpgLabel8, null);
     this.gpgLabel8.TabIndex = 0x16;
     this.gpgLabel8.Text = "<LOC>Name";
     this.gpgLabel8.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel8.TextStyle = TextStyles.Custom;
     this.gpgPanelUpActivity.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelUpActivity.AutoScroll = true;
     this.gpgPanelUpActivity.BackColor = Color.Transparent;
     this.gpgPanelUpActivity.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelUpActivity.BorderThickness = 2;
     this.gpgPanelUpActivity.DrawBorder = false;
     this.gpgPanelUpActivity.Location = new Point(6, 0x2c);
     this.gpgPanelUpActivity.Name = "gpgPanelUpActivity";
     this.gpgPanelUpActivity.Size = new Size(0x3d7, 0xd8);
     base.ttDefault.SetSuperTip(this.gpgPanelUpActivity, null);
     this.gpgPanelUpActivity.TabIndex = 0x13;
     this.skinLabel6.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel6.AutoStyle = false;
     this.skinLabel6.BackColor = Color.Transparent;
     this.skinLabel6.DrawEdges = true;
     this.skinLabel6.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel6.ForeColor = Color.White;
     this.skinLabel6.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel6.IsStyled = false;
     this.skinLabel6.Location = new Point(0, 0);
     this.skinLabel6.Name = "skinLabel6";
     this.skinLabel6.Size = new Size(0x3e4, 20);
     this.skinLabel6.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel6, null);
     this.skinLabel6.TabIndex = 0x12;
     this.skinLabel6.Text = "<LOC>Uploads";
     this.skinLabel6.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel6.TextPadding = new Padding(0);
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x400, 0x300);
     base.Controls.Add(this.gpgPanelDownload);
     base.Controls.Add(this.gpgPanelUpload);
     base.Controls.Add(this.gpgPanelMyContent);
     base.Controls.Add(this.gpgPanelActivity);
     base.Controls.Add(this.tabMyContent);
     base.Controls.Add(this.tabDownload);
     base.Controls.Add(this.tabUpload);
     base.Controls.Add(this.tabActivity);
     base.Controls.Add(this.msQuickButtons);
     base.Controls.Add(this.gpgPanel2);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     this.MinimumSize = new Size(0x200, 0x174);
     base.Name = "DlgContentManager";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>The Vault";
     base.Controls.SetChildIndex(this.gpgPanel2, 0);
     base.Controls.SetChildIndex(this.msQuickButtons, 0);
     base.Controls.SetChildIndex(this.tabActivity, 0);
     base.Controls.SetChildIndex(this.tabUpload, 0);
     base.Controls.SetChildIndex(this.tabDownload, 0);
     base.Controls.SetChildIndex(this.tabMyContent, 0);
     base.Controls.SetChildIndex(this.gpgPanelActivity, 0);
     base.Controls.SetChildIndex(this.gpgPanelMyContent, 0);
     base.Controls.SetChildIndex(this.gpgPanelUpload, 0);
     base.Controls.SetChildIndex(this.gpgPanelDownload, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.gpgPanelMyContent.ResumeLayout(false);
     this.splitContainerMyContent.Panel1.ResumeLayout(false);
     this.splitContainerMyContent.Panel2.ResumeLayout(false);
     this.splitContainerMyContent.ResumeLayout(false);
     this.gpgPanelDownload.ResumeLayout(false);
     this.splitContainerDownload.Panel1.ResumeLayout(false);
     this.splitContainerDownload.Panel2.ResumeLayout(false);
     this.splitContainerDownload.ResumeLayout(false);
     this.gpgGroupBoxResults.ResumeLayout(false);
     this.dataGridSearchResults.EndInit();
     this.gvResults.EndInit();
     this.repositoryItemPictureEdit1.EndInit();
     this.repositoryItemRatingStars.EndInit();
     this.repositoryItemChatLink.EndInit();
     this.repositoryItemVersionLink.EndInit();
     this.gpgGroupBoxCriteria.ResumeLayout(false);
     this.gpgPanelSearchCriteria.ResumeLayout(false);
     this.gpgPanelSearchCriteria.PerformLayout();
     this.gpgTextBoxSearchCreator.Properties.EndInit();
     this.gpgTextBoxSearchName.Properties.EndInit();
     this.gpgTextBoxSearchKeywords.Properties.EndInit();
     this.gpgPanelUpload.ResumeLayout(false);
     this.splitContainerUpload.Panel1.ResumeLayout(false);
     this.splitContainerUpload.Panel1.PerformLayout();
     this.splitContainerUpload.Panel2.ResumeLayout(false);
     this.splitContainerUpload.ResumeLayout(false);
     ((ISupportInitialize) this.pictureBoxRefreshUploads).EndInit();
     this.gpgGroupBoxUploadVersion.ResumeLayout(false);
     this.gpgPanelUploadVersion.ResumeLayout(false);
     this.gpgPanelUploadVersion.PerformLayout();
     this.gpgTextAreaVersionNotes.Properties.EndInit();
     this.gpgGroupBoxUploadGeneral.ResumeLayout(false);
     this.gpgPanelUploadGeneral.ResumeLayout(false);
     this.gpgTextBoxUploadSearchKeywords.Properties.EndInit();
     this.gpgTextBoxUploadDesc.Properties.EndInit();
     this.gpgTextBoxUploadName.Properties.EndInit();
     this.msQuickButtons.ResumeLayout(false);
     this.msQuickButtons.PerformLayout();
     this.gpgPanelActivity.ResumeLayout(false);
     this.splitContainerActivity.Panel1.ResumeLayout(false);
     this.splitContainerActivity.Panel2.ResumeLayout(false);
     this.splitContainerActivity.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#22
0
        /// <summary>
        /// �����豸��ʾ��
        /// </summary>
        public override void InitColumns()
        {
            GridColumn column = gridView1.Columns.Add();
            column.Caption = "�糧����";
            column.FieldName = "Title";
            column.Width = 100;
            column.VisibleIndex = 1;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��ѹ�ȼ�";
            column.FieldName = "S1";
            column.Width = 100;
            column.VisibleIndex = 2;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "������";
            column.FieldName = "S2";
            column.Width = 100;
            column.VisibleIndex = 3;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "S18";
            column.Width = 100;
            column.VisibleIndex = 4;
            column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "S29";
            column.Width = 100;
            column.VisibleIndex = 5;
            column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "Ͷ�����";
            column.FieldName = "S3";
            column.Width = 100;
            column.VisibleIndex = 5;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "S30";
            column.Width = 100;
            column.VisibleIndex = 6;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "S9";
            column.Width = 100;
            column.VisibleIndex =7;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�糧����";
            column.FieldName = "S10";
            column.Width = 100;
            column.VisibleIndex = 8;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "������";
            column.FieldName = "S11";
            column.Width = 100;
            column.VisibleIndex = 9;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��������Сʱ��";
            column.FieldName = "S12";
            column.Width = 100;
            column.VisibleIndex = 10;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "���õ���";
            column.FieldName = "S13";
            column.Width = 100;
            column.VisibleIndex = 11;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�Ƿ�ͳ��";
            column.FieldName = "S14";
            column.Width = 100;
            column.VisibleIndex = 12;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�����Ա�";
            column.FieldName = "S8";
            column.Width = 100;
            column.VisibleIndex = 13;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "ͣ�����";
            //column.FieldName = "L12";
            //column.Width = 100;
            //column.VisibleIndex = 5;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "״̬";
            //column.FieldName = "flag_";
            //column.Width = 100;
            //column.VisibleIndex = 6;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "��������";
            //column.FieldName = "S5";
            //column.Width = 100;
            //column.VisibleIndex = 7;
            //column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "�鿴";
            column.FieldName = "AreaID";
            column.Width = 100;
            column.VisibleIndex = 14;
            // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();
            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption = "վ������";
            repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);

            column.ColumnEdit = repositoryItemHyperLinkEdit1;
        }
示例#23
0
        /// <summary>
        ///  设置GridControl下的GridView
        /// </summary>
        /// <param name="gridView">被设置的GridView</param>
        /// <param name="type">GridControl 的类型</param>
        /// <param name="table">数据源DataTable</param>
        /// <param name="buttonclik">按钮列按钮点击事件</param>
        /// <param name="titleHandler">点击标题列点击事件</param>
        public static void SetGridView(GridView gridView,
                                       GridControlType type,
                                       out DataTable table
                                       , ButtonPressedEventHandler buttonclik,
                                       DevExpress.XtraGrid.Views.Base.CustomColumnSortEventHandler titleHandler)
        {
            GridControlModel model = XMLDataManage.GetGridControlModel(type.ToString());

            table = new DataTable();

            int i = 0;

            foreach (ColumnModel columnModel in model.columns)
            {
                string fieldname = "column_" + i;
                if (columnModel.field != "None")
                {
                    fieldname = columnModel.field;
                }

                GridColumn column = gridView.Columns.AddVisible(fieldname, columnModel.name);
                //表头文本水平位置
                column.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                //表头文本自动换行
                column.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
                column.AppearanceHeader.Font = new Font("宋体", 12, GraphicsUnit.Pixel);


                column.OptionsColumn.AllowEdit = false;

                switch (columnModel.type)
                {
                    #region 添加链接
                case ColumnType.C_LineLink:
                {
                    RepositoryItemHyperLinkEdit link = new RepositoryItemHyperLinkEdit();
                    link.LinkColor = Color.Blue;

                    column.ColumnEdit = link;
                    column.OptionsColumn.AllowEdit = true;

                    DataColumn dataColumn = new DataColumn(fieldname);
                    table.Columns.Add(dataColumn);
                    // dataColumn.DataType = typeof(string);
                }


                break;

                    #endregion

                    #region 添加复选框
                case ColumnType.C_Check:            //添加复选框
                {
                    RepositoryItemCheckEdit check = new RepositoryItemCheckEdit();
                    check.NullStyle   = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
                    column.ColumnEdit = check;
                    column.OptionsColumn.AllowEdit = true;
                    column.Width = 40;

                    DataColumn dataColumn = new DataColumn(fieldname);
                    table.Columns.Add(dataColumn);
                    dataColumn.DataType = typeof(bool);
                }


                break;
                    #endregion

                    #region 添加按钮
                case ColumnType.C_Button:            //添加按钮
                {
                    //color = "131,157,199"
                    RepositoryItemButtonEdit buttonEdit = new RepositoryItemButtonEdit();
                    buttonEdit.Buttons.Clear();
                    buttonEdit.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
                    //buttonEdit.ButtonsStyle = BorderStyles.NoBorder;
                    //buttonEdit.BorderStyle = BorderStyles.NoBorder;
                    //buttonEdit.AutoHeight = false;
                    if (buttonclik != null)
                    {
                        buttonEdit.ButtonClick += buttonclik;
                    }

                    #region 添加按钮
                    int num   = 0;
                    int width = 8;
                    foreach (string name in columnModel.buttonNames)
                    {
                        char[]   splits = { '(', ')' };
                        string[] names  = name.Split(splits);

                        EditorButton button = new EditorButton();
                        button.Kind = ButtonPredefines.Glyph;

                        //按钮显示
                        button.Visible = true;
                        button.Tag     = fieldname + "_" + num;
                        //62,141,232
                        //if (names.Count() > 1)
                        //{
                        //    char[] color_sp = { ','};
                        //    string[] colors = names[1].Split(color_sp);
                        //    button.Appearance.ForeColor = Color.FromArgb(int.Parse(colors[0]), int.Parse(colors[1]), int.Parse(colors[2]));
                        //}
                        //else
                        //{
                        //    button.Appearance.ForeColor = Color.Blue;

                        //}

                        button.Appearance.ForeColor = Color.FromArgb(62, 141, 232);
                        button.Caption = names[0];
                        width         += 50;

                        //button.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
                        button.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                        buttonEdit.Buttons.Add(button);
                        num++;
                    }
                    #endregion
                    column.ColumnEdit = buttonEdit;
                    column.Width      = width;
                    //column.MinWidth = width;
                    column.OptionsColumn.AllowEdit = true;
                    column.UnboundType             = DevExpress.Data.UnboundColumnType.String;


                    DataColumn dataColumn = new DataColumn(fieldname);
                    table.Columns.Add(dataColumn);
                    //dataColumn.DataType = typeof(RepositoryItemButtonEdit);
                }
                break;

                    #endregion
                default:
                {
                    RepositoryItemMemoEdit edit = new RepositoryItemMemoEdit();
                    column.SortMode   = ColumnSortMode.Custom;
                    column.Width      = 100;   //columnModel.width;
                    column.ColumnEdit = edit;
                    //表头下文本自动换行
                    column.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
                    //表头下文本书平内容
                    column.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                    column.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;

                    DataColumn dataColumn = new DataColumn(fieldname);
                    table.Columns.Add(dataColumn);
                }

                break;
                }
                i++;
            }

            gridView.OptionsSelection.MultiSelect     = true;
            gridView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.RowSelect;
            gridView.RowHeight = 25;

            //表头高度
            gridView.ColumnPanelRowHeight = 30;

            //关闭最左侧
            gridView.OptionsView.ShowIndicator = false;
            //关闭表头右键快捷键
            gridView.OptionsMenu.EnableColumnMenu = false;
            if (titleHandler != null)
            {
                gridView.CustomColumnSort += titleHandler;
            }
        }
示例#24
0
        public MainForm()
        {
            InitializeComponent();

            //textEdit4.ReadOnly = true;
            textEdit4.Properties.Appearance.Image                    = global::TestDEControls.Properties.Resources.save_16x16;
            textEdit4.Properties.Appearance.Options.UseImage         = true;
            textEdit4.Properties.AppearanceFocused.Image             = global::TestDEControls.Properties.Resources.save_16x16;
            textEdit4.Properties.AppearanceFocused.Options.UseImage  = true;
            textEdit4.Properties.AppearanceDisabled.Image            = global::TestDEControls.Properties.Resources.save_16x16;
            textEdit4.Properties.AppearanceDisabled.Options.UseImage = true;
            textEdit4.Properties.AppearanceReadOnly.Image            = global::TestDEControls.Properties.Resources.save_16x16;
            textEdit4.Properties.AppearanceReadOnly.Options.UseImage = true;

            btnSet.Visible = false;

            _boolVictim4CheckBox = _boolVictim4ToggleSwitch = true;
            _defaultBooleanVictim4ToggleSwitch = DefaultBoolean.True;
            _stringVictim = "123456789012";

            _textEdit3Binding = textEdit3.DataBindings.Add("EditValue", this, "StringVictim", true, DataSourceUpdateMode.OnPropertyChanged);
            _textEdit3Binding.BindingComplete += TextEdit3BindingBindingComplete;
            _textEdit3Binding.Format          += TextEdit3BindingFormat;
            _textEdit3Binding.Parse           += TextEdit3BindingParse;
            textEdit3.CustomDisplayText       += TextEdit3CustomDisplayText;

            //tabControl.SelectedTabPage = tabPageButtons;

            lookUpEdit1.Properties.DataSource    = GetDataTable();
            lookUpEdit1.Properties.ValueMember   = "id";
            lookUpEdit1.Properties.DisplayMember = "Name";
            lookUpEdit1.Properties.Columns.Clear();
            lookUpEdit1.Properties.Columns.Add(new LookUpColumnInfo("Name"));
            lookUpEdit1.Properties.ShowHeader = false;
            lookUpEdit1.Properties.ShowFooter = false;

            lookUpEdit2.Properties.DataSource    = GetListStubsWithIdBool();
            lookUpEdit2.Properties.ValueMember   = "Id";
            lookUpEdit2.Properties.DisplayMember = "Name";
            lookUpEdit2.Properties.Columns.Clear();
            lookUpEdit2.Properties.Columns.Add(new LookUpColumnInfo("Name"));
            lookUpEdit2.Properties.ShowHeader = false;
            lookUpEdit2.Properties.ShowFooter = false;
            //lookUpEdit2.DataBindings.Add("EditValue", editObjectWithBool, "FBool", false, DataSourceUpdateMode.OnPropertyChanged);
            lookUpEdit2.DataBindings.Add("EditValue", editObjectWithNullableBool, "FBool", false, DataSourceUpdateMode.OnPropertyChanged);

            lookUpEdit3.Properties.DataSource    = GetListStubsWithIdInt();
            lookUpEdit3.Properties.ValueMember   = "Id";
            lookUpEdit3.Properties.DisplayMember = "Name";
            lookUpEdit3.Properties.Columns.Clear();
            lookUpEdit3.Properties.Columns.Add(new LookUpColumnInfo("Name"));
            lookUpEdit3.Properties.ShowHeader = false;
            lookUpEdit3.Properties.ShowFooter = false;
            lookUpEdit3.DataBindings.Add("EditValue", editObjectWithInt, "FInt", false, DataSourceUpdateMode.OnPropertyChanged);

            lookUpEdit4.Properties.DataSource    = GetListStubsWithIdDevExpressDefaultBoolean();
            lookUpEdit4.Properties.ValueMember   = "Id";
            lookUpEdit4.Properties.DisplayMember = "Name";
            lookUpEdit4.Properties.Columns.Clear();
            lookUpEdit4.Properties.Columns.Add(new LookUpColumnInfo("Name"));
            lookUpEdit4.Properties.ShowHeader = false;
            lookUpEdit4.Properties.ShowFooter = false;
            lookUpEdit4.DataBindings.Add("EditValue", editObjectWithDevExpressDefaultBoolean, "FBool", false, DataSourceUpdateMode.OnPropertyChanged);

            textEdit1.Properties.Mask.MaskType     = MaskType.RegEx;
            textEdit1.Properties.Mask.EditMask     = "a{1,3}";
            textEdit1.Properties.Mask.AutoComplete = AutoCompleteType.None;

            gridControl1.DataSource = GetDataTable();

            var repositoryItemComboBox = new RepositoryItemComboBox();

            repositoryItemComboBox.Items.AddRange(new[] { 1, 2, 3 });

            // https://documentation.devexpress.com/#WindowsForms/DevExpressXtraEditorsHyperLinkEdit_OpenLinktopic
            var repositoryItemHyperLinkEdit = new RepositoryItemHyperLinkEdit();

            repositoryItemHyperLinkEdit.SingleClick = true;
            //repositoryItemHyperLinkEdit.ReadOnly = true;
            repositoryItemHyperLinkEdit.TextEditStyle = TextEditStyles.DisableTextEditor;

            var repositoryItemSpinEdit = new RepositoryItemSpinEdit();

            repositoryItemSpinEdit.DisplayFormat.FormatString = "0.###############";
            repositoryItemSpinEdit.DisplayFormat.FormatType   = FormatType.Numeric;
            repositoryItemSpinEdit.Mask.EditMask = "n15";
            repositoryItemSpinEdit.MaxLength     = 30;
            repositoryItemSpinEdit.MaxValue      = 79228162514264.337593543950335m;

            gridControl1.RepositoryItems.Add(repositoryItemComboBox);
            gridControl1.RepositoryItems.Add(repositoryItemHyperLinkEdit);
            gridControl1.RepositoryItems.Add(repositoryItemSpinEdit);
            gridView1.Columns.ColumnByFieldName("Dep").ColumnEdit    = repositoryItemComboBox;
            gridView1.Columns.ColumnByFieldName("Url").ColumnEdit    = repositoryItemHyperLinkEdit;
            gridView1.Columns.ColumnByFieldName("Salary").ColumnEdit = repositoryItemSpinEdit;

            repositoryItemComboBox.EditValueChanging += RepositoryItemComboBoxOnEditValueChanging;
            repositoryItemComboBox.EditValueChanged  += RepositoryItemComboBoxOnEditValueChanged;

            gridView1.CustomRowCellEdit += GridViewOnCustomRowCellEdit;
            //gridView1.OptionsBehavior.Editable = false;
            gridView1.Click += gridViewClick;
            //gridView1.CustomDrawRowIndicator += GridViewCustomDrawRowIndicatorFake;

            checkEdit4.DataBindings.Add("EditValue", this, "BoolVictim4CheckBox", false, DataSourceUpdateMode.OnPropertyChanged);
            //checkEdit4.DataBindings.Add("EditValue", this, "BoolVictim4CheckBox", false, DataSourceUpdateMode.OnValidation);

            //pictureEdit.Enabled = false;
            pictureEdit.ReadOnly                = true;
            pictureEdit.Properties.ReadOnly     = true;
            pictureEdit.Properties.AllowFocused = false;
            //pictureEdit.Properties.ShowMenu = false;

            var assembly  = typeof(PictureMenu).Assembly;
            var imageList = ImageHelper.CreateImageCollectionFromResources("DevExpress.XtraEditors.Images.PictureMenu.png", typeof(PictureMenu).Assembly, new Size(0x10, 0x10), Color.Empty);

            Image img = null;

            try
            {
                img = ResourceImageHelper.CreateBitmapFromResources("DevExpress.XtraEditors.ImageEdit.bmp", typeof(ButtonEdit).Assembly);
                img.Save("ImageEdit.bmp");
                imageList = ImageHelper.CreateImageCollectionFromResources("DevExpress.XtraEditors.Images.Editors.bmp", typeof(PictureMenu).Assembly, new Size(0x10, 0x10), Color.Empty);
                imageList.Images[12].Save("12.bmp");
                //img = (Bitmap)Bitmap.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream("DevExpress.XtraEditors.Images.Editors.bmp"));
            }
            catch (Exception)
            {
            }

            comboBoxEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            comboBoxEdit1.Properties.Items.AddRange(Enumerable.Range(65, 26).Select(item => (object)(new string((char)item, 10))).ToArray());

            //timeEdit1.Properties.ReadOnly = true;
            timeEdit1.Enabled = false;

            listOfAction.Add(GridViewCustomDrawRowIndicatorFake);

            DecimalVictim = 1.123456789010000m;
            //DecimalVictim = 0.00000001m;

            spinEdit1.DataBindings.Add("EditValue", this, "DecimalVictim", false, DataSourceUpdateMode.OnPropertyChanged);
            //spinEdit1.EditValueChanged += SpinEditEditValueChanged;
            //spinEdit1.CustomDisplayText += SpinEditCustomDisplayText;

            toggleSwitch1.DataBindings.Add("EditValue", this, "BoolVictim4ToggleSwitch", false, DataSourceUpdateMode.OnPropertyChanged);
            _toggleSwitch2Binding                  = toggleSwitch2.DataBindings.Add(/*"EditValue"*/ "IsOn", this, "DefaultBooleanVictim4ToggleSwitch", true, DataSourceUpdateMode.OnPropertyChanged);
            _toggleSwitch2Binding.Parse           += ToggleSwitchBindingParse;
            _toggleSwitch2Binding.Format          += ToggleSwitchBindingFormat;
            _toggleSwitch2Binding.BindingComplete += ToggleSwitchBindingBindingComplete;

            buttonEdit1.ReadOnly     = true;
            buttonEdit1.ButtonClick += ButtonEdit1_ButtonClick;
            buttonEdit1.Properties.Buttons[1].Enabled = false;
            buttonEdit1.EditValue = "blah-blah-blah";
        }
示例#25
0
        /// <summary>
        /// 设置设备显示列
        /// </summary>
        public override void InitColumns()
        {
            string s    = " ProjectID='" + Itop.Client.MIS.ProgUID + "'";
            IList  list = Services.BaseService.GetList("SelectPS_Table_AreaWHByConn", s);

            DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            //repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
            //
            // repositoryItemLookUpEdit1
            //
            repositoryItemLookUpEdit1.AutoHeight = false;
            repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
            });
            repositoryItemLookUpEdit1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
                new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default, DevExpress.Data.ColumnSortOrder.None),
                new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Title")
            });
            repositoryItemLookUpEdit1.DisplayMember = "Title";
            repositoryItemLookUpEdit1.Name          = "repositoryItemLookUpEdit1";
            repositoryItemLookUpEdit1.NullText      = "";
            repositoryItemLookUpEdit1.ValueMember   = "ID";
            repositoryItemLookUpEdit1.DataSource    = list;

            GridColumn column = gridView1.Columns.Add();

            column.Caption                 = "线路名称";
            column.FieldName               = "Name";
            column.Width                   = 100;
            column.VisibleIndex            = 1;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "线路编号";
            //column.FieldName = "Number";
            //column.Width = 100;
            //column.VisibleIndex = 2;
            //column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "电压等级";
            column.FieldName               = "ReferenceVolt";
            column.Width                   = 100;
            column.VisibleIndex            = 2;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "额定电压";
            column.FieldName               = "RateVolt";
            column.Width                   = 100;
            column.VisibleIndex            = 2;
            column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "所在区域";
            column.FieldName               = "AreaID";
            column.ColumnEdit              = repositoryItemLookUpEdit1;
            column.Width                   = 100;
            column.VisibleIndex            = 3;
            column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "i侧母线名";
            column.FieldName               = "IName";
            column.Width                   = 100;
            column.VisibleIndex            = 4;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "j侧母线名";
            column.FieldName               = "JName";
            column.Width                   = 100;
            column.VisibleIndex            = 5;
            column.OptionsColumn.AllowEdit = false;

            //column = gridView1.Columns.Add();
            //column.Caption = "额定电压";
            //column.FieldName = "RateVolt";
            //column.Width = 100;
            //column.VisibleIndex = 7;
            //column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "线路长度";
            column.FieldName               = "LineLength";
            column.Width                   = 100;
            column.VisibleIndex            = 6;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "开工年份";
            column.FieldName               = "Date1";
            column.Width                   = 100;
            column.VisibleIndex            = 7;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "投产年份";
            column.FieldName               = "OperationYear";
            column.Width                   = 100;
            column.VisibleIndex            = 8;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "退役年份";
            column.FieldName               = "Date2";
            column.Width                   = 100;
            column.VisibleIndex            = 9;
            column.OptionsColumn.AllowEdit = false;

            column              = gridView1.Columns.Add();
            column.Caption      = "查看";
            column.FieldName    = "ProjectID";
            column.Width        = 100;
            column.VisibleIndex = 10;
            // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();

            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption    = "详情";
            repositoryItemHyperLinkEdit1.Name       = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click     += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);
            column.ColumnEdit = repositoryItemHyperLinkEdit1;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "导线型号";
            column.FieldName               = "LineType";
            column.Width                   = 100;
            column.VisibleIndex            = 11;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "电阻";
            column.FieldName               = "LineR";
            column.Width                   = 100;
            column.VisibleIndex            = 12;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "电抗";
            column.FieldName               = "LineTQ";
            column.Width                   = 100;
            column.VisibleIndex            = 13;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "B/2";
            column.FieldName               = "LineGNDC";
            column.Width                   = 100;
            column.VisibleIndex            = 14;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "零序电阻";
            column.FieldName               = "ZeroR";
            column.Width                   = 100;
            column.VisibleIndex            = 15;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "零序电抗";
            column.FieldName               = "ZeroTQ";
            column.Width                   = 100;
            column.VisibleIndex            = 16;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "B0/2";
            column.FieldName               = "ZeroGNDC";
            column.Width                   = 100;
            column.VisibleIndex            = 17;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "额定容量";
            column.FieldName               = "Burthen";
            column.Width                   = 100;
            column.VisibleIndex            = 18;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "运行状态";
            column.FieldName               = "KSwitchStatus";
            column.Width                   = 100;
            column.VisibleIndex            = 19;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "单位";
            column.FieldName               = "UnitFlag";
            column.Width                   = 100;
            column.VisibleIndex            = 20;
            column.OptionsColumn.AllowEdit = false;



            //column = gridView1.Columns.Add();
            //column.Caption = "一次侧连接开关";
            //column.FieldName = "ISwitch";
            //column.Width = 100;
            //column.VisibleIndex = 20;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "二次侧连接开关";
            //column.FieldName = "JSwitch";
            //column.Width = 100;
            //column.VisibleIndex = 21;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "电网类型";
            //column.FieldName = "DQ";
            //column.Width = 100;
            //column.VisibleIndex = 22;
            //column.OptionsColumn.AllowEdit = false;
        }
示例#26
0
        protected override void AddColumnsToGridView(string strTableName, GridView gridView)
        {
            base.AddColumnsToGridView(strTableName, gridView);
            GridColumn column = new GridColumn();

            column.Caption   = "Tên nhân viên";
            column.FieldName = "EmployeeName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Thứ";
            column.FieldName = "ThName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Bộ phận";
            column.FieldName = "HRDepartmentRoomName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Tổ";
            column.FieldName = "HRDepartmentRoomGroupItemName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Nhóm chấm công";
            column.FieldName = "HREmployeePayrollFormulaName";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Vào/Ra";
            column.FieldName = "HRTimeKeeperCompleteInOutMode";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column           = new GridColumn();
            column.Caption   = "Xóa dữ liệu";
            column.FieldName = "DiscardItem";
            RepositoryItemHyperLinkEdit rep = new RepositoryItemHyperLinkEdit();

            rep.NullText      = "Hủy";
            rep.LinkColor     = Color.Blue;
            rep.Click        += new EventHandler(rep_Click);
            column.ColumnEdit = rep;
            gridView.Columns.Add(column);

            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompletesEmployeeCardNo"];
            if (column != null)
            {
                column.Group();
            }

            column = new GridColumn();
            column = gridView.Columns["HRTimeKeeperCompleteDate"];
            if (column != null)
            {
                column.Group();
            }

            column           = new GridColumn();
            column.Caption   = "Ca làm việc";
            column.FieldName = "FK_ADWorkingShiftID";
            column.OptionsColumn.AllowEdit = false;
            gridView.Columns.Add(column);

            column = gridView.Columns["FK_ADWorkingShiftID"];
            if (column != null)
            {
                column.Group();
            }
        }
示例#27
0
        private void Updated_Score_Board()
        {
            SplashScreenManager.ShowForm(this, typeof(Ordermanagement_01.Masters.WaitForm1), true, true, false);
            try
            {
                gridControlScoreBoard.DataSource = null;
                gridViewScoreBoard.Columns.Clear();
                DateTime d1 = DateTime.Now;
                d1 = d1.AddDays(-1);
                Hashtable ht_Score1 = new Hashtable();

                System.Data.DataTable dt_Score1 = new System.Data.DataTable();
                dt_Score1.Clear();

                Hashtable             ht_Get_User_Orders = new Hashtable();
                System.Data.DataTable dt_Get_User_Orders = new System.Data.DataTable();

                if (userRoleId == 2)
                {
                    ht_Get_User_Orders.Add("@Trans", "CALCUATE_MONTHLY_WISE_USER_EFFECINECY_BY_USER_ID_SCORE_BOARD2");
                }
                else
                {
                    ht_Get_User_Orders.Add("@Trans", "CALCUATE_MONTHLY_WISE_USER_EFFECINECY_FOR_SCORE_BOARD2");
                }

                ht_Get_User_Orders.Add("@User_Id", userId);
                ht_Get_User_Orders.Add("@Month", lookUpEditMonth.EditValue.ToString()); //ddl_Month.SelectedValue.ToString()
                ht_Get_User_Orders.Add("@Years", lookUpEditYear.EditValue.ToString());  //ddl_Year.SelectedValue.ToString()
                dt_Get_User_Orders = dataaccess.ExecuteSP("Sp_Score_Board", ht_Get_User_Orders);


                Hashtable ht_Score = new Hashtable();

                System.Data.DataTable dt_Score  = new System.Data.DataTable();
                System.Data.DataTable dt_Score2 = new System.Data.DataTable();
                dt_Score2.Clear();



                if (userRoleId == 2)
                {
                    ht_Score.Add("@Trans", "GET_USER_NEWLY_UPDATED_ORDER_EFFECINECY_USER_ID_WISE");
                }
                else
                {
                    // Insert to temp table data
                    Hashtable ht_Temp_Score = new Hashtable();

                    System.Data.DataTable dt_Temp_Score = new System.Data.DataTable();
                    ht_Temp_Score.Add("@Trans", "INSERT_EFF_TO_TEMP");
                    dt_Temp_Score = dataaccess.ExecuteSP("Sp_Score_Board", ht_Temp_Score);

                    if (checkEditProductionTimeWise.Checked == true)
                    {
                        ht_Score.Add("@Trans", "GET_USER_UPDATED_NEW_ORDER_EFFECINECY");
                    }
                    else if (checkEditTargetWise.Checked == true)
                    {
                        ht_Score.Add("@Trans", "GET_USER_UPDATED_TARGET_WISE_ORDER_EFFECINECY");
                    }
                }

                ht_Score.Add("@User_Id", userId);
                dt_Score2 = dataaccess.ExecuteSP("Sp_Score_Board", ht_Score);

                Hashtable             htget_Avg_Total_eff = new Hashtable();
                System.Data.DataTable dtget_Avg_Total_Eff = new System.Data.DataTable();

                if (userRoleId == 2)
                {
                    htget_Avg_Total_eff.Add("@Trans", "GET_NEWLY_UPDATED_AVG_EFF_BY_USER_ID");
                }
                else
                {
                    if (checkEditProductionTimeWise.Checked == true)
                    {
                        htget_Avg_Total_eff.Add("@Trans", "GET_NEWLY_UPDATED_AVG_EFF");
                    }
                    else if (checkEditTargetWise.Checked == true)
                    {
                        htget_Avg_Total_eff.Add("@Trans", "GET_NEWLY_TARGETED_UPDATED_AVG_EFF");
                    }
                }
                htget_Avg_Total_eff.Add("@User_Id", userId);
                dtget_Avg_Total_Eff = dataaccess.ExecuteSP("Sp_Score_Board", htget_Avg_Total_eff);

                System.Data.DataTable dt_Final_Score1 = new System.Data.DataTable();

                var collection = from t1 in dt_Score2.AsEnumerable()
                                 join t2 in dtget_Avg_Total_Eff.AsEnumerable()
                                 on t1["User_Id"] equals t2["User_Id"]
                                 select new
                {
                    User_Id         = t1["User_Id"],
                    User_Name       = t1["User_Name"],
                    Branch_Name     = t1["Branch_Name"],
                    DRN_Emp_Code    = t1["DRN_Emp_Code"],
                    Emp_Job_Role    = t1["Emp_Job_Role"],
                    Operation_Type  = t1["Operation_Type"],
                    Shift_Type_Name = t1["Shift_Type_Name"],
                    Reporting_To_1  = t1["Reporting_To_1"],
                    Reporting_To_2  = t1["Reporting_To_2"],
                    Avg_Eff         = t2["Avg_Eff"],
                    D1  = t1["1"],
                    D2  = t1["2"],
                    D3  = t1["3"],
                    D4  = t1["4"],
                    D5  = t1["5"],
                    D6  = t1["6"],
                    D7  = t1["7"],
                    D8  = t1["8"],
                    D9  = t1["9"],
                    D10 = t1["10"],
                    D11 = t1["11"],
                    D12 = t1["12"],
                    D13 = t1["13"],
                    D14 = t1["14"],
                    D15 = t1["15"],
                    D16 = t1["16"],
                    D17 = t1["17"],
                    D18 = t1["18"],
                    D19 = t1["19"],
                    D20 = t1["20"],
                    D21 = t1["21"],
                    D22 = t1["22"],
                    D23 = t1["23"],
                    D24 = t1["24"],
                    D25 = t1["25"],
                    D26 = t1["26"],
                    D27 = t1["27"],
                    D28 = t1["28"],
                    D29 = t1["29"],
                    D30 = t1["30"],
                    D31 = t1["31"],
                };
                System.Data.DataTable result = new System.Data.DataTable("Final_Data");
                result.Columns.Add("User_Id", typeof(string));
                result.Columns.Add("User_Name", typeof(string));
                result.Columns.Add("Branch_Name", typeof(string));
                result.Columns.Add("DRN_Emp_Code", typeof(string));
                result.Columns.Add("Emp_Job_Role", typeof(string));
                result.Columns.Add("Operation_Type", typeof(string));
                result.Columns.Add("Shift_Type_Name", typeof(string));
                result.Columns.Add("Reporting_To_1", typeof(string));
                result.Columns.Add("Reporting_To_2", typeof(string));
                result.Columns.Add("Avg_Eff", typeof(string));

                System.Data.DataTable dt_Final_Score        = new System.Data.DataTable();
                Hashtable             htgetfirst_Last_Dates = new Hashtable();
                System.Data.DataTable dtgetfirst_last_Dates = new System.Data.DataTable();

                htgetfirst_Last_Dates.Add("@Trans", "GET_FIRST_LAST_DATE");
                htgetfirst_Last_Dates.Add("@Month", int.Parse(lookUpEditMonth.EditValue.ToString()));
                htgetfirst_Last_Dates.Add("@Years", int.Parse(lookUpEditYear.EditValue.ToString()));
                dtgetfirst_last_Dates = dataaccess.ExecuteSP("Sp_Score_Board", htgetfirst_Last_Dates);

                Hashtable htdatecolumn = new Hashtable();

                System.Data.DataTable dtdatecolumn = new System.Data.DataTable();
                htdatecolumn.Add("@Trans", "GET_DATES");
                htdatecolumn.Add("@date_from1", dtgetfirst_last_Dates.Rows[0]["First_Date"].ToString());
                htdatecolumn.Add("@date_to1", dtgetfirst_last_Dates.Rows[0]["Last_Date"].ToString());
                dtdatecolumn = dataaccess.ExecuteSP("Sp_Score_Board", htdatecolumn);
                foreach (DataRow row in dtdatecolumn.Rows)
                {
                    result.Columns.Add(row["dts"].ToString(), typeof(object));
                }
                if (lookUpEditMonth.EditValue.ToString() == "2")
                {
                    if (result.Columns.Contains("29/02"))
                    {
                        foreach (var item in collection)
                        {
                            result.Rows.Add(item.User_Id, item.User_Name, item.Branch_Name, item.DRN_Emp_Code, item.Emp_Job_Role, item.Operation_Type, item.Shift_Type_Name, item.Reporting_To_1, item.Reporting_To_2, item.Avg_Eff, item.D1, item.D2, item.D3, item.D4, item.D5, item.D6, item.D7, item.D8, item.D9, item.D10,
                                            item.D11, item.D12, item.D13, item.D14, item.D15, item.D16, item.D17, item.D18, item.D19, item.D20, item.D21, item.D22, item.D23, item.D24, item.D25, item.D26, item.D27, item.D28, item.D29);
                        }
                    }
                    else
                    {
                        foreach (var item in collection)
                        {
                            result.Rows.Add(item.User_Id, item.User_Name, item.Branch_Name, item.DRN_Emp_Code, item.Emp_Job_Role, item.Operation_Type, item.Shift_Type_Name, item.Reporting_To_1, item.Reporting_To_2, item.Avg_Eff, item.D1, item.D2, item.D3, item.D4, item.D5, item.D6, item.D7, item.D8, item.D9, item.D10,
                                            item.D11, item.D12, item.D13, item.D14, item.D15, item.D16, item.D17, item.D18, item.D19, item.D20, item.D21, item.D22, item.D23, item.D24, item.D25, item.D26, item.D27, item.D28);
                        }
                    }
                }
                else
                {
                    if (result.Columns.Contains("31/" + GetDigitAppended(lookUpEditMonth.EditValue.ToString())))
                    {
                        foreach (var item in collection)
                        {
                            result.Rows.Add(item.User_Id, item.User_Name, item.Branch_Name, item.DRN_Emp_Code, item.Emp_Job_Role, item.Operation_Type, item.Shift_Type_Name, item.Reporting_To_1, item.Reporting_To_2, item.Avg_Eff, item.D1, item.D2, item.D3, item.D4, item.D5, item.D6, item.D7, item.D8, item.D9, item.D10,
                                            item.D11, item.D12, item.D13, item.D14, item.D15, item.D16, item.D17, item.D18, item.D19, item.D20, item.D21, item.D22, item.D23, item.D24, item.D25, item.D26, item.D27, item.D28, item.D29, item.D30, item.D31);
                        }
                    }
                    else
                    {
                        foreach (var item in collection)
                        {
                            result.Rows.Add(item.User_Id, item.User_Name, item.Branch_Name, item.DRN_Emp_Code, item.Emp_Job_Role, item.Operation_Type, item.Shift_Type_Name, item.Reporting_To_1, item.Reporting_To_2, item.Avg_Eff, item.D1, item.D2, item.D3, item.D4, item.D5, item.D6, item.D7, item.D8, item.D9, item.D10,
                                            item.D11, item.D12, item.D13, item.D14, item.D15, item.D16, item.D17, item.D18, item.D19, item.D20, item.D21, item.D22, item.D23, item.D24, item.D25, item.D26, item.D27, item.D28, item.D29, item.D30);
                        }
                    }
                }

                if (result.Rows.Count > 0)
                {
                    gridControlScoreBoard.DataSource = result;
                    gridViewScoreBoard.Columns.ColumnByFieldName("User_Id").Visible = false;
                    gridViewScoreBoard.Columns.ColumnByFieldName("User_Name").OptionsColumn.AllowFocus = false;
                    gridViewScoreBoard.BestFitColumns();
                    gridViewScoreBoard.ShowFindPanel();
                    foreach (GridColumn column in ((DevExpress.XtraGrid.Views.Base.ColumnView)gridControlScoreBoard.Views[0]).Columns)
                    {
                        if (column.FieldName == "User_Name")
                        {
                            column.Fixed = FixedStyle.Left;
                        }
                        if (column.FieldName == "Avg_Eff")
                        {
                            column.FilterMode = ColumnFilterMode.DisplayText;
                            column.SortMode   = ColumnSortMode.DisplayText;
                            column.OptionsColumn.AllowSort = DefaultBoolean.True;
                        }
                        if (column.FieldName != "User_Name" && column.FieldName != "Branch_Name" && column.FieldName != "DRN_Emp_Code" &&
                            column.FieldName != "Emp_Job_Role" && column.FieldName != "Shift_Type_Name" && column.FieldName != "Reporting_To_1" &&
                            column.FieldName != "Reporting_To_2" && column.FieldName != "Avg_Eff" && column.FieldName != "Operation_Type")
                        {
                            RepositoryItemHyperLinkEdit edit = new RepositoryItemHyperLinkEdit();
                            edit.Appearance.ForeColor            = Color.Blue;
                            edit.Appearance.Options.UseForeColor = true;
                            column.ColumnEdit = edit;
                            column.FilterMode = ColumnFilterMode.DisplayText;
                            column.SortMode   = ColumnSortMode.DisplayText;
                            column.OptionsColumn.AllowSort = DefaultBoolean.True;
                        }
                    }
                }
                else
                {
                    SplashScreenManager.CloseForm(false);
                    XtraMessageBox.Show("Data not found");
                }
            }
            catch (Exception e)
            {
                SplashScreenManager.CloseForm(false);
                XtraMessageBox.Show("Something went wrong check with admin");
            }
            finally
            {
                SplashScreenManager.CloseForm(false);
            }
        }
示例#28
0
        /// <summary>
        /// �����豸��ʾ��
        /// </summary>
        public override void InitColumns()
        {
            string s=" ProjectID='"+Itop.Client.MIS.ProgUID+"'";
            IList list=Services.BaseService.GetList("SelectPS_Table_AreaWHByConn",s);
            DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit1=new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            //repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
            //
            // repositoryItemLookUpEdit1
            //
            repositoryItemLookUpEdit1.AutoHeight = false;
            repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            repositoryItemLookUpEdit1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default, DevExpress.Data.ColumnSortOrder.None),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Title")});
            repositoryItemLookUpEdit1.DisplayMember = "Title";
            repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
            repositoryItemLookUpEdit1.NullText = "";
            repositoryItemLookUpEdit1.ValueMember = "ID";
            repositoryItemLookUpEdit1.DataSource = list;

            GridColumn column = gridView1.Columns.Add();
            column.Caption = "��·����";
            column.FieldName = "Name";
            column.Width = 100;
            column.VisibleIndex = 1;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "��·���";
            //column.FieldName = "Number";
            //column.Width = 100;
            //column.VisibleIndex = 2;
            //column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "��ѹ�ȼ�";
            column.FieldName = "ReferenceVolt";
            column.Width = 100;
            column.VisibleIndex = 2;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "���ѹ";
            column.FieldName = "RateVolt";
            column.Width = 100;
            column.VisibleIndex = 2;
            column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "��������";
            column.FieldName = "AreaID";
            column.ColumnEdit = repositoryItemLookUpEdit1;
            column.Width = 100;
            column.VisibleIndex = 3;
            column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "i��ĸ����";
            column.FieldName = "IName";
            column.Width = 100;
            column.VisibleIndex = 4;
            column = gridView1.Columns.Add();
            column.Caption = "j��ĸ����";
            column.FieldName = "JName";
            column.Width = 100;
            column.VisibleIndex = 5;
            column.OptionsColumn.AllowEdit = false;

            //column = gridView1.Columns.Add();
            //column.Caption = "���ѹ";
            //column.FieldName = "RateVolt";
            //column.Width = 100;
            //column.VisibleIndex = 7;
            //column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��·����";
            column.FieldName = "LineLength";
            column.Width = 100;
            column.VisibleIndex = 6;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "Date1";
            column.Width = 100;
            column.VisibleIndex = 7;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "Ͷ�����";
            column.FieldName = "OperationYear";
            column.Width = 100;
            column.VisibleIndex = 8;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "Date2";
            column.Width = 100;
            column.VisibleIndex = 9;
            column.OptionsColumn.AllowEdit = false;

            column = gridView1.Columns.Add();
            column.Caption = "�鿴";
            column.FieldName = "ProjectID";
            column.Width = 100;
            column.VisibleIndex = 10;
            // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();
            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption = "����";
            repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);
            column.ColumnEdit = repositoryItemHyperLinkEdit1;

            column = gridView1.Columns.Add();
            column.Caption = "�����ͺ�";
            column.FieldName = "LineType";
            column.Width = 100;
            column.VisibleIndex = 11;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "����";
            column.FieldName = "LineR";
            column.Width = 100;
            column.VisibleIndex = 12;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�翹";
            column.FieldName = "LineTQ";
            column.Width = 100;
            column.VisibleIndex = 13;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "B/2";
            column.FieldName = "LineGNDC";
            column.Width = 100;
            column.VisibleIndex = 14;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�������";
            column.FieldName = "ZeroR";
            column.Width = 100;
            column.VisibleIndex = 15;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "����翹";
            column.FieldName = "ZeroTQ";
            column.Width = 100;
            column.VisibleIndex = 16;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "B0/2";
            column.FieldName = "ZeroGNDC";
            column.Width = 100;
            column.VisibleIndex = 17;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "�����";
            column.FieldName = "Burthen";
            column.Width = 100;
            column.VisibleIndex = 18;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "����״̬";
            column.FieldName = "KSwitchStatus";
            column.Width = 100;
            column.VisibleIndex = 19;
            column.OptionsColumn.AllowEdit = false;
            column = gridView1.Columns.Add();
            column.Caption = "��λ";
            column.FieldName = "UnitFlag";
            column.Width = 100;
            column.VisibleIndex = 20;
            column.OptionsColumn.AllowEdit = false;

            //column = gridView1.Columns.Add();
            //column.Caption = "һ�β����ӿ���";
            //column.FieldName = "ISwitch";
            //column.Width = 100;
            //column.VisibleIndex = 20;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "���β����ӿ���";
            //column.FieldName = "JSwitch";
            //column.Width = 100;
            //column.VisibleIndex = 21;
            //column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "��������";
            //column.FieldName = "DQ";
            //column.Width = 100;
            //column.VisibleIndex = 22;
            //column.OptionsColumn.AllowEdit = false;
        }
示例#29
0
 private void InitializeComponent()
 {
     this.gpgGroupBoxResults = new GPGGroupBox();
     this.skinLabelPage = new SkinLabel();
     this.dgReplays = new GPGDataGrid();
     this.gvReplays = new GridView();
     this.colPlayerName = new GridColumn();
     this.colOpponent = new GridColumn();
     this.colTitle = new GridColumn();
     this.colMap = new GridColumn();
     this.colGameType = new GridColumn();
     this.colGameDate = new GridColumn();
     this.gcGameLength = new GridColumn();
     this.gcDownloads = new GridColumn();
     this.gcRating = new GridColumn();
     this.repositoryItemRatingStars = new RepositoryItemPictureEdit();
     this.gcChatLink = new GridColumn();
     this.repositoryItemChatLink = new RepositoryItemHyperLinkEdit();
     this.skinButtonStart = new SkinButton();
     this.skinButtonNext = new SkinButton();
     this.skinButtonPrevious = new SkinButton();
     this.gpgGroupBoxCriterial = new GPGGroupBox();
     this.gpgTextBoxKeywords = new GPGTextBox();
     this.comboBoxOpponentFaction = new System.Windows.Forms.ComboBox();
     this.gpgLabel7 = new GPGLabel();
     this.comboBoxPlayerFaction = new System.Windows.Forms.ComboBox();
     this.gpgLabel6 = new GPGLabel();
     this.comboBoxGameType = new System.Windows.Forms.ComboBox();
     this.gpgLabel5 = new GPGLabel();
     this.comboBoxMaps = new System.Windows.Forms.ComboBox();
     this.gpgLabelMap = new GPGLabel();
     this.dateEditEarliest = new DateEdit();
     this.dateEditLatest = new DateEdit();
     this.gpgLabel4 = new GPGLabel();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel2 = new GPGLabel();
     this.gpgTextBoxPlayer = new GPGTextBox();
     this.gpgLabel1 = new GPGLabel();
     this.skinButtonSearch = new SkinButton();
     this.gpgContextMenuDownload = new GPGContextMenu();
     this.ciDownload_View = new MenuItem();
     this.ciDownload_Download = new MenuItem();
     this.gpgLabelTopRated = new GPGLabel();
     this.gpgLabelTopDownload = new GPGLabel();
     this.gpgLabelMostRecent = new GPGLabel();
     this.gpgGroupBoxReplayLists = new GPGGroupBox();
     this.gpgPanelReplayLists = new GPGPanel();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.gpgGroupBoxResults.SuspendLayout();
     this.dgReplays.BeginInit();
     this.gvReplays.BeginInit();
     this.repositoryItemRatingStars.BeginInit();
     this.repositoryItemChatLink.BeginInit();
     this.gpgGroupBoxCriterial.SuspendLayout();
     this.gpgTextBoxKeywords.Properties.BeginInit();
     this.dateEditEarliest.Properties.BeginInit();
     this.dateEditLatest.Properties.BeginInit();
     this.gpgTextBoxPlayer.Properties.BeginInit();
     this.gpgGroupBoxReplayLists.SuspendLayout();
     this.gpgPanelReplayLists.SuspendLayout();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x284, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgGroupBoxResults.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgGroupBoxResults.Controls.Add(this.skinLabelPage);
     this.gpgGroupBoxResults.Controls.Add(this.dgReplays);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonStart);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonNext);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonPrevious);
     this.gpgGroupBoxResults.Location = new Point(12, 0x8f);
     this.gpgGroupBoxResults.Name = "gpgGroupBoxResults";
     this.gpgGroupBoxResults.Size = new Size(680, 0xd4);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxResults, null);
     this.gpgGroupBoxResults.TabIndex = 7;
     this.gpgGroupBoxResults.TabStop = false;
     this.gpgGroupBoxResults.Text = "<LOC>Search Results";
     this.skinLabelPage.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinLabelPage.AutoStyle = false;
     this.skinLabelPage.BackColor = Color.Transparent;
     this.skinLabelPage.DrawEdges = true;
     this.skinLabelPage.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabelPage.ForeColor = Color.White;
     this.skinLabelPage.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabelPage.IsStyled = false;
     this.skinLabelPage.Location = new Point(0x55, 0xb8);
     this.skinLabelPage.Name = "skinLabelPage";
     this.skinLabelPage.Size = new Size(550, 0x16);
     this.skinLabelPage.SkinBasePath = @"Controls\Background Label\BlackBar";
     base.ttDefault.SetSuperTip(this.skinLabelPage, null);
     this.skinLabelPage.TabIndex = 0x19;
     this.skinLabelPage.Text = "<LOC>No Results";
     this.skinLabelPage.TextAlign = ContentAlignment.MiddleCenter;
     this.skinLabelPage.TextPadding = new Padding(0);
     this.dgReplays.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dgReplays.CustomizeStyle = false;
     this.dgReplays.EmbeddedNavigator.Name = "";
     this.dgReplays.Location = new Point(6, 0x13);
     this.dgReplays.MainView = this.gvReplays;
     this.dgReplays.Name = "dgReplays";
     this.dgReplays.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemRatingStars, this.repositoryItemChatLink });
     this.dgReplays.ShowOnlyPredefinedDetails = true;
     this.dgReplays.Size = new Size(0x29c, 0x9f);
     this.dgReplays.TabIndex = 0x18;
     this.dgReplays.ViewCollection.AddRange(new BaseView[] { this.gvReplays });
     this.gvReplays.Appearance.EvenRow.BackColor = Color.Black;
     this.gvReplays.Appearance.EvenRow.Options.UseBackColor = true;
     this.gvReplays.Appearance.OddRow.BackColor = Color.Black;
     this.gvReplays.Appearance.OddRow.Options.UseBackColor = true;
     this.gvReplays.Appearance.Preview.ForeColor = Color.Silver;
     this.gvReplays.Appearance.Preview.Options.UseForeColor = true;
     this.gvReplays.Columns.AddRange(new GridColumn[] { this.colPlayerName, this.colOpponent, this.colTitle, this.colMap, this.colGameType, this.colGameDate, this.gcGameLength, this.gcDownloads, this.gcRating, this.gcChatLink });
     this.gvReplays.GridControl = this.dgReplays;
     this.gvReplays.GroupPanelText = "<LOC>Select a replay to watch.";
     this.gvReplays.Name = "gvReplays";
     this.gvReplays.OptionsBehavior.Editable = false;
     this.gvReplays.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gvReplays.OptionsView.AutoCalcPreviewLineCount = true;
     this.gvReplays.OptionsView.RowAutoHeight = true;
     this.gvReplays.OptionsView.ShowPreview = true;
     this.gvReplays.PreviewFieldName = "GameInfo";
     this.gvReplays.MouseDown += new MouseEventHandler(this.gvReplays_MouseDown);
     this.gvReplays.DoubleClick += new EventHandler(this.gvReplays_DoubleClick);
     this.gvReplays.CustomColumnSort += new CustomColumnSortEventHandler(this.gvReplays_CustomColumnSort);
     this.gvReplays.MouseUp += new MouseEventHandler(this.gvReplays_MouseUp);
     this.colPlayerName.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.colPlayerName.AppearanceCell.ForeColor = Color.Green;
     this.colPlayerName.AppearanceCell.Options.UseFont = true;
     this.colPlayerName.AppearanceCell.Options.UseForeColor = true;
     this.colPlayerName.Caption = "<LOC>Player Name";
     this.colPlayerName.FieldName = "PlayerName";
     this.colPlayerName.Name = "colPlayerName";
     this.colPlayerName.Visible = true;
     this.colPlayerName.VisibleIndex = 0;
     this.colOpponent.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.colOpponent.AppearanceCell.ForeColor = Color.FromArgb(0xc0, 0, 0);
     this.colOpponent.AppearanceCell.Options.UseFont = true;
     this.colOpponent.AppearanceCell.Options.UseForeColor = true;
     this.colOpponent.Caption = "<LOC>Other Players";
     this.colOpponent.FieldName = "Opponent";
     this.colOpponent.Name = "colOpponent";
     this.colOpponent.Visible = true;
     this.colOpponent.VisibleIndex = 1;
     this.colTitle.Caption = "<LOC>Title";
     this.colTitle.FieldName = "Title";
     this.colTitle.Name = "colTitle";
     this.colTitle.Visible = true;
     this.colTitle.VisibleIndex = 3;
     this.colMap.Caption = "<LOC>Map";
     this.colMap.FieldName = "MapName";
     this.colMap.Name = "colMap";
     this.colMap.Visible = true;
     this.colMap.VisibleIndex = 2;
     this.colGameType.Caption = "<LOC>Game Type";
     this.colGameType.FieldName = "GameType";
     this.colGameType.Name = "colGameType";
     this.colGameType.Visible = true;
     this.colGameType.VisibleIndex = 4;
     this.colGameDate.Caption = "<LOC>Game Date";
     this.colGameDate.FieldName = "CreateDate";
     this.colGameDate.Name = "colGameDate";
     this.colGameDate.Visible = true;
     this.colGameDate.VisibleIndex = 5;
     this.gcGameLength.Caption = "<LOC>Game Length";
     this.gcGameLength.FieldName = "GameLength";
     this.gcGameLength.Name = "gcGameLength";
     this.gcGameLength.Visible = true;
     this.gcGameLength.VisibleIndex = 6;
     this.gcDownloads.AppearanceCell.Options.UseTextOptions = true;
     this.gcDownloads.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
     this.gcDownloads.Caption = "<LOC>Downloads";
     this.gcDownloads.FieldName = "Downloads";
     this.gcDownloads.Name = "gcDownloads";
     this.gcDownloads.Visible = true;
     this.gcDownloads.VisibleIndex = 7;
     this.gcRating.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.gcRating.AppearanceCell.ForeColor = Color.Gold;
     this.gcRating.AppearanceCell.Options.UseFont = true;
     this.gcRating.AppearanceCell.Options.UseForeColor = true;
     this.gcRating.AppearanceCell.Options.UseTextOptions = true;
     this.gcRating.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
     this.gcRating.Caption = "<LOC>Rating";
     this.gcRating.ColumnEdit = this.repositoryItemRatingStars;
     this.gcRating.FieldName = "RatingImage";
     this.gcRating.Name = "gcRating";
     this.gcRating.OptionsColumn.AllowSort = DefaultBoolean.True;
     this.gcRating.SortMode = ColumnSortMode.Custom;
     this.gcRating.Visible = true;
     this.gcRating.VisibleIndex = 8;
     this.repositoryItemRatingStars.Name = "repositoryItemRatingStars";
     this.gcChatLink.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
     this.gcChatLink.AppearanceCell.TextOptions.VAlignment = VertAlignment.Center;
     this.gcChatLink.Caption = "<LOC>Link to Chat";
     this.gcChatLink.ColumnEdit = this.repositoryItemChatLink;
     this.gcChatLink.FieldName = "ChatLink";
     this.gcChatLink.ImageAlignment = StringAlignment.Center;
     this.gcChatLink.Name = "gcChatLink";
     this.gcChatLink.OptionsColumn.AllowSort = DefaultBoolean.False;
     this.gcChatLink.Visible = true;
     this.gcChatLink.VisibleIndex = 9;
     this.repositoryItemChatLink.Appearance.Options.UseTextOptions = true;
     this.repositoryItemChatLink.Appearance.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.Appearance.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.Options.UseTextOptions = true;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AutoHeight = false;
     this.repositoryItemChatLink.LinkColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.repositoryItemChatLink.Name = "repositoryItemChatLink";
     this.repositoryItemChatLink.SingleClick = true;
     this.skinButtonStart.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonStart.AutoStyle = true;
     this.skinButtonStart.BackColor = Color.Black;
     this.skinButtonStart.DialogResult = DialogResult.OK;
     this.skinButtonStart.DisabledForecolor = Color.Gray;
     this.skinButtonStart.DrawEdges = false;
     this.skinButtonStart.FocusColor = Color.Yellow;
     this.skinButtonStart.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonStart.ForeColor = Color.White;
     this.skinButtonStart.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonStart.IsStyled = true;
     this.skinButtonStart.Location = new Point(6, 0xb8);
     this.skinButtonStart.Name = "skinButtonStart";
     this.skinButtonStart.Size = new Size(40, 0x16);
     this.skinButtonStart.SkinBasePath = @"Controls\Button\First";
     base.ttDefault.SetSuperTip(this.skinButtonStart, null);
     this.skinButtonStart.TabIndex = 5;
     this.skinButtonStart.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonStart.TextPadding = new Padding(0);
     this.skinButtonStart.Click += new EventHandler(this.skinButtonStart_Click);
     this.skinButtonNext.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonNext.AutoStyle = true;
     this.skinButtonNext.BackColor = Color.Black;
     this.skinButtonNext.DialogResult = DialogResult.OK;
     this.skinButtonNext.DisabledForecolor = Color.Gray;
     this.skinButtonNext.DrawEdges = false;
     this.skinButtonNext.FocusColor = Color.Yellow;
     this.skinButtonNext.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonNext.ForeColor = Color.White;
     this.skinButtonNext.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonNext.IsStyled = true;
     this.skinButtonNext.Location = new Point(0x27a, 0xb8);
     this.skinButtonNext.Name = "skinButtonNext";
     this.skinButtonNext.Size = new Size(40, 0x16);
     this.skinButtonNext.SkinBasePath = @"Controls\Button\Next_End";
     base.ttDefault.SetSuperTip(this.skinButtonNext, null);
     this.skinButtonNext.TabIndex = 7;
     this.skinButtonNext.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonNext.TextPadding = new Padding(0);
     this.skinButtonNext.Click += new EventHandler(this.skinButtonNext_Click);
     this.skinButtonPrevious.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonPrevious.AutoStyle = true;
     this.skinButtonPrevious.BackColor = Color.Black;
     this.skinButtonPrevious.DialogResult = DialogResult.OK;
     this.skinButtonPrevious.DisabledForecolor = Color.Gray;
     this.skinButtonPrevious.DrawEdges = false;
     this.skinButtonPrevious.FocusColor = Color.Yellow;
     this.skinButtonPrevious.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonPrevious.ForeColor = Color.White;
     this.skinButtonPrevious.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonPrevious.IsStyled = true;
     this.skinButtonPrevious.Location = new Point(0x2e, 0xb8);
     this.skinButtonPrevious.Name = "skinButtonPrevious";
     this.skinButtonPrevious.Size = new Size(40, 0x16);
     this.skinButtonPrevious.SkinBasePath = @"Controls\Button\Previous";
     base.ttDefault.SetSuperTip(this.skinButtonPrevious, null);
     this.skinButtonPrevious.TabIndex = 6;
     this.skinButtonPrevious.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonPrevious.TextPadding = new Padding(0);
     this.skinButtonPrevious.Click += new EventHandler(this.skinButtonPrevious_Click);
     this.gpgGroupBoxCriterial.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgTextBoxKeywords);
     this.gpgGroupBoxCriterial.Controls.Add(this.comboBoxOpponentFaction);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel7);
     this.gpgGroupBoxCriterial.Controls.Add(this.comboBoxPlayerFaction);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel6);
     this.gpgGroupBoxCriterial.Controls.Add(this.comboBoxGameType);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel5);
     this.gpgGroupBoxCriterial.Controls.Add(this.comboBoxMaps);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabelMap);
     this.gpgGroupBoxCriterial.Controls.Add(this.dateEditEarliest);
     this.gpgGroupBoxCriterial.Controls.Add(this.dateEditLatest);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel4);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel3);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel2);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgTextBoxPlayer);
     this.gpgGroupBoxCriterial.Controls.Add(this.gpgLabel1);
     this.gpgGroupBoxCriterial.Controls.Add(this.skinButtonSearch);
     this.gpgGroupBoxCriterial.Location = new Point(12, 0x169);
     this.gpgGroupBoxCriterial.Name = "gpgGroupBoxCriterial";
     this.gpgGroupBoxCriterial.Size = new Size(680, 0xa7);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxCriterial, null);
     this.gpgGroupBoxCriterial.TabIndex = 8;
     this.gpgGroupBoxCriterial.TabStop = false;
     this.gpgGroupBoxCriterial.Text = "<LOC>Search Criteria";
     this.gpgTextBoxKeywords.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxKeywords.Location = new Point(5, 0x8d);
     this.gpgTextBoxKeywords.Name = "gpgTextBoxKeywords";
     this.gpgTextBoxKeywords.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxKeywords.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxKeywords.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxKeywords.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxKeywords.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxKeywords.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxKeywords.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxKeywords.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxKeywords.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxKeywords.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxKeywords.Size = new Size(0x1d8, 20);
     this.gpgTextBoxKeywords.TabIndex = 0x18;
     this.comboBoxOpponentFaction.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.comboBoxOpponentFaction.BackColor = Color.Black;
     this.comboBoxOpponentFaction.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxOpponentFaction.Enabled = false;
     this.comboBoxOpponentFaction.FlatStyle = FlatStyle.Flat;
     this.comboBoxOpponentFaction.FormattingEnabled = true;
     this.comboBoxOpponentFaction.ItemHeight = 13;
     this.comboBoxOpponentFaction.Location = new Point(0x156, 0x5c);
     this.comboBoxOpponentFaction.MaxDropDownItems = 12;
     this.comboBoxOpponentFaction.Name = "comboBoxOpponentFaction";
     this.comboBoxOpponentFaction.Size = new Size(0x87, 0x15);
     base.ttDefault.SetSuperTip(this.comboBoxOpponentFaction, null);
     this.comboBoxOpponentFaction.TabIndex = 0x17;
     this.gpgLabel7.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel7.AutoSize = true;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.Font = new Font("Arial", 9.75f);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(0x153, 0x49);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(0x99, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel7, null);
     this.gpgLabel7.TabIndex = 0x16;
     this.gpgLabel7.Text = "<LOC>Opponent Faction";
     this.gpgLabel7.TextStyle = TextStyles.Title;
     this.comboBoxPlayerFaction.Anchor = AnchorStyles.Top;
     this.comboBoxPlayerFaction.BackColor = Color.Black;
     this.comboBoxPlayerFaction.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxPlayerFaction.Enabled = false;
     this.comboBoxPlayerFaction.FlatStyle = FlatStyle.Flat;
     this.comboBoxPlayerFaction.FormattingEnabled = true;
     this.comboBoxPlayerFaction.ItemHeight = 13;
     this.comboBoxPlayerFaction.Location = new Point(0xae, 0x5c);
     this.comboBoxPlayerFaction.MaxDropDownItems = 12;
     this.comboBoxPlayerFaction.Name = "comboBoxPlayerFaction";
     this.comboBoxPlayerFaction.Size = new Size(0x7a, 0x15);
     base.ttDefault.SetSuperTip(this.comboBoxPlayerFaction, null);
     this.comboBoxPlayerFaction.TabIndex = 0x15;
     this.gpgLabel6.Anchor = AnchorStyles.Top;
     this.gpgLabel6.AutoSize = true;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.Font = new Font("Arial", 9.75f);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0xab, 0x48);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x86, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel6, null);
     this.gpgLabel6.TabIndex = 20;
     this.gpgLabel6.Text = "<LOC>Player Faction";
     this.gpgLabel6.TextStyle = TextStyles.Title;
     this.comboBoxGameType.BackColor = Color.Black;
     this.comboBoxGameType.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxGameType.FlatStyle = FlatStyle.Flat;
     this.comboBoxGameType.FormattingEnabled = true;
     this.comboBoxGameType.ItemHeight = 13;
     this.comboBoxGameType.Location = new Point(5, 0x5c);
     this.comboBoxGameType.MaxDropDownItems = 12;
     this.comboBoxGameType.Name = "comboBoxGameType";
     this.comboBoxGameType.Size = new Size(0x7a, 0x15);
     base.ttDefault.SetSuperTip(this.comboBoxGameType, null);
     this.comboBoxGameType.TabIndex = 0x13;
     this.comboBoxGameType.SelectedIndexChanged += new EventHandler(this.comboBoxGameType_SelectedIndexChanged);
     this.gpgLabel5.AutoSize = true;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.Font = new Font("Arial", 9.75f);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(2, 0x48);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x75, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel5, null);
     this.gpgLabel5.TabIndex = 0x12;
     this.gpgLabel5.Text = "<LOC>Game Type";
     this.gpgLabel5.TextStyle = TextStyles.Title;
     this.comboBoxMaps.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.comboBoxMaps.BackColor = Color.Black;
     this.comboBoxMaps.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxMaps.FlatStyle = FlatStyle.Flat;
     this.comboBoxMaps.FormattingEnabled = true;
     this.comboBoxMaps.ItemHeight = 13;
     this.comboBoxMaps.Location = new Point(0x11b, 0x2b);
     this.comboBoxMaps.MaxDropDownItems = 12;
     this.comboBoxMaps.Name = "comboBoxMaps";
     this.comboBoxMaps.Size = new Size(0xc2, 0x15);
     base.ttDefault.SetSuperTip(this.comboBoxMaps, null);
     this.comboBoxMaps.TabIndex = 0x11;
     this.gpgLabelMap.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabelMap.AutoSize = true;
     this.gpgLabelMap.AutoStyle = true;
     this.gpgLabelMap.Font = new Font("Arial", 9.75f);
     this.gpgLabelMap.ForeColor = Color.White;
     this.gpgLabelMap.IgnoreMouseWheel = false;
     this.gpgLabelMap.IsStyled = false;
     this.gpgLabelMap.Location = new Point(280, 0x1a);
     this.gpgLabelMap.Name = "gpgLabelMap";
     this.gpgLabelMap.Size = new Size(0x4b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelMap, null);
     this.gpgLabelMap.TabIndex = 0x10;
     this.gpgLabelMap.Text = "<LOC>Map";
     this.gpgLabelMap.TextStyle = TextStyles.Title;
     this.dateEditEarliest.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.dateEditEarliest.EditValue = "";
     this.dateEditEarliest.Location = new Point(0x1f0, 0x2d);
     this.dateEditEarliest.Name = "dateEditEarliest";
     this.dateEditEarliest.Properties.AllowNullInput = DefaultBoolean.False;
     this.dateEditEarliest.Properties.Appearance.BackColor = Color.Black;
     this.dateEditEarliest.Properties.Appearance.BorderColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.dateEditEarliest.Properties.Appearance.ForeColor = Color.FromArgb(0xe0, 0xe0, 0xe0);
     this.dateEditEarliest.Properties.Appearance.Options.UseBackColor = true;
     this.dateEditEarliest.Properties.Appearance.Options.UseBorderColor = true;
     this.dateEditEarliest.Properties.Appearance.Options.UseForeColor = true;
     this.dateEditEarliest.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
     this.dateEditEarliest.Properties.LookAndFeel.Style = LookAndFeelStyle.UltraFlat;
     this.dateEditEarliest.Properties.LookAndFeel.UseWindowsXPTheme = true;
     this.dateEditEarliest.Size = new Size(0xb1, 20);
     this.dateEditEarliest.TabIndex = 15;
     this.dateEditLatest.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.dateEditLatest.EditValue = "";
     this.dateEditLatest.Location = new Point(0x1f0, 0x5d);
     this.dateEditLatest.Name = "dateEditLatest";
     this.dateEditLatest.Properties.AllowNullInput = DefaultBoolean.False;
     this.dateEditLatest.Properties.Appearance.BackColor = Color.Black;
     this.dateEditLatest.Properties.Appearance.BorderColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.dateEditLatest.Properties.Appearance.ForeColor = Color.FromArgb(0xe0, 0xe0, 0xe0);
     this.dateEditLatest.Properties.Appearance.Options.UseBackColor = true;
     this.dateEditLatest.Properties.Appearance.Options.UseBorderColor = true;
     this.dateEditLatest.Properties.Appearance.Options.UseForeColor = true;
     this.dateEditLatest.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
     this.dateEditLatest.Properties.LookAndFeel.Style = LookAndFeelStyle.UltraFlat;
     this.dateEditLatest.Properties.LookAndFeel.UseWindowsXPTheme = true;
     this.dateEditLatest.Size = new Size(0xb1, 20);
     this.dateEditLatest.TabIndex = 14;
     this.gpgLabel4.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel4.AutoSize = true;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 9.75f);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(0x1ed, 0x49);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x49, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel4, null);
     this.gpgLabel4.TabIndex = 13;
     this.gpgLabel4.Text = "<LOC>And";
     this.gpgLabel4.TextStyle = TextStyles.Title;
     this.gpgLabel3.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel3.AutoSize = true;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 9.75f);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0x1ed, 0x1a);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(100, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel3, null);
     this.gpgLabel3.TabIndex = 11;
     this.gpgLabel3.Text = "<LOC>Between";
     this.gpgLabel3.TextStyle = TextStyles.Title;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(2, 0x7a);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x6b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 9;
     this.gpgLabel2.Text = "<LOC>Keywords";
     this.gpgLabel2.TextStyle = TextStyles.Title;
     this.gpgTextBoxPlayer.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxPlayer.Location = new Point(5, 0x2c);
     this.gpgTextBoxPlayer.Name = "gpgTextBoxPlayer";
     this.gpgTextBoxPlayer.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxPlayer.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxPlayer.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxPlayer.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxPlayer.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxPlayer.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxPlayer.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxPlayer.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxPlayer.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxPlayer.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxPlayer.Size = new Size(0x105, 20);
     this.gpgTextBoxPlayer.TabIndex = 0;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(2, 0x1a);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x7d, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 7;
     this.gpgLabel1.Text = "<LOC>Player Name";
     this.gpgLabel1.TextStyle = TextStyles.Title;
     this.skinButtonSearch.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.skinButtonSearch.AutoStyle = true;
     this.skinButtonSearch.BackColor = Color.Black;
     this.skinButtonSearch.DialogResult = DialogResult.OK;
     this.skinButtonSearch.DisabledForecolor = Color.Gray;
     this.skinButtonSearch.DrawEdges = true;
     this.skinButtonSearch.FocusColor = Color.Yellow;
     this.skinButtonSearch.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearch.ForeColor = Color.White;
     this.skinButtonSearch.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearch.IsStyled = true;
     this.skinButtonSearch.Location = new Point(0x224, 0x87);
     this.skinButtonSearch.Name = "skinButtonSearch";
     this.skinButtonSearch.Size = new Size(0x7d, 0x1a);
     this.skinButtonSearch.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonSearch, null);
     this.skinButtonSearch.TabIndex = 4;
     this.skinButtonSearch.Text = "<LOC>Search";
     this.skinButtonSearch.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearch.TextPadding = new Padding(0);
     this.skinButtonSearch.Click += new EventHandler(this.skinButtonSearch_Click);
     this.gpgContextMenuDownload.MenuItems.AddRange(new MenuItem[] { this.ciDownload_View, this.ciDownload_Download });
     this.ciDownload_View.Index = 0;
     this.ciDownload_View.Text = "<LOC>View info";
     this.ciDownload_View.Click += new EventHandler(this.ciDownload_View_Click);
     this.ciDownload_Download.Index = 1;
     this.ciDownload_Download.Text = "<LOC>Download";
     this.ciDownload_Download.Click += new EventHandler(this.ciDownload_Download_Click);
     this.gpgLabelTopRated.AutoSize = true;
     this.gpgLabelTopRated.AutoStyle = true;
     this.gpgLabelTopRated.Font = new Font("Arial", 9.75f);
     this.gpgLabelTopRated.ForeColor = Color.White;
     this.gpgLabelTopRated.IgnoreMouseWheel = false;
     this.gpgLabelTopRated.IsStyled = false;
     this.gpgLabelTopRated.Location = new Point(3, 0);
     this.gpgLabelTopRated.Name = "gpgLabelTopRated";
     this.gpgLabelTopRated.Size = new Size(0x7f, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelTopRated, null);
     this.gpgLabelTopRated.TabIndex = 9;
     this.gpgLabelTopRated.Text = "<LOC>Top 10 Rated";
     this.gpgLabelTopRated.TextStyle = TextStyles.Link;
     this.gpgLabelTopRated.Visible = false;
     this.gpgLabelTopDownload.Anchor = AnchorStyles.Top;
     this.gpgLabelTopDownload.AutoSize = true;
     this.gpgLabelTopDownload.AutoStyle = true;
     this.gpgLabelTopDownload.Font = new Font("Arial", 9.75f);
     this.gpgLabelTopDownload.ForeColor = Color.White;
     this.gpgLabelTopDownload.IgnoreMouseWheel = false;
     this.gpgLabelTopDownload.IsStyled = false;
     this.gpgLabelTopDownload.Location = new Point(0xf3, 0);
     this.gpgLabelTopDownload.Name = "gpgLabelTopDownload";
     this.gpgLabelTopDownload.Size = new Size(0x9c, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelTopDownload, null);
     this.gpgLabelTopDownload.TabIndex = 10;
     this.gpgLabelTopDownload.Text = "<LOC>Top 10 Downloads";
     this.gpgLabelTopDownload.TextStyle = TextStyles.Link;
     this.gpgLabelTopDownload.Visible = false;
     this.gpgLabelMostRecent.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabelMostRecent.AutoSize = true;
     this.gpgLabelMostRecent.AutoStyle = true;
     this.gpgLabelMostRecent.Font = new Font("Arial", 9.75f);
     this.gpgLabelMostRecent.ForeColor = Color.White;
     this.gpgLabelMostRecent.IgnoreMouseWheel = false;
     this.gpgLabelMostRecent.IsStyled = false;
     this.gpgLabelMostRecent.Location = new Point(490, 0);
     this.gpgLabelMostRecent.Name = "gpgLabelMostRecent";
     this.gpgLabelMostRecent.Size = new Size(0xaf, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelMostRecent, null);
     this.gpgLabelMostRecent.TabIndex = 11;
     this.gpgLabelMostRecent.Text = "<LOC>Most Recent Replays";
     this.gpgLabelMostRecent.TextStyle = TextStyles.Link;
     this.gpgLabelMostRecent.Visible = false;
     this.gpgGroupBoxReplayLists.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgGroupBoxReplayLists.Controls.Add(this.gpgPanelReplayLists);
     this.gpgGroupBoxReplayLists.Location = new Point(12, 0x4c);
     this.gpgGroupBoxReplayLists.Name = "gpgGroupBoxReplayLists";
     this.gpgGroupBoxReplayLists.Size = new Size(680, 0x3d);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxReplayLists, null);
     this.gpgGroupBoxReplayLists.TabIndex = 12;
     this.gpgGroupBoxReplayLists.TabStop = false;
     this.gpgGroupBoxReplayLists.Text = "<LOC>Replay Lists";
     this.gpgPanelReplayLists.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPanelReplayLists.AutoScroll = true;
     this.gpgPanelReplayLists.Controls.Add(this.gpgLabelTopRated);
     this.gpgPanelReplayLists.Controls.Add(this.gpgLabelMostRecent);
     this.gpgPanelReplayLists.Controls.Add(this.gpgLabelTopDownload);
     this.gpgPanelReplayLists.Location = new Point(5, 0x10);
     this.gpgPanelReplayLists.Name = "gpgPanelReplayLists";
     this.gpgPanelReplayLists.Size = new Size(0x29c, 0x27);
     base.ttDefault.SetSuperTip(this.gpgPanelReplayLists, null);
     this.gpgPanelReplayLists.TabIndex = 12;
     base.AcceptButton = this.skinButtonSearch;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x2bf, 0x23e);
     base.Controls.Add(this.gpgGroupBoxReplayLists);
     base.Controls.Add(this.gpgGroupBoxCriterial);
     base.Controls.Add(this.gpgGroupBoxResults);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     this.MinimumSize = new Size(0x283, 0x1e1);
     base.Name = "DlgSearchReplays";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>Replay Vault";
     base.Controls.SetChildIndex(this.gpgGroupBoxResults, 0);
     base.Controls.SetChildIndex(this.gpgGroupBoxCriterial, 0);
     base.Controls.SetChildIndex(this.gpgGroupBoxReplayLists, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.gpgGroupBoxResults.ResumeLayout(false);
     this.dgReplays.EndInit();
     this.gvReplays.EndInit();
     this.repositoryItemRatingStars.EndInit();
     this.repositoryItemChatLink.EndInit();
     this.gpgGroupBoxCriterial.ResumeLayout(false);
     this.gpgGroupBoxCriterial.PerformLayout();
     this.gpgTextBoxKeywords.Properties.EndInit();
     this.dateEditEarliest.Properties.EndInit();
     this.dateEditLatest.Properties.EndInit();
     this.gpgTextBoxPlayer.Properties.EndInit();
     this.gpgGroupBoxReplayLists.ResumeLayout(false);
     this.gpgPanelReplayLists.ResumeLayout(false);
     this.gpgPanelReplayLists.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#30
0
        /// <summary>
        /// Column의 DataType을 정의합니다.
        /// </summary>
        /// <param name="treeColumn">TreeList Column</param>
        /// <param name="dataType">Column Data Type</param>
        /// <param name="maxLength">Data의 최대 길이, 0이면 설정 안 함</param>
        /// <param name="decimalPlace">소숫점 길이 수, 기본값 0</param>
        /// <remarks>
        /// 2008-12-17 최초생성 : 황준혁
        /// 변경내역
        ///
        /// </remarks>
        private void SetColumnDataType(TreeListColumn treeColumn, ColumnDataType dataType, int maxLength, int decimalPlace)
        {
            if (dataType == ColumnDataType.Default)
            {
                RepositoryItemTextEdit edit = new RepositoryItemTextEdit();
                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                edit.MaxLength        = maxLength;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Text)
            {
                RepositoryItemMemoEdit edit = new RepositoryItemMemoEdit();

                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                edit.MaxLength        = maxLength;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.CheckEdit)
            {
                RepositoryItemCheckEdit edit = new RepositoryItemCheckEdit();

                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                edit.NullStyle        = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
                edit.ValueChecked     = true;
                edit.ValueUnchecked   = false;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Date)
            {
                RepositoryItemDateEdit edit = new RepositoryItemDateEdit {
                    HighlightHolidays = true
                };

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.NullDate                    = "";
                edit.Mask.EditMask               = "d";
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.DateTime;
                edit.Mask.UseMaskAsDisplayFormat = true;
                treeColumn.ColumnEdit            = edit;
            }
            else if (dataType == ColumnDataType.DateTime)
            {
                RepositoryItemDateEdit edit = new RepositoryItemDateEdit {
                    HighlightHolidays = true
                };

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.NullDate                    = "";
                edit.NullText                    = "";
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.DateTime;
                edit.Mask.EditMask               = AppConfig.DEFAULTDATEFORMAT;
                edit.Mask.AutoComplete           = DevExpress.XtraEditors.Mask.AutoCompleteType.Optimistic;
                edit.Mask.UseMaskAsDisplayFormat = true;
                treeColumn.ColumnEdit            = edit;
            }
            else if (dataType == ColumnDataType.Time)
            {
                RepositoryItemTimeEdit edit = new RepositoryItemTimeEdit();

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.DateTime;
                edit.Mask.EditMask               = "t";
                edit.Mask.UseMaskAsDisplayFormat = true;
                edit.Mask.AutoComplete           = DevExpress.XtraEditors.Mask.AutoCompleteType.Optimistic;
                treeColumn.ColumnEdit            = edit;
            }
            else if (dataType == ColumnDataType.Numeric)
            {
                RepositoryItemSpinEdit edit = new RepositoryItemSpinEdit();

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.Numeric;
                edit.Mask.EditMask               = "n" + decimalPlace;
                edit.MaxLength                   = maxLength;
                edit.Mask.UseMaskAsDisplayFormat = !treeColumn.OptionsColumn.AllowEdit;
                treeColumn.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Far;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Decimal)
            {
                RepositoryItemSpinEdit edit = new RepositoryItemSpinEdit();

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.Mask.EditMask               = "n" + decimalPlace;
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.Numeric;
                edit.MaxLength                   = maxLength;
                edit.Mask.UseMaskAsDisplayFormat = !treeColumn.OptionsColumn.AllowEdit;
                treeColumn.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Far;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Currency)
            {
                RepositoryItemTextEdit edit = new RepositoryItemTextEdit();

                edit.Appearance.Font             = ControlConfig.DEFAULTFONT;
                edit.Mask.EditMask               = "c" + decimalPlace;
                edit.Mask.MaskType               = DevExpress.XtraEditors.Mask.MaskType.Numeric;
                edit.MaxLength                   = maxLength;
                edit.Mask.UseMaskAsDisplayFormat = !treeColumn.OptionsColumn.AllowEdit;
                treeColumn.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Far;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Percentage)
            {
            }
            else if (dataType == ColumnDataType.Popup)
            {
            }
            else if (dataType == ColumnDataType.Button)
            {
            }
            else if (dataType == ColumnDataType.LinkButton)
            {
                RepositoryItemHyperLinkEdit edit = new RepositoryItemHyperLinkEdit();

                edit.Appearance.Font = ControlConfig.DEFAULTFONT;
                treeColumn.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Near;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.ColorSelect)
            {
                RepositoryItemColorEdit edit = new RepositoryItemColorEdit();

                edit.Appearance.Font = ControlConfig.DEFAULTFONT;
                treeColumn.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Center;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Image)
            {
                RepositoryItemImageEdit edit = new RepositoryItemImageEdit();

                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Picture)
            {
                RepositoryItemPictureEdit edit = new RepositoryItemPictureEdit();

                edit.SizeMode         = PictureSizeMode.Stretch;
                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.Password)
            {
                RepositoryItemTextEdit edit = new RepositoryItemTextEdit();

                edit.Appearance.Font  = ControlConfig.DEFAULTFONT;
                edit.PasswordChar     = '*';
                edit.MaxLength        = maxLength;
                treeColumn.ColumnEdit = edit;
            }
            else if (dataType == ColumnDataType.ImageCombo)
            {
            }
            else if (dataType == ColumnDataType.File)
            {
            }
        }
示例#31
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(DlgVaultQuickSearch));
     this.skinButtonOK = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.splitContainerDownload = new SplitContainer();
     this.treeViewDownloadType = new TreeView();
     this.treeViewSavedSearches = new TreeView();
     this.skinLabel1 = new SkinLabel();
     this.skinLabel2 = new SkinLabel();
     this.gpgGroupBoxResults = new SkinGroupPanel();
     this.skinButtonSearchNext = new SkinButton();
     this.skinLabelSearchPage = new SkinLabel();
     this.dataGridSearchResults = new GPGDataGrid();
     this.gvResults = new GridView();
     this.gcDownload = new GridColumn();
     this.gcName = new GridColumn();
     this.gcOwner = new GridColumn();
     this.gcVersion = new GridColumn();
     this.gcDate = new GridColumn();
     this.gcDownloads = new GridColumn();
     this.gcRating = new GridColumn();
     this.repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
     this.repositoryItemRatingStars = new RepositoryItemPictureEdit();
     this.repositoryItemChatLink = new RepositoryItemHyperLinkEdit();
     this.repositoryItemVersionLink = new RepositoryItemHyperLinkEdit();
     this.skinButtonSearchStart = new SkinButton();
     this.skinButtonSearchPrevious = new SkinButton();
     this.gpgGroupBoxCriteria = new SkinGroupPanel();
     this.skinButtonRunSearch = new SkinButton();
     this.gpgPanelSearchCriteria = new GPGPanel();
     this.skinButtonSearchType = new SkinButton();
     this.gpgLabelSearchType = new GPGLabel();
     this.gpgTextBoxSearchCreator = new GPGTextBox();
     this.gpgLabel16 = new GPGLabel();
     this.gpgTextBoxSearchName = new GPGTextBox();
     this.gpgLabel1 = new GPGLabel();
     this.gpgTextBoxSearchKeywords = new GPGTextBox();
     this.gpgLabel21 = new GPGLabel();
     this.gpgPanel1 = new GPGPanel();
     this.imageListContentTypes = new ImageList(this.components);
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.splitContainerDownload.Panel1.SuspendLayout();
     this.splitContainerDownload.Panel2.SuspendLayout();
     this.splitContainerDownload.SuspendLayout();
     this.gpgGroupBoxResults.SuspendLayout();
     this.dataGridSearchResults.BeginInit();
     this.gvResults.BeginInit();
     this.repositoryItemPictureEdit1.BeginInit();
     this.repositoryItemRatingStars.BeginInit();
     this.repositoryItemChatLink.BeginInit();
     this.repositoryItemVersionLink.BeginInit();
     this.gpgGroupBoxCriteria.SuspendLayout();
     this.gpgPanelSearchCriteria.SuspendLayout();
     this.gpgTextBoxSearchCreator.Properties.BeginInit();
     this.gpgTextBoxSearchName.Properties.BeginInit();
     this.gpgTextBoxSearchKeywords.Properties.BeginInit();
     this.gpgPanel1.SuspendLayout();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x374, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = Color.Transparent;
     this.skinButtonOK.ButtonState = 0;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = Color.Gray;
     this.skinButtonOK.DrawColor = Color.White;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0x2a3, 0x288);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x7d, 0x1a);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonOK, null);
     this.skinButtonOK.TabIndex = 0x11;
     this.skinButtonOK.TabStop = true;
     this.skinButtonOK.Text = "<LOC>OK";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Transparent;
     this.skinButtonCancel.ButtonState = 0;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawColor = Color.White;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x326, 0x288);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x7d, 0x1a);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonCancel, null);
     this.skinButtonCancel.TabIndex = 0x12;
     this.skinButtonCancel.TabStop = true;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.splitContainerDownload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerDownload.BackColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.splitContainerDownload.Location = new Point(2, 2);
     this.splitContainerDownload.Name = "splitContainerDownload";
     this.splitContainerDownload.Panel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.splitContainerDownload.Panel1.Controls.Add(this.treeViewDownloadType);
     this.splitContainerDownload.Panel1.Controls.Add(this.treeViewSavedSearches);
     this.splitContainerDownload.Panel1.Controls.Add(this.skinLabel1);
     this.splitContainerDownload.Panel1.Controls.Add(this.skinLabel2);
     base.ttDefault.SetSuperTip(this.splitContainerDownload.Panel1, null);
     this.splitContainerDownload.Panel2.BackgroundImage = (Image) manager.GetObject("splitContainerDownload.Panel2.BackgroundImage");
     this.splitContainerDownload.Panel2.Controls.Add(this.gpgGroupBoxResults);
     this.splitContainerDownload.Panel2.Controls.Add(this.gpgGroupBoxCriteria);
     base.ttDefault.SetSuperTip(this.splitContainerDownload.Panel2, null);
     this.splitContainerDownload.Size = new Size(920, 0x22f);
     this.splitContainerDownload.SplitterDistance = 0xcf;
     this.splitContainerDownload.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerDownload, null);
     this.splitContainerDownload.TabIndex = 0x13;
     this.treeViewDownloadType.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.treeViewDownloadType.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewDownloadType.BorderStyle = BorderStyle.None;
     this.treeViewDownloadType.HideSelection = false;
     this.treeViewDownloadType.Location = new Point(0, 0x1a);
     this.treeViewDownloadType.Name = "treeViewDownloadType";
     this.treeViewDownloadType.Size = new Size(0xcf, 0x80);
     base.ttDefault.SetSuperTip(this.treeViewDownloadType, null);
     this.treeViewDownloadType.TabIndex = 0;
     this.treeViewDownloadType.AfterSelect += new TreeViewEventHandler(this.treeViewDownloadType_AfterSelect);
     this.treeViewSavedSearches.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.treeViewSavedSearches.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.treeViewSavedSearches.BorderStyle = BorderStyle.None;
     this.treeViewSavedSearches.HideSelection = false;
     this.treeViewSavedSearches.Location = new Point(0, 180);
     this.treeViewSavedSearches.Name = "treeViewSavedSearches";
     this.treeViewSavedSearches.Size = new Size(0xcf, 0x17b);
     base.ttDefault.SetSuperTip(this.treeViewSavedSearches, null);
     this.treeViewSavedSearches.TabIndex = 1;
     this.treeViewSavedSearches.AfterSelect += new TreeViewEventHandler(this.treeViewSavedSearches_AfterSelect);
     this.skinLabel1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel1.AutoStyle = false;
     this.skinLabel1.BackColor = Color.Transparent;
     this.skinLabel1.DrawEdges = true;
     this.skinLabel1.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel1.ForeColor = Color.White;
     this.skinLabel1.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel1.IsStyled = false;
     this.skinLabel1.Location = new Point(0, 0x9a);
     this.skinLabel1.Name = "skinLabel1";
     this.skinLabel1.Size = new Size(0xcf, 20);
     this.skinLabel1.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel1, null);
     this.skinLabel1.TabIndex = 15;
     this.skinLabel1.Text = "<LOC>Saved Searches";
     this.skinLabel1.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel1.TextPadding = new Padding(0);
     this.skinLabel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabel2.AutoStyle = false;
     this.skinLabel2.BackColor = Color.Transparent;
     this.skinLabel2.DrawEdges = true;
     this.skinLabel2.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabel2.ForeColor = Color.White;
     this.skinLabel2.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabel2.IsStyled = false;
     this.skinLabel2.Location = new Point(0, 0);
     this.skinLabel2.Name = "skinLabel2";
     this.skinLabel2.Size = new Size(0xcf, 20);
     this.skinLabel2.SkinBasePath = @"Controls\Background Label\BlueGradient";
     base.ttDefault.SetSuperTip(this.skinLabel2, null);
     this.skinLabel2.TabIndex = 0x10;
     this.skinLabel2.Text = "<LOC>Search For";
     this.skinLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.skinLabel2.TextPadding = new Padding(0);
     this.gpgGroupBoxResults.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgGroupBoxResults.AutoStyle = false;
     this.gpgGroupBoxResults.BackColor = Color.Black;
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchNext);
     this.gpgGroupBoxResults.Controls.Add(this.skinLabelSearchPage);
     this.gpgGroupBoxResults.Controls.Add(this.dataGridSearchResults);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchStart);
     this.gpgGroupBoxResults.Controls.Add(this.skinButtonSearchPrevious);
     this.gpgGroupBoxResults.CutCorner = false;
     this.gpgGroupBoxResults.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxResults.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxResults.IsStyled = true;
     this.gpgGroupBoxResults.Location = new Point(4, 0x7d);
     this.gpgGroupBoxResults.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxResults.Name = "gpgGroupBoxResults";
     this.gpgGroupBoxResults.Size = new Size(700, 0x1ad);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxResults, null);
     this.gpgGroupBoxResults.TabIndex = 0x10;
     this.gpgGroupBoxResults.Text = "<LOC>Search Results";
     this.gpgGroupBoxResults.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxResults.TextPadding = new Padding(8, 0, 0, 0);
     this.skinButtonSearchNext.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonSearchNext.AutoStyle = true;
     this.skinButtonSearchNext.BackColor = Color.Black;
     this.skinButtonSearchNext.ButtonState = 0;
     this.skinButtonSearchNext.DialogResult = DialogResult.OK;
     this.skinButtonSearchNext.DisabledForecolor = Color.Gray;
     this.skinButtonSearchNext.DrawColor = Color.White;
     this.skinButtonSearchNext.DrawEdges = false;
     this.skinButtonSearchNext.FocusColor = Color.Yellow;
     this.skinButtonSearchNext.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchNext.ForeColor = Color.White;
     this.skinButtonSearchNext.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchNext.IsStyled = true;
     this.skinButtonSearchNext.Location = new Point(0x290, 0x193);
     this.skinButtonSearchNext.Name = "skinButtonSearchNext";
     this.skinButtonSearchNext.Size = new Size(40, 0x16);
     this.skinButtonSearchNext.SkinBasePath = @"Controls\Button\Next_End";
     base.ttDefault.SetSuperTip(this.skinButtonSearchNext, null);
     this.skinButtonSearchNext.TabIndex = 7;
     this.skinButtonSearchNext.TabStop = true;
     this.skinButtonSearchNext.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchNext.TextPadding = new Padding(0);
     this.skinButtonSearchNext.Click += new EventHandler(this.skinButtonSearchNext_Click);
     this.skinLabelSearchPage.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinLabelSearchPage.AutoStyle = false;
     this.skinLabelSearchPage.BackColor = Color.Transparent;
     this.skinLabelSearchPage.DrawEdges = true;
     this.skinLabelSearchPage.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabelSearchPage.ForeColor = Color.White;
     this.skinLabelSearchPage.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabelSearchPage.IsStyled = false;
     this.skinLabelSearchPage.Location = new Point(0x54, 0x193);
     this.skinLabelSearchPage.Name = "skinLabelSearchPage";
     this.skinLabelSearchPage.Size = new Size(0x23c, 0x16);
     this.skinLabelSearchPage.SkinBasePath = @"Controls\Background Label\BlackBar";
     base.ttDefault.SetSuperTip(this.skinLabelSearchPage, null);
     this.skinLabelSearchPage.TabIndex = 0x19;
     this.skinLabelSearchPage.Text = "<LOC>No Results";
     this.skinLabelSearchPage.TextAlign = ContentAlignment.MiddleCenter;
     this.skinLabelSearchPage.TextPadding = new Padding(0);
     this.dataGridSearchResults.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dataGridSearchResults.CustomizeStyle = false;
     this.dataGridSearchResults.EmbeddedNavigator.Name = "";
     this.dataGridSearchResults.Location = new Point(4, 0x16);
     this.dataGridSearchResults.MainView = this.gvResults;
     this.dataGridSearchResults.Name = "dataGridSearchResults";
     this.dataGridSearchResults.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemRatingStars, this.repositoryItemChatLink, this.repositoryItemPictureEdit1, this.repositoryItemVersionLink });
     this.dataGridSearchResults.ShowOnlyPredefinedDetails = true;
     this.dataGridSearchResults.Size = new Size(0x2b4, 0x179);
     this.dataGridSearchResults.TabIndex = 0x18;
     this.dataGridSearchResults.ViewCollection.AddRange(new BaseView[] { this.gvResults });
     this.dataGridSearchResults.DoubleClick += new EventHandler(this.dataGridSearchResults_DoubleClick);
     this.gvResults.Appearance.EvenRow.BackColor = Color.Black;
     this.gvResults.Appearance.EvenRow.Options.UseBackColor = true;
     this.gvResults.Appearance.OddRow.BackColor = Color.Black;
     this.gvResults.Appearance.OddRow.Options.UseBackColor = true;
     this.gvResults.Appearance.Preview.ForeColor = Color.Silver;
     this.gvResults.Appearance.Preview.Options.UseForeColor = true;
     this.gvResults.Appearance.SelectedRow.BackColor = Color.FromArgb(0x33, 0x33, 0x65);
     this.gvResults.Appearance.SelectedRow.BackColor2 = Color.Black;
     this.gvResults.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gvResults.Columns.AddRange(new GridColumn[] { this.gcDownload, this.gcName, this.gcOwner, this.gcVersion, this.gcDate, this.gcDownloads, this.gcRating });
     this.gvResults.GridControl = this.dataGridSearchResults;
     this.gvResults.GroupPanelText = "<LOC>Drag a column here to group by it.";
     this.gvResults.Name = "gvResults";
     this.gvResults.OptionsBehavior.Editable = false;
     this.gvResults.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gvResults.OptionsView.AutoCalcPreviewLineCount = true;
     this.gvResults.OptionsView.RowAutoHeight = true;
     this.gvResults.OptionsView.ShowPreview = true;
     this.gvResults.PreviewFieldName = "Description";
     this.gvResults.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gvResults_CustomDrawCell);
     this.gvResults.MouseDown += new MouseEventHandler(this.gvResults_MouseDown);
     this.gvResults.MouseUp += new MouseEventHandler(this.gvResults_MouseUp);
     this.gvResults.MouseMove += new MouseEventHandler(this.gvResults_MouseMove);
     this.gvResults.CalcRowHeight += new RowHeightEventHandler(this.gvResults_CalcRowHeight);
     this.gcDownload.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDownload.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownload.Caption = "<LOC>Download";
     this.gcDownload.FieldName = "Download";
     this.gcDownload.Name = "gcDownload";
     this.gcDownload.ToolTip = "<LOC>Download";
     this.gcDownload.Visible = true;
     this.gcDownload.VisibleIndex = 0;
     this.gcName.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.gcName.AppearanceCell.Options.UseFont = true;
     this.gcName.AppearanceHeader.Options.UseTextOptions = true;
     this.gcName.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcName.Caption = "<LOC>Name";
     this.gcName.FieldName = "Name";
     this.gcName.Name = "gcName";
     this.gcName.Visible = true;
     this.gcName.VisibleIndex = 1;
     this.gcOwner.AppearanceHeader.Options.UseTextOptions = true;
     this.gcOwner.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcOwner.Caption = "<LOC>Creator";
     this.gcOwner.FieldName = "OwnerName";
     this.gcOwner.Name = "gcOwner";
     this.gcOwner.Visible = true;
     this.gcOwner.VisibleIndex = 2;
     this.gcVersion.AppearanceCell.Font = new Font("Tahoma", 8.25f, FontStyle.Underline | FontStyle.Bold);
     this.gcVersion.AppearanceCell.ForeColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.gcVersion.AppearanceCell.Options.UseFont = true;
     this.gcVersion.AppearanceCell.Options.UseForeColor = true;
     this.gcVersion.AppearanceCell.Options.UseTextOptions = true;
     this.gcVersion.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcVersion.AppearanceHeader.Options.UseTextOptions = true;
     this.gcVersion.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcVersion.Caption = "<LOC>Version";
     this.gcVersion.FieldName = "Version";
     this.gcVersion.Name = "gcVersion";
     this.gcVersion.Visible = true;
     this.gcVersion.VisibleIndex = 3;
     this.gcDate.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDate.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDate.Caption = "<LOC>Date";
     this.gcDate.FieldName = "VersionDate";
     this.gcDate.Name = "gcDate";
     this.gcDate.Visible = true;
     this.gcDate.VisibleIndex = 4;
     this.gcDownloads.AppearanceCell.Options.UseTextOptions = true;
     this.gcDownloads.AppearanceCell.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownloads.AppearanceHeader.Options.UseTextOptions = true;
     this.gcDownloads.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcDownloads.Caption = "<LOC>D/L";
     this.gcDownloads.FieldName = "Downloads";
     this.gcDownloads.Name = "gcDownloads";
     this.gcDownloads.Visible = true;
     this.gcDownloads.VisibleIndex = 5;
     this.gcRating.AppearanceHeader.Options.UseTextOptions = true;
     this.gcRating.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Near;
     this.gcRating.Caption = "<LOC>Rating";
     this.gcRating.ColumnEdit = this.repositoryItemPictureEdit1;
     this.gcRating.FieldName = "RatingImageSmall";
     this.gcRating.Name = "gcRating";
     this.gcRating.Visible = true;
     this.gcRating.VisibleIndex = 6;
     this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
     this.repositoryItemRatingStars.Name = "repositoryItemRatingStars";
     this.repositoryItemChatLink.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
     this.repositoryItemChatLink.Appearance.ForeColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.repositoryItemChatLink.Appearance.Options.UseFont = true;
     this.repositoryItemChatLink.Appearance.Options.UseForeColor = true;
     this.repositoryItemChatLink.Appearance.Options.UseTextOptions = true;
     this.repositoryItemChatLink.Appearance.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.Appearance.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.Options.UseTextOptions = true;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.HAlignment = HorzAlignment.Center;
     this.repositoryItemChatLink.AppearanceFocused.TextOptions.VAlignment = VertAlignment.Center;
     this.repositoryItemChatLink.AutoHeight = false;
     this.repositoryItemChatLink.LinkColor = Color.FromArgb(0xc0, 0xc0, 0xff);
     this.repositoryItemChatLink.Name = "repositoryItemChatLink";
     this.repositoryItemChatLink.SingleClick = true;
     this.repositoryItemVersionLink.AutoHeight = false;
     this.repositoryItemVersionLink.Name = "repositoryItemVersionLink";
     this.skinButtonSearchStart.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonSearchStart.AutoStyle = true;
     this.skinButtonSearchStart.BackColor = Color.Black;
     this.skinButtonSearchStart.ButtonState = 0;
     this.skinButtonSearchStart.DialogResult = DialogResult.OK;
     this.skinButtonSearchStart.DisabledForecolor = Color.Gray;
     this.skinButtonSearchStart.DrawColor = Color.White;
     this.skinButtonSearchStart.DrawEdges = false;
     this.skinButtonSearchStart.FocusColor = Color.Yellow;
     this.skinButtonSearchStart.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchStart.ForeColor = Color.White;
     this.skinButtonSearchStart.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchStart.IsStyled = true;
     this.skinButtonSearchStart.Location = new Point(4, 0x193);
     this.skinButtonSearchStart.Name = "skinButtonSearchStart";
     this.skinButtonSearchStart.Size = new Size(40, 0x16);
     this.skinButtonSearchStart.SkinBasePath = @"Controls\Button\First";
     base.ttDefault.SetSuperTip(this.skinButtonSearchStart, null);
     this.skinButtonSearchStart.TabIndex = 5;
     this.skinButtonSearchStart.TabStop = true;
     this.skinButtonSearchStart.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchStart.TextPadding = new Padding(0);
     this.skinButtonSearchStart.Click += new EventHandler(this.skinButtonSearchStart_Click);
     this.skinButtonSearchPrevious.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.skinButtonSearchPrevious.AutoStyle = true;
     this.skinButtonSearchPrevious.BackColor = Color.Black;
     this.skinButtonSearchPrevious.ButtonState = 0;
     this.skinButtonSearchPrevious.DialogResult = DialogResult.OK;
     this.skinButtonSearchPrevious.DisabledForecolor = Color.Gray;
     this.skinButtonSearchPrevious.DrawColor = Color.White;
     this.skinButtonSearchPrevious.DrawEdges = false;
     this.skinButtonSearchPrevious.FocusColor = Color.Yellow;
     this.skinButtonSearchPrevious.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchPrevious.ForeColor = Color.White;
     this.skinButtonSearchPrevious.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSearchPrevious.IsStyled = true;
     this.skinButtonSearchPrevious.Location = new Point(0x2c, 0x193);
     this.skinButtonSearchPrevious.Name = "skinButtonSearchPrevious";
     this.skinButtonSearchPrevious.Size = new Size(40, 0x16);
     this.skinButtonSearchPrevious.SkinBasePath = @"Controls\Button\Previous";
     base.ttDefault.SetSuperTip(this.skinButtonSearchPrevious, null);
     this.skinButtonSearchPrevious.TabIndex = 6;
     this.skinButtonSearchPrevious.TabStop = true;
     this.skinButtonSearchPrevious.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchPrevious.TextPadding = new Padding(0);
     this.skinButtonSearchPrevious.Click += new EventHandler(this.skinButtonSearchPrevious_Click);
     this.gpgGroupBoxCriteria.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgGroupBoxCriteria.AutoStyle = false;
     this.gpgGroupBoxCriteria.BackColor = Color.Black;
     this.gpgGroupBoxCriteria.Controls.Add(this.skinButtonRunSearch);
     this.gpgGroupBoxCriteria.Controls.Add(this.gpgPanelSearchCriteria);
     this.gpgGroupBoxCriteria.CutCorner = false;
     this.gpgGroupBoxCriteria.Font = new Font("Verdana", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgGroupBoxCriteria.HeaderImage = GroupPanelImages.blue_gradient;
     this.gpgGroupBoxCriteria.IsStyled = true;
     this.gpgGroupBoxCriteria.Location = new Point(4, 5);
     this.gpgGroupBoxCriteria.Margin = new Padding(4, 3, 4, 3);
     this.gpgGroupBoxCriteria.Name = "gpgGroupBoxCriteria";
     this.gpgGroupBoxCriteria.Size = new Size(700, 0x72);
     base.ttDefault.SetSuperTip(this.gpgGroupBoxCriteria, null);
     this.gpgGroupBoxCriteria.TabIndex = 15;
     this.gpgGroupBoxCriteria.Text = "<LOC>Search Criteria";
     this.gpgGroupBoxCriteria.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgGroupBoxCriteria.TextPadding = new Padding(8, 0, 0, 0);
     this.skinButtonRunSearch.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonRunSearch.AutoStyle = true;
     this.skinButtonRunSearch.BackColor = Color.Black;
     this.skinButtonRunSearch.ButtonState = 0;
     this.skinButtonRunSearch.DialogResult = DialogResult.OK;
     this.skinButtonRunSearch.DisabledForecolor = Color.Gray;
     this.skinButtonRunSearch.DrawColor = Color.White;
     this.skinButtonRunSearch.DrawEdges = true;
     this.skinButtonRunSearch.FocusColor = Color.Yellow;
     this.skinButtonRunSearch.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonRunSearch.ForeColor = Color.White;
     this.skinButtonRunSearch.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonRunSearch.IsStyled = true;
     this.skinButtonRunSearch.Location = new Point(0x238, 0x51);
     this.skinButtonRunSearch.Name = "skinButtonRunSearch";
     this.skinButtonRunSearch.Size = new Size(0x7d, 0x1a);
     this.skinButtonRunSearch.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonRunSearch, null);
     this.skinButtonRunSearch.TabIndex = 30;
     this.skinButtonRunSearch.TabStop = true;
     this.skinButtonRunSearch.Text = "<LOC>Run Search";
     this.skinButtonRunSearch.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonRunSearch.TextPadding = new Padding(0);
     this.skinButtonRunSearch.Click += new EventHandler(this.skinButtonRunSearch_Click);
     this.gpgPanelSearchCriteria.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelSearchCriteria.AutoScroll = true;
     this.gpgPanelSearchCriteria.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelSearchCriteria.BorderThickness = 2;
     this.gpgPanelSearchCriteria.Controls.Add(this.skinButtonSearchType);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabelSearchType);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchCreator);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel16);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchName);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel1);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgTextBoxSearchKeywords);
     this.gpgPanelSearchCriteria.Controls.Add(this.gpgLabel21);
     this.gpgPanelSearchCriteria.DrawBorder = false;
     this.gpgPanelSearchCriteria.Location = new Point(2, 0x17);
     this.gpgPanelSearchCriteria.Name = "gpgPanelSearchCriteria";
     this.gpgPanelSearchCriteria.Size = new Size(0x2b3, 0x34);
     base.ttDefault.SetSuperTip(this.gpgPanelSearchCriteria, null);
     this.gpgPanelSearchCriteria.TabIndex = 0x1d;
     this.skinButtonSearchType.AutoStyle = true;
     this.skinButtonSearchType.BackColor = Color.Transparent;
     this.skinButtonSearchType.ButtonState = 0;
     this.skinButtonSearchType.DialogResult = DialogResult.OK;
     this.skinButtonSearchType.DisabledForecolor = Color.Gray;
     this.skinButtonSearchType.DrawColor = Color.White;
     this.skinButtonSearchType.DrawEdges = false;
     this.skinButtonSearchType.FocusColor = Color.Yellow;
     this.skinButtonSearchType.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSearchType.ForeColor = Color.White;
     this.skinButtonSearchType.HorizontalScalingMode = ScalingModes.Center;
     this.skinButtonSearchType.IsStyled = true;
     this.skinButtonSearchType.Location = new Point(0x295, 0x17);
     this.skinButtonSearchType.Name = "skinButtonSearchType";
     this.skinButtonSearchType.Size = new Size(0x18, 0x12);
     this.skinButtonSearchType.SkinBasePath = @"Dialog\ContentManager\BtnAdvancedSearch";
     base.ttDefault.SetSuperTip(this.skinButtonSearchType, null);
     this.skinButtonSearchType.TabIndex = 0x25;
     this.skinButtonSearchType.TabStop = true;
     this.skinButtonSearchType.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSearchType.TextPadding = new Padding(0);
     this.skinButtonSearchType.Click += new EventHandler(this.skinButtonSearchType_Click);
     this.gpgLabelSearchType.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelSearchType.AutoSize = true;
     this.gpgLabelSearchType.AutoStyle = true;
     this.gpgLabelSearchType.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabelSearchType.ForeColor = Color.DimGray;
     this.gpgLabelSearchType.IgnoreMouseWheel = false;
     this.gpgLabelSearchType.IsStyled = false;
     this.gpgLabelSearchType.Location = new Point(530, 0x1a);
     this.gpgLabelSearchType.Name = "gpgLabelSearchType";
     this.gpgLabelSearchType.Size = new Size(0x7e, 12);
     base.ttDefault.SetSuperTip(this.gpgLabelSearchType, null);
     this.gpgLabelSearchType.TabIndex = 0x23;
     this.gpgLabelSearchType.Text = "<LOC>Advanced Search";
     this.gpgLabelSearchType.TextStyle = TextStyles.Custom;
     this.gpgTextBoxSearchCreator.Location = new Point(0xb9, 0x16);
     this.gpgTextBoxSearchCreator.Name = "gpgTextBoxSearchCreator";
     this.gpgTextBoxSearchCreator.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchCreator.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchCreator.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchCreator.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchCreator.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchCreator.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchCreator.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchCreator.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchCreator.Properties.MaxLength = 0x16;
     this.gpgTextBoxSearchCreator.Size = new Size(160, 20);
     this.gpgTextBoxSearchCreator.TabIndex = 0x22;
     this.gpgTextBoxSearchCreator.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgLabel16.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel16.AutoSize = true;
     this.gpgLabel16.AutoStyle = true;
     this.gpgLabel16.Font = new Font("Arial", 9.75f);
     this.gpgLabel16.ForeColor = Color.White;
     this.gpgLabel16.IgnoreMouseWheel = false;
     this.gpgLabel16.IsStyled = false;
     this.gpgLabel16.Location = new Point(0xb6, 3);
     this.gpgLabel16.Name = "gpgLabel16";
     this.gpgLabel16.Size = new Size(0x73, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel16, null);
     this.gpgLabel16.TabIndex = 0x21;
     this.gpgLabel16.Text = "<LOC>Created By";
     this.gpgLabel16.TextStyle = TextStyles.Bold;
     this.gpgTextBoxSearchName.EditValue = "";
     this.gpgTextBoxSearchName.Location = new Point(8, 0x16);
     this.gpgTextBoxSearchName.Name = "gpgTextBoxSearchName";
     this.gpgTextBoxSearchName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchName.Properties.MaxLength = 0x100;
     this.gpgTextBoxSearchName.Size = new Size(160, 20);
     this.gpgTextBoxSearchName.TabIndex = 0x20;
     this.gpgTextBoxSearchName.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(5, 3);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x54, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 0x1f;
     this.gpgLabel1.Text = "<LOC>Name";
     this.gpgLabel1.TextStyle = TextStyles.Bold;
     this.gpgTextBoxSearchKeywords.Location = new Point(0x16c, 0x16);
     this.gpgTextBoxSearchKeywords.Name = "gpgTextBoxSearchKeywords";
     this.gpgTextBoxSearchKeywords.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxSearchKeywords.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxSearchKeywords.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxSearchKeywords.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxSearchKeywords.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxSearchKeywords.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxSearchKeywords.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxSearchKeywords.Properties.MaxLength = 0x100;
     this.gpgTextBoxSearchKeywords.Size = new Size(160, 20);
     this.gpgTextBoxSearchKeywords.TabIndex = 30;
     this.gpgTextBoxSearchKeywords.EditValueChanged += new EventHandler(this.SearchCriteriaChanged);
     this.gpgLabel21.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel21.AutoSize = true;
     this.gpgLabel21.AutoStyle = true;
     this.gpgLabel21.Font = new Font("Arial", 9.75f);
     this.gpgLabel21.ForeColor = Color.White;
     this.gpgLabel21.IgnoreMouseWheel = false;
     this.gpgLabel21.IsStyled = false;
     this.gpgLabel21.Location = new Point(0x169, 3);
     this.gpgLabel21.Name = "gpgLabel21";
     this.gpgLabel21.Size = new Size(0x6b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel21, null);
     this.gpgLabel21.TabIndex = 0x1d;
     this.gpgLabel21.Text = "<LOC>Keywords";
     this.gpgLabel21.TextStyle = TextStyles.Bold;
     this.gpgPanel1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanel1.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanel1.BorderThickness = 2;
     this.gpgPanel1.Controls.Add(this.splitContainerDownload);
     this.gpgPanel1.DrawBorder = true;
     this.gpgPanel1.Location = new Point(10, 0x42);
     this.gpgPanel1.Name = "gpgPanel1";
     this.gpgPanel1.Size = new Size(0x39c, 0x233);
     base.ttDefault.SetSuperTip(this.gpgPanel1, null);
     this.gpgPanel1.TabIndex = 20;
     this.imageListContentTypes.ImageStream = (ImageListStreamer) manager.GetObject("imageListContentTypes.ImageStream");
     this.imageListContentTypes.TransparentColor = Color.Transparent;
     this.imageListContentTypes.Images.SetKeyName(0, "icon_map_sm.png");
     this.imageListContentTypes.Images.SetKeyName(1, "icon_mod_sm.png");
     this.imageListContentTypes.Images.SetKeyName(2, "icon_mag_glass_sm.png");
     this.imageListContentTypes.Images.SetKeyName(3, "icon_saved_sm.png");
     this.imageListContentTypes.Images.SetKeyName(4, "icon_my_upload_sm.png");
     this.imageListContentTypes.Images.SetKeyName(5, "icon_avail_upload_sm.png");
     this.imageListContentTypes.Images.SetKeyName(6, "icon_replay_sm.png");
     this.imageListContentTypes.Images.SetKeyName(7, "icon_missing_sm.png");
     this.imageListContentTypes.Images.SetKeyName(8, "icon_tools_sm.png");
     this.imageListContentTypes.Images.SetKeyName(9, "icon_video_sm.png");
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x3af, 0x2d4);
     base.Controls.Add(this.gpgPanel1);
     base.Controls.Add(this.skinButtonCancel);
     base.Controls.Add(this.skinButtonOK);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.Name = "DlgVaultQuickSearch";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "DlgVaultQuickSearch";
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.gpgPanel1, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.splitContainerDownload.Panel1.ResumeLayout(false);
     this.splitContainerDownload.Panel2.ResumeLayout(false);
     this.splitContainerDownload.ResumeLayout(false);
     this.gpgGroupBoxResults.ResumeLayout(false);
     this.dataGridSearchResults.EndInit();
     this.gvResults.EndInit();
     this.repositoryItemPictureEdit1.EndInit();
     this.repositoryItemRatingStars.EndInit();
     this.repositoryItemChatLink.EndInit();
     this.repositoryItemVersionLink.EndInit();
     this.gpgGroupBoxCriteria.ResumeLayout(false);
     this.gpgPanelSearchCriteria.ResumeLayout(false);
     this.gpgPanelSearchCriteria.PerformLayout();
     this.gpgTextBoxSearchCreator.Properties.EndInit();
     this.gpgTextBoxSearchName.Properties.EndInit();
     this.gpgTextBoxSearchKeywords.Properties.EndInit();
     this.gpgPanel1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#32
0
        /// <summary>
        /// 设置设备显示列
        /// </summary>
        public override void InitColumns()
        {
            GridColumn column = gridView1.Columns.Add();

            column.Caption                 = "变电站名称";
            column.FieldName               = "Title";
            column.Width                   = 100;
            column.VisibleIndex            = 1;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "电压等级";
            column.FieldName               = "L1";
            column.Width                   = 100;
            column.VisibleIndex            = 2;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "容量";
            column.FieldName               = "L2";
            column.Width                   = 100;
            column.VisibleIndex            = 3;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "容量构成";
            column.FieldName               = "L4";
            column.Width                   = 100;
            column.VisibleIndex            = 5;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "主变台数";
            column.FieldName               = "L3";
            column.Width                   = 100;
            column.VisibleIndex            = 6;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "负载率";
            column.FieldName               = "L10";
            column.Width                   = 100;
            column.VisibleIndex            = 7;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "开工年份";
            column.FieldName               = "L28";
            column.Width                   = 100;
            column.VisibleIndex            = 8;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "投产年份";
            column.FieldName               = "S2";
            column.Width                   = 100;
            column.VisibleIndex            = 8;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "退役年份";
            column.FieldName               = "L29";
            column.Width                   = 100;
            column.VisibleIndex            = 9;
            column.OptionsColumn.AllowEdit = false;
            //column = gridView1.Columns.Add();
            //column.Caption = "停产年份";
            //column.FieldName = "L12";
            //column.Width = 100;
            //column.VisibleIndex = 5;
            //column.OptionsColumn.AllowEdit = false;

            column                         = gridView1.Columns.Add();
            column.Caption                 = "电网类型";
            column.FieldName               = "DQ";
            column.Width                   = 100;
            column.VisibleIndex            = 10;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "所在区域";
            column.FieldName               = "AreaName";
            column.Width                   = 100;
            column.VisibleIndex            = 11;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "无功容量";
            column.FieldName               = "L26";
            column.Width                   = 100;
            column.VisibleIndex            = 12;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "无功补偿构成";
            column.FieldName               = "L27";
            column.Width                   = 100;
            column.VisibleIndex            = 13;
            column.OptionsColumn.AllowEdit = false;
            column                         = gridView1.Columns.Add();
            column.Caption                 = "查看";
            column.FieldName               = "AreaID";
            column.Width                   = 100;
            column.VisibleIndex            = 14;
            // column.OptionsColumn.AllowEdit = false;
            RepositoryItemHyperLinkEdit repositoryItemHyperLinkEdit1 = new RepositoryItemHyperLinkEdit();

            repositoryItemHyperLinkEdit1.AutoHeight = false;
            repositoryItemHyperLinkEdit1.Caption    = "站内详情";
            repositoryItemHyperLinkEdit1.Name       = "repositoryItemHyperLinkEdit1";
            repositoryItemHyperLinkEdit1.Click     += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click);

            column.ColumnEdit = repositoryItemHyperLinkEdit1;
        }