summaryrefslogtreecommitdiff
path: root/IvyControl_OLD/IvyDomain.cs
diff options
context:
space:
mode:
authorfcolin2009-09-22 08:54:56 +0000
committerfcolin2009-09-22 08:54:56 +0000
commitdea54889df04d162e27d30d9a067920fc0de87ef (patch)
tree3aa72fb8b584c9c37d30548049883e7d6fb24794 /IvyControl_OLD/IvyDomain.cs
parentfc9967263d5aaaa5511eac622404b76e4d1166eb (diff)
downloadivy-csharp-dea54889df04d162e27d30d9a067920fc0de87ef.zip
ivy-csharp-dea54889df04d162e27d30d9a067920fc0de87ef.tar.gz
ivy-csharp-dea54889df04d162e27d30d9a067920fc0de87ef.tar.bz2
ivy-csharp-dea54889df04d162e27d30d9a067920fc0de87ef.tar.xz
remove unused files
Diffstat (limited to 'IvyControl_OLD/IvyDomain.cs')
-rw-r--r--IvyControl_OLD/IvyDomain.cs61
1 files changed, 0 insertions, 61 deletions
diff --git a/IvyControl_OLD/IvyDomain.cs b/IvyControl_OLD/IvyDomain.cs
deleted file mode 100644
index 7099db7..0000000
--- a/IvyControl_OLD/IvyDomain.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Text;
-using System.Windows.Forms;
-
-namespace IvyBus
-{
- public partial class IvyDomain : UserControl
- {
- private string domain = "";
- public event EventHandler DomainChanged;
-#if (!PocketPC)
- [Category("Ivy")]
- [DefaultValue("")]
- [Bindable(true)]
-#endif
- public string Domain
- {
- get { return domain; }
- set {
- if (domain != value)
- {
- domain = value;
- ivybus.Text = domain;
- if (DomainChanged != null) DomainChanged(this, EventArgs.Empty);
- }
- }
- }
-
- public IvyDomain()
- {
- InitializeComponent();
- SetDefault();
- }
- public void SetDefault()
- {
- if (IsEmpty())
- {
- domain = Ivy.GetDomain(domain);
- ivybus.Text = domain;
- }
- }
- public bool IsEmpty()
- {
- return String.IsNullOrEmpty( domain );
- }
-
- private void ivybus_Validating(object sender, CancelEventArgs e)
- {
- e.Cancel = !Ivy.ValidatingDomain(ivybus.Text);
- }
-
- private void ivybus_Validated(object sender, EventArgs e)
- {
- if ( domain != ivybus.Text )
- Domain = ivybus.Text;
- }
-
- }
-}