Exemplo n.º 1
0
        public void OpenFile(string path)
        {
            var stpInstall = new StpInstallation(path);

            AppearanceManager.SetupWindow(this);
            InitiateInstall(stpInstall);
        }
Exemplo n.º 2
0
 private void btnstart_Click(object sender, EventArgs e)
 {
     if (FileExists(txtfilepath.Text))
     {
         var install = new StpInstallation(txtfilepath.Text);
         InitiateInstall(install);
     }
     else
     {
         Infobox.Show("File not found.", "The file you requested was not found on the system.");
     }
 }