diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ServerMonitor/Controls/IncludesComboBox.cs	Mon Dec 31 18:32:14 2018 -0500
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace ServerMonitorApp
+{
+    class MatchComboBox : ComboBox
+    {
+        protected override void OnCreateControl()
+        {
+            base.OnCreateControl();
+            Items.Clear();
+            Items.Add("equals");
+            Items.Add("does not equal");
+            Items.Add("contains");
+            Items.Add("does not contain");
+        }
+    }
+
+    public enum MatchType { Equals = 0, NotEquals = 1, Contains = 2, NotContains = 3 }
+}