public void SetParameters(SnippetsParms parms)
        {
            _parms = parms;
            snippetsParmsBindingSource.Add(_parms);
            this.Text = _parms.SnippetName;

            CreateButton.Visible = _parms.IsCreateButtonVisible;

            SeparatorTextBox.Visible = _parms.IsFieldsSeparatorVisible;
            SepLabel.Visible         = _parms.IsFieldsSeparatorVisible;
        }
Exemple #2
0
        public void SetParameters(SnippetsParms parms)
        {
            _parms = parms;
            snippetsParmsBindingSource.Add(_parms);


            /*
             * MethodTypeCheckedListBox.Items.Clear();
             * MethodTypeCheckedListBox.Items.Add("find", _parms.IsCreateFind);
             * MethodTypeCheckedListBox.Items.Add("exists", _parms.IsCreateExists);
             * MethodTypeCheckedListBox.Items.Add("findRecId", _parms.IsCreateFindRecId);
             *
             * UpdateFromForm();
             * ResultTextBox.Text = _parms.GenerateResult();
             */
        }
Exemple #3
0
 public void SetParameters(SnippetsParms parms)
 {
     _parms = parms;
     snippetsParmsBindingSource.Add(_parms);
     this.Text = _parms.SnippetName;
 }
Exemple #4
0
 public abstract void InitFromSnippetsParms(SnippetsParms snippetsParms);