프로젝트

일반

사용자정보

개정판 7a9c6a5b

ID7a9c6a5bcd206db3d5a9ec08ed2039eb28a3611c
상위 0d7d99aa
하위 c49b0d0e

유성호이(가) 일년 이상 전에 추가함

issue #0000
검색
- 조회조건 설정 시 색상변경

Change-Id: I24c61c6ba9a5e27030869612d8d567a8dc37dabf

차이점 보기:

ID2.Manager/ID2.Manager/Main.cs
91 91
            this.radButtonElementExcelExport.Click += RadButtonElementExcelExport_Click;
92 92

  
93 93
            this.radButtonDateClear.Click += RadButtonDateClear_Click;
94

  
95
            this.radDropDownListProject.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
96
            this.radDropDownListPersonInCharge.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
97
            this.radDropDownListJobLevel.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
98
            this.radDropDownListToIsDiscussion.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
99
            this.radDropDownListFrReviewStatus.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
100
            this.radDropDownListID2Status.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
101
            this.radDropDownListID2Issues.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
102
            this.radDropDownListAVEVAStatus.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
103
            this.radDropDownListAVEVAIssues.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
104
            this.radDropDownListProdIsResult.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
105
            this.radDropDownListClientIsResult.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
106
            this.radDropDownListGateway.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
107
            this.radDropDownListRegistration.SelectedIndexChanged += RadDropDownList_SelectedIndexChanged;
108

  
94 109
            this.radCheckBox1.CheckStateChanged += RadCheckBox_CheckStateChanged;
95 110
            this.radCheckBox2.CheckStateChanged += RadCheckBox_CheckStateChanged;
96 111
            this.radCheckBox3.CheckStateChanged += RadCheckBox_CheckStateChanged;
97 112
            this.radCheckBox4.CheckStateChanged += RadCheckBox_CheckStateChanged;
98 113
            this.radTextBoxDocumentNo.KeyDown += RadTextBoxDocumentNo_KeyDown;
114
            this.radTextBoxDocumentNo.KeyUp += RadTextBoxDocumentNo_KeyUp;
99 115
            this.radButtonSearch.Click += RadButtonSearch_Click;
100 116
            
101 117
            this.radGridViewDocuments.DefaultValuesNeeded += RadGridViewDocuments_DefaultValuesNeeded;
......
1256 1272
            this.radDateTimePickerTo.SetToNullValue();
1257 1273
        }
1258 1274

  
1275
        private void RadDropDownList_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
1276
        {
1277
            if (sender is RadDropDownList ddl)
1278
            {
1279
                if (string.IsNullOrEmpty(ddl.SelectedValue.ToString()))
1280
                {
1281
                    ddl.BackColor = Color.White;
1282
                    ddl.ForeColor = Color.Black;
1283
                    ddl.Font = new Font("Segoe UI", 8.25F, FontStyle.Regular);
1284
                }
1285
                else
1286
                {
1287
                    ddl.BackColor = Color.DarkSlateBlue;
1288
                    ddl.ForeColor = Color.Yellow;
1289
                    ddl.Font = new Font("Segoe UI", 8.25F, FontStyle.Bold);
1290
                }
1291
            }
1292
        }
1293

  
1259 1294
        private void RadCheckBox_CheckStateChanged(object sender, EventArgs e)
1260 1295
        {
1261 1296
            if (sender is RadCheckBox)
......
1283 1318
            }
1284 1319
        }
1285 1320

  
1321
        private void RadTextBoxDocumentNo_KeyUp(object sender, KeyEventArgs e)
1322
        {
1323
            if (sender is RadTextBox txtBox)
1324
            {
1325
                if (txtBox.Text.Length > 0)
1326
                {
1327
                    txtBox.BackColor = Color.DarkSlateBlue;
1328
                    txtBox.ForeColor = Color.Yellow;
1329
                    txtBox.Font = new Font("Segoe UI", 8.25F, FontStyle.Bold);
1330
                }
1331
                else
1332
                {
1333
                    txtBox.BackColor = Color.White;
1334
                    txtBox.ForeColor = Color.Black;
1335
                    txtBox.Font = new Font("Segoe UI", 8.25F, FontStyle.Regular);
1336
                }
1337
            }
1338
        }
1339

  
1286 1340
        private void RadButtonSearch_Click(object sender, EventArgs e)
1287 1341
        {
1288 1342
            try

내보내기 Unified diff

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