コード例 #1
0
 public void SetColor(PathContainerView view)
 {
     txbEg.Range.SetStyle(view.FilenameOkStyle, "This file or directory can be renamed");
     txbEg.Range.SetStyle(view.FileLockedStyle, "This file is used by another program");
     txbEg.Range.SetStyle(view.FileOverwriteStyle, "This file or directory already exists");
     txbEg.Range.SetStyle(view.WrongFilenameStyle, "This path is invalid");
 }
コード例 #2
0
 public RegexWindow(Form parent, PathContainerView view, PathContainerView preview)
 {
     InitializeComponent();
     this.parent  = parent;
     this.view    = view;
     this.preview = preview;
 }