Exemple #1
0
 private void SINnersAdvancedConstructor(SINnersUserControl parent)
 {
     InitializeComponent();
     this.AutoSize = true;
     this.cbSINnerUrl.SelectedIndex = 0;
     MySINnersUsercontrol           = parent;
 }
Exemple #2
0
        private void SINnersBasicConstructor(SINnersUserControl parent)
        {
            InitializeComponent();


            this.TagValueArchetype.DataSource = ContactControl.ContactArchetypes;
            this.Name = "SINnersBasic";
            this.bGroupSearch.Enabled = false;
            this.AutoSize             = true;
            myUC      = parent;
            myUC.MyCE = parent.MyCE;
            CheckSINnerStatus().ContinueWith(a =>
            {
                if (!a.Result)
                {
                    System.Diagnostics.Trace.TraceError("somehow I couldn't check the onlinestatus of " +
                                                        myUC.MyCE.MySINnerFile.Id);
                }
            });
            foreach (var cb in gpTags.Controls)
            {
                if ((cb is Control cont))
                {
                    cont.Click += OnGroupBoxTagsClick;
                }
            }
        }
Exemple #3
0
 private void SINnersBasicConstructor(SINnersUserControl parent)
 {
     InitializeComponent();
     this.AutoSize = true;
     myUC          = parent;
     myUC.MyCE     = parent.MyCE;
     CheckSINnerStatus();
 }
        private void SINnersAdvancedConstructor(SINnersUserControl parent)
        {
            InitializeComponent();
            this.Name     = "SINnersAdvanced";
            this.AutoSize = true;
            this.cbSINnerUrl.SelectedIndex = 0;
            MySINnersUsercontrol           = parent;
            TreeNode root = null;

            MySINnersUsercontrol.MyCE.PopulateTree(ref root, null, null);
            MyTagTreeView.Nodes.Add(root);
        }
 private void SINnersBasicConstructor(SINnersUserControl parent)
 {
     InitializeComponent();
     this.Name = "SINnersBasic";
     this.bGroupSearch.Enabled = false;
     this.AutoSize             = true;
     myUC      = parent;
     myUC.MyCE = parent.MyCE;
     CheckSINnerStatus().ContinueWith(a =>
     {
         if (!a.Result)
         {
             System.Diagnostics.Trace.TraceError("somehow I couldn't check the onlinestatus of " +
                                                 myUC.MyCE.MySINnerFile.Id);
         }
     });
 }
Exemple #6
0
 public SINnersBasic(SINnersUserControl parent)
 {
     SINnersBasicConstructor(parent);
 }
Exemple #7
0
 public SINnersAdvanced(SINnersUserControl parent)
 {
     SINnersAdvancedConstructor(parent);
 }