private void ActionAnalyse_Click(object sender, EventArgs e)
 {
     DoAnalyse();
     if (IsResultValid)
     {
         DataGridView.Focus();
     }
     else
     {
         EditSource.Focus();
     }
     ActionOK.Enabled = IsResultValid;
 }
示例#2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            var source = new EditSource(this);

            source.Root.Add(_fileSection, new Section {
                _addFileElement
            }, new Section("Details")
            {
                _publicElement, _descriptionElement
            });

            TableView.Source          = source;
            TableView.TableFooterView = new UIView();
        }