Пример #1
0
        public void ShowPreview()
        {
            var foldChangeGrid = OwnedForms.OfType <FoldChangeGrid>().FirstOrDefault();

            if (null != foldChangeGrid)
            {
                foldChangeGrid.Activate();
                return;
            }
            foldChangeGrid = new FoldChangeGrid();
            foldChangeGrid.SetBindingSource(new FoldChangeBindingSource(GroupComparisonModel));
            foldChangeGrid.Show(this);
        }
Пример #2
0
 public FindColumnDlg GetFindColumnDlg()
 {
     return(OwnedForms.OfType <FindColumnDlg>().FirstOrDefault());
 }