Пример #1
0
 public VRPImportDialog()
 {
     InitializeComponent();
     vrpFileName  = string.Empty;
     tourFileName = string.Empty;
     format       = VRPFormat.Empty;
 }
Пример #2
0
    private void openVRPFileButton_Click(object sender, EventArgs e) {
      if (openVRPFileDialog.ShowDialog(this) == DialogResult.OK) {
        tspFileTextBox.Text = openVRPFileDialog.FileName;
        tspFileTextBox.Enabled = true;
        vrpFileName = openVRPFileDialog.FileName;
        okButton.Enabled = true;

        tourFileTextBox.Text = string.Empty;
        tourFileName = string.Empty;

        format = (VRPFormat)(openVRPFileDialog.FilterIndex);
      }
    }
Пример #3
0
        private void openVRPFileButton_Click(object sender, EventArgs e)
        {
            if (openVRPFileDialog.ShowDialog(this) == DialogResult.OK)
            {
                tspFileTextBox.Text    = openVRPFileDialog.FileName;
                tspFileTextBox.Enabled = true;
                vrpFileName            = openVRPFileDialog.FileName;
                okButton.Enabled       = true;

                tourFileTextBox.Text = string.Empty;
                tourFileName         = string.Empty;

                format = (VRPFormat)(openVRPFileDialog.FilterIndex);
            }
        }
Пример #4
0
 public VRPImportDialog() {
   InitializeComponent();
   vrpFileName = string.Empty;
   tourFileName = string.Empty;
   format = VRPFormat.Empty;
 }