Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult sourcefile = BrowseSourceDialog.ShowDialog(); // Show the dialog.

            if (sourcefile == DialogResult.OK)                         // Test result.
            {
                FileInputPath    = BrowseSourceDialog.FileName;
                SourceLabel.Text = FileInputPath;
                inputset         = true;
                InputTooltip.SetToolTip(SourceLabel, FileInputPath);
                if (inputset && outputset)
                {
                    button3.Visible = true;
                }
            }
        }
Exemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            DialogResult outputfile = BrowseOutputDialog.ShowDialog(); // Show the dialog.

            if (outputfile == DialogResult.OK)                         // Test result.
            {
                FileOutputPath   = BrowseOutputDialog.SelectedPath;
                OutputLabel.Text = FileOutputPath;
                outputset        = true;
                InputTooltip.SetToolTip(OutputLabel, FileOutputPath + "\\MyCollection.csv");
                if (inputset && outputset)
                {
                    button3.Visible = true;
                }
            }
        }
Exemplo n.º 3
0
 public Form1()
 {
     InitializeComponent();
     InputTooltip.SetToolTip(SourceLabel, "No source file selected");
     InputTooltip.SetToolTip(OutputLabel, "No output destination selected");
 }