public void onDVSelectedItemChanged(object sender, SelectionChangeEventArgs e) { if (e.NewValue != null) { SelectedDirectory = e.NewValue.ToString(); } }
void OnSelectedItemChanged(object sender, SelectionChangeEventArgs e) { currentDir = e.NewValue as DirectoryInfo; NotifyValueChanged("CurrentPath", CurrentPath); NotifyValueChanged("Directories", Directories); NotifyValueChanged("Files", Files); }
public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e) { if (e.NewValue == SelectedItem) { return; } SelectedItem = e.NewValue; SelectedItemChanged.Raise(this, e); }
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()); } } }
void onShaderSelect(object sender, SelectionChangeEventArgs e) { EditedShader = e.NewValue as Tetra.Shader; }
void onFileListItemChanged(object sender, SelectionChangeEventArgs e) { selectedFile = e.NewValue as FileInfo; }
void OnSelectedItemChanged (object sender, SelectionChangeEventArgs e) { CurDir = e.NewValue as DirectoryInfo; NotifyValueChanged ("GetFileSystemInfos", GetFileSystemInfos); NotifyValueChanged ("Name", Name); }
public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e) { SelectedItem = e.NewValue; SelectedItemChanged.Raise(this, e); }
public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e) { if (e.NewValue == SelectedItem) return; SelectedItem = e.NewValue; SelectedItemChanged.Raise (this, e); }
void onSelectedImageChanged(object sender, SelectionChangeEventArgs e){ mainMenu.Visible = true; imgSelection.Visible = false; ImagePath = e.NewValue.ToString(); }