Mercurial > servermonitor
comparison ServerMonitor/Controls/IncludesComboBox.cs @ 0:3e1a2131f897
Initial commit. Ping check, scheduling, UI working. SSH check mostly working.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Mon, 31 Dec 2018 18:32:14 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e1a2131f897 |
---|---|
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 using System.Windows.Forms; | |
6 | |
7 namespace ServerMonitorApp | |
8 { | |
9 class MatchComboBox : ComboBox | |
10 { | |
11 protected override void OnCreateControl() | |
12 { | |
13 base.OnCreateControl(); | |
14 Items.Clear(); | |
15 Items.Add("equals"); | |
16 Items.Add("does not equal"); | |
17 Items.Add("contains"); | |
18 Items.Add("does not contain"); | |
19 } | |
20 } | |
21 | |
22 public enum MatchType { Equals = 0, NotEquals = 1, Contains = 2, NotContains = 3 } | |
23 } |