예제 #1
0
  public void OpenCommand() {
    fileBrowserStatus = FileBrowserStatus.Open;

    fileBrowser = new FileBrowser(this, midlet.display);

    fileBrowser.setCurrentDir(currentDirName);

    fileBrowser.browse();
  }
예제 #2
0
  public void SaveCommand() {
    fileBrowser = new FileBrowser(this, midlet.display);

    if (currentDirName != null && currentFileName != null) {
      fileBrowser.setCurrentDir(currentDirName);

      fileBrowser.setCurrentFile(currentFileName);

      Save();
    } else {
      fileBrowser.setCurrentDir(currentDirName);

      fileBrowser.browse();
    }
  }