예제 #1
0
        private void UpdateList()
        {
            if (IsDisposed)
            {
                return;
            }

            if (DataBinding == null)
            {
                DataBinding = new FilesToCleanBinding(Repository, _lstFilesToClear);
            }
            DataBinding.IncludePattern     = IncludePattern;
            DataBinding.ExcludePattern     = ExcludePattern;
            DataBinding.CleanFilesMode     = Mode;
            DataBinding.IncludeDirectories = RemoveDirectories;
            DataBinding.ReloadData();
        }
예제 #2
0
파일: CleanDialog.cs 프로젝트: Kuzq/gitter
        private void UpdateList()
        {
            if(IsDisposed)
            {
                return;
            }

            if(DataBinding == null)
            {
                DataBinding = new FilesToCleanBinding(Repository, _lstFilesToClear);
            }
            DataBinding.IncludePattern = IncludePattern;
            DataBinding.ExcludePattern = ExcludePattern;
            DataBinding.CleanFilesMode = Mode;
            DataBinding.IncludeDirectories = RemoveDirectories;
            DataBinding.ReloadData();
        }