コード例 #1
0
 public ShellUserControl(ShellURL url)
 {
     shellURL = url;
     shell = new PHPShell.PHPShell(url);
     shell.NewStatusToReport += new StatusEvent(shell_NewStatusToReport);
     InitializeComponent();
 }
コード例 #2
0
 private void buttonAddURL_Click(object sender, EventArgs e)
 {
     AddURLForm auf = new AddURLForm();
     if (auf.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         ShellURL newURL = new ShellURL(auf.newURL, auf.Password, auf.PreString);
         AddURL(newURL);
         ShellList.Instance.ShellURLs.Add(newURL);
         ShellList.Instance.SaveURLList();
     }
 }
コード例 #3
0
 void AddURL(ShellURL url)
 {
     if (dataGridView1.InvokeRequired)
     {
         StringParam sp = new StringParam(AddURL);
         dataGridView1.Invoke(sp, new object[1] { url });
     }
     else
     {
         URLs.Add(url);
     }
 }
コード例 #4
0
 public PHPShell(ShellURL url)
 {
     this.url  = url;
     encMethod = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(encMethod));
     GenerateShell();
 }
コード例 #5
0
 public PHPShell(ShellURL url)
 {
     this.url = url;
     encMethod = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(encMethod));
     GenerateShell();
 }