프로젝트

일반

사용자정보

개정판 33ea2b09

ID33ea2b095684dc6e174cae2dddc392325494c4e6
상위 02d1e589
하위 70ed289d

김태성이(가) 일년 이상 전에 추가함

issue #00000 search columns combobox 수정

Change-Id: I03395a098d8311ab3cbba5f3776eb665961abab9

차이점 보기:

ID2.Manager/ID2.Manager/Controls/SearchRow.cs
21 21
            }
22 22
            return base.MatchesSearchCriteria(searchCriteria, row, col);
23 23
        }
24

  
25
        protected override void ReportSearchProgress(int percent, GridSearchResultCellInfo resultCell, GridSearchResultCellCollection resultCells)
26
        {
27
            base.ReportSearchProgress(percent, resultCell, resultCells);
28
        }
24 29
    }
25 30
}
ID2.Manager/ID2.Manager/Main.Designer.cs
475 475
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
476 476
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
477 477
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
478
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 72F));
478
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 74F));
479 479
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListFrReviewStatus, 4, 2);
480 480
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListToIsDiscussion, 2, 2);
481 481
            this.tableLayoutPanelCondition.Controls.Add(this.radLabelFrReviewStatus, 3, 2);
......
1036 1036
            this.radGridViewDocuments.Font = new System.Drawing.Font("Segoe UI", 8.25F);
1037 1037
            this.radGridViewDocuments.ForeColor = System.Drawing.Color.Black;
1038 1038
            this.radGridViewDocuments.ImeMode = System.Windows.Forms.ImeMode.NoControl;
1039
            this.radGridViewDocuments.Location = new System.Drawing.Point(3, 39);
1039
            this.radGridViewDocuments.Location = new System.Drawing.Point(3, 64);
1040 1040
            // 
1041 1041
            // 
1042 1042
            // 
......
1376 1376
            gridViewRelation1});
1377 1377
            this.radGridViewDocuments.RightToLeft = System.Windows.Forms.RightToLeft.No;
1378 1378
            this.radGridViewDocuments.ShowHeaderCellButtons = true;
1379
            this.radGridViewDocuments.Size = new System.Drawing.Size(986, 314);
1379
            this.radGridViewDocuments.Size = new System.Drawing.Size(986, 289);
1380 1380
            this.radGridViewDocuments.TabIndex = 0;
1381 1381
            // 
1382 1382
            // radCommandBar1
......
1390 1390
            this.radCommandBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
1391 1391
            this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
1392 1392
            this.commandBarRowSearch});
1393
            this.radCommandBar1.Size = new System.Drawing.Size(766, 30);
1393
            this.radCommandBar1.Size = new System.Drawing.Size(766, 55);
1394 1394
            this.radCommandBar1.TabIndex = 1;
1395 1395
            // 
1396 1396
            // commandBarRowSearch
......
1431 1431
            // 
1432 1432
            // 
1433 1433
            this.commandBarSearch.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1434
            this.commandBarSearch.StretchVertically = true;
1434
            this.commandBarSearch.StretchHorizontally = true;
1435
            this.commandBarSearch.StretchVertically = false;
1435 1436
            this.commandBarSearch.Text = "";
1437
            this.commandBarSearch.VisibleInCommandBar = true;
1436 1438
            ((Telerik.WinControls.UI.RadCommandBarGrip)(this.commandBarSearch.GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1437 1439
            ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarSearch.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1438 1440
            // 
......
1476 1478
            this.btnSearchPrevious.Image = ((System.Drawing.Image)(resources.GetObject("btnSearchPrevious.Image")));
1477 1479
            this.btnSearchPrevious.MinSize = new System.Drawing.Size(28, 0);
1478 1480
            this.btnSearchPrevious.Name = "btnSearchPrevious";
1479
            this.btnSearchPrevious.Text = "UP";
1481
            this.btnSearchPrevious.Text = "U";
1480 1482
            this.btnSearchPrevious.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
1481 1483
            this.btnSearchPrevious.TextWrap = false;
1482 1484
            this.btnSearchPrevious.Click += new System.EventHandler(this.btnSearchPrevious_Click);
......
1490 1492
            this.btnSearchNext.DrawText = true;
1491 1493
            this.btnSearchNext.Image = ((System.Drawing.Image)(resources.GetObject("btnSearchNext.Image")));
1492 1494
            this.btnSearchNext.Name = "btnSearchNext";
1493
            this.btnSearchNext.Text = "Down";
1495
            this.btnSearchNext.Text = "D";
1494 1496
            this.btnSearchNext.Click += new System.EventHandler(this.btnSearchNext_Click);
1495 1497
            // 
1496 1498
            // commandBarSeparator1
......
1544 1546
            this.lbSelectAndTotal.ForeColor = System.Drawing.Color.Red;
1545 1547
            this.lbSelectAndTotal.Location = new System.Drawing.Point(887, 0);
1546 1548
            this.lbSelectAndTotal.Name = "lbSelectAndTotal";
1547
            this.lbSelectAndTotal.Size = new System.Drawing.Size(102, 36);
1549
            this.lbSelectAndTotal.Size = new System.Drawing.Size(102, 61);
1548 1550
            this.lbSelectAndTotal.TabIndex = 2;
1549 1551
            this.lbSelectAndTotal.Text = "(Selected / Total)";
1550 1552
            this.lbSelectAndTotal.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
ID2.Manager/ID2.Manager/Main.cs
383 383
        {
384 384
            if (e.RowInfo is GridViewSearchRowInfo)
385 385
            {
386
                e.RowInfo = new SearchRow(e.ViewInfo);
386
                var row = new SearchRow(e.ViewInfo);
387
                e.RowInfo = row;
387 388
            }
388 389

  
389 390
            //System.Diagnostics.Debug.WriteLine(e.RowInfo.GetType().Name);
......
631 632
                                     Name = x.HeaderText,
632 633
                                     FieldName = x.FieldName,
633 634
                                     IsSelect = x.AllowSearching
634
                                 });
635
                                 }).ToList();
635 636

  
636 637
            var panel = new StackLayoutElement();
637 638
            panel.Orientation = Orientation.Vertical;
......
648 649
            btnComboColumns.ValueMember = "FieldName";
649 650
            btnComboColumns.TextBox.CustomFont = font1.Name;
650 651
            btnComboColumns.TextBox.Text = "\ue13A";
651
            
652

  
653
            columns.Add(new FilterColumn { FieldName = "CREATE_USER", Name = "Markus User", IsSelect = true });
654
            columns.Add(new FilterColumn { FieldName = "TEXT", Name = "Markus Text", IsSelect = true });
655

  
652 656
            btnComboColumns.DataSource = columns;
653 657

  
654 658
            txtFullSearch.TextBoxElement.ClearButton.Click += (snd, evt) =>
......
684 688

  
685 689
            userColumn.MinWidth = 110;
686 690
            userColumn.AutoSizeMode = BestFitColumnMode.AllCells;
691
            userColumn.AllowSearching = false;
687 692
            textColumn.AutoSizeMode = BestFitColumnMode.AllCells;
688
            
693
            textColumn.AllowSearching = false;
694

  
689 695
            markupList.Columns.AddRange(userColumn, textColumn);
690 696
            markupList.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
691 697

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)