Пример #1
0
 private void SINnersAdvancedConstructor(SINnersUserControl parent)
 {
     InitializeComponent();
     this.AutoSize = true;
     this.cbSINnerUrl.SelectedIndex = 0;
     MySINnersUsercontrol           = parent;
 }
Пример #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;
                }
            }
        }
Пример #3
0
 private void SINnersBasicConstructor(SINnersUserControl parent)
 {
     InitializeComponent();
     this.AutoSize = true;
     myUC          = parent;
     myUC.MyCE     = parent.MyCE;
     CheckSINnerStatus();
 }
Пример #4
0
        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);
        }
Пример #5
0
 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);
         }
     });
 }
Пример #6
0
 public SINnersBasic(SINnersUserControl parent)
 {
     SINnersBasicConstructor(parent);
 }
Пример #7
0
 public SINnersAdvanced(SINnersUserControl parent)
 {
     SINnersAdvancedConstructor(parent);
 }