Exemplo n.º 1
0
 private void txtPath_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     using (Essential.OpenFolderDialogue dialogue = new Essential.OpenFolderDialogue())
     {
         dialogue.ShowDialog();
         this.txtPath.Text = dialogue.FolderLocation;
     }
 }
Exemplo n.º 2
0
 private void btnImageLocation_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     using (Essential.OpenFolderDialogue ofd = new Essential.OpenFolderDialogue())
     {
         if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             ((DB.CAT_Catalogue)BindingSource.DataSource).ImageDestination = ofd.FolderLocation;
         }
     }
 }