Пример #1
0
 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
 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
		void onSelectedImageChanged(object sender, SelectionChangeEventArgs e){
			mainMenu.Visible = true;
			imgSelection.Visible = false;
			ImagePath = e.NewValue.ToString();
		}