Beispiel #1
0
 private void PublishFileNotification(string fileName, FileChangeAction action)
 {
     Publisher.Publish(new FileChangeNotification
     {
         File   = FilePathTools.Cannoicalise(fileName),
         Action = action
     });
 }
		private void PublishFileNotification(string fileName, FileChangeAction action)
		{
			Publisher.Publish(new FileChange
				                  {
					                  File = FilePathTools.Cannoicalise(fileName),
					                  Action = action
				                  });
		}
Beispiel #3
0
 private void radUnsaved_CheckedChanged(object sender, EventArgs e)
 {
     action = FileChangeAction.LoadUnsaved;
 }
Beispiel #4
0
 private void radDisk_CheckedChanged(object sender, EventArgs e)
 {
     action = FileChangeAction.LoadDisk;
 }
Beispiel #5
0
 private void btnReload_Click(object sender, EventArgs e)
 {
     action = FileChangeAction.Reload;
     Close();
 }
Beispiel #6
0
 private void btnPatterns_Click(object sender, EventArgs e)
 {
     action = FileChangeAction.LoadPatternsOnly;
     Close();
 }