Пример #1
0
        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;
        }
Пример #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();
             */
        }
Пример #3
0
 public void SetParameters(SnippetsParms parms)
 {
     _parms = parms;
     snippetsParmsBindingSource.Add(_parms);
     this.Text = _parms.SnippetName;
 }
Пример #4
0
 public abstract void InitFromSnippetsParms(SnippetsParms snippetsParms);