Esempio n. 1
0
 public void onDVSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue != null)
     {
         SelectedDirectory = e.NewValue.ToString();
     }
 }
Esempio n. 2
0
 void OnSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     currentDir = e.NewValue as DirectoryInfo;
     NotifyValueChanged("CurrentPath", CurrentPath);
     NotifyValueChanged("Directories", Directories);
     NotifyValueChanged("Files", Files);
 }
Esempio n. 3
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue == SelectedItem)
     {
         return;
     }
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise(this, e);
 }
Esempio n. 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());
         }
     }
 }
Esempio n. 5
0
 void onShaderSelect(object sender, SelectionChangeEventArgs e)
 {
     EditedShader = e.NewValue as Tetra.Shader;
 }
Esempio n. 6
0
 void onFileListItemChanged(object sender, SelectionChangeEventArgs e)
 {
     selectedFile = e.NewValue as FileInfo;
 }
Esempio n. 7
0
		void OnSelectedItemChanged (object sender, SelectionChangeEventArgs e)
		{
			CurDir = e.NewValue as DirectoryInfo;
			NotifyValueChanged ("GetFileSystemInfos", GetFileSystemInfos);
			NotifyValueChanged ("Name", Name);

		}
Esempio n. 8
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise(this, e);
 }
Esempio n. 9
0
 public void onSelectedItemChanged(object sender, SelectionChangeEventArgs e)
 {
     if (e.NewValue == SelectedItem)
         return;
     SelectedItem = e.NewValue;
     SelectedItemChanged.Raise (this, e);
 }
Esempio n. 10
0
		void onSelectedImageChanged(object sender, SelectionChangeEventArgs e){
			mainMenu.Visible = true;
			imgSelection.Visible = false;
			ImagePath = e.NewValue.ToString();
		}