Esempio n. 1
0
        private void btnOpenStorage_Click(object sender, EventArgs e)
        {
            var dialog = new OpenStorage(this);

            if (dialog.ShowDialog() == DialogResult.OK && filePath != null)
            {
                gbCurrentStorage.Visible = true;
                lblNoStorage.Visible     = false;
                btnCloseStorage.Enabled  = true;
                btnOpenStorage.Enabled   = false;
                tbStatus.Text            = "";
                panStatus.Visible        = false;
            }
        }
Esempio n. 2
0
 private void btnOpenStorage_Click(object sender, EventArgs e)
 {
     var dialog = new OpenStorage(this);
     if (dialog.ShowDialog() == DialogResult.OK && filePath != null)
     {
         gbCurrentStorage.Visible = true;
         lblNoStorage.Visible = false;
         btnCloseStorage.Enabled = true;
         btnOpenStorage.Enabled = false;
         tbStatus.Text = "";
         panStatus.Visible = false;
     }
 }