예제 #1
0
파일: FileDialog.cs 프로젝트: slagusev/Crow
 public void onDVSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue != null)
     {
         SelectedDirectory = e.NewValue.ToString();
     }
 }
예제 #2
0
 void OnSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     currentDir = e.NewValue as DirectoryInfo;
     NotifyValueChanged("CurrentPath", CurrentPath);
     NotifyValueChanged("Directories", Directories);
     NotifyValueChanged("Files", Files);
 }
예제 #3
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue == SelectedItem)
     {
         return;
     }
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise(this, e);
 }
예제 #4
0
파일: FileDialog.cs 프로젝트: slagusev/Crow
 public void onFVSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue != null)
     {
         if (File.GetAttributes(e.NewValue.ToString()).HasFlag(FileAttributes.Directory))
         {
             SelectedDirectory = e.NewValue.ToString();
             SelectedFile      = "";
         }
         else
         {
             SelectedDirectory = Path.GetDirectoryName(e.NewValue.ToString());
             SelectedFile      = Path.GetFileName(e.NewValue.ToString());
         }
     }
 }
예제 #5
0
 void onShaderSelect(object sender, SelectionChangeEventArgs e)
 {
     EditedShader = e.NewValue as Tetra.Shader;
 }
예제 #6
0
 void onFileListItemChanged(object sender, SelectionChangeEventArgs e)
 {
     selectedFile = e.NewValue as FileInfo;
 }
예제 #7
0
		void OnSelectedItemChanged (object sender, SelectionChangeEventArgs e)
		{
			CurDir = e.NewValue as DirectoryInfo;
			NotifyValueChanged ("GetFileSystemInfos", GetFileSystemInfos);
			NotifyValueChanged ("Name", Name);

		}
예제 #8
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise(this, e);
 }
예제 #9
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue == SelectedItem)
         return;
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise (this, e);
 }
예제 #10
0
파일: main.cs 프로젝트: jpbruyere/Opuz
		void onSelectedImageChanged(object sender, SelectionChangeEventArgs e){
			mainMenu.Visible = true;
			imgSelection.Visible = false;
			ImagePath = e.NewValue.ToString();
		}