예제 #1
0
 public Commit(string filepath, SendProtocol pf)
 {
     this.InitializeComponent();
     this.filepath         = filepath;
     this.form3            = pf;
     this.loggin           = false;
     this.LoginNext.Click -= new System.EventHandler(this.LoginNext_Click);
     this.LoginNext.Click -= new System.EventHandler(this.LoginNext2_Click);
     this.LoginNext.Click += new System.EventHandler(this.LoginNext3_Click);
     string[] filepathpart = filepath.Split(new char[]
     {
         '\\'
     });
     this.label1.Text           = filepathpart[filepathpart.Length - 1].Replace(".pem", "");
     this.form3.goodcertificate = false;
     this.codeBarLabel.Visible  = false;
 }
예제 #2
0
 public Commit(string filepath, SendProtocol pf)
 {
     this.InitializeComponent();
     this.filepath = filepath;
     this.form3 = pf;
     this.loggin = false;
     this.LoginNext.Click -= new System.EventHandler(this.LoginNext_Click);
     this.LoginNext.Click -= new System.EventHandler(this.LoginNext2_Click);
     this.LoginNext.Click += new System.EventHandler(this.LoginNext3_Click);
     string[] filepathpart = filepath.Split(new char[]
     {
         '\\'
     });
     this.label1.Text = filepathpart[filepathpart.Length - 1].Replace(".pem", "");
     this.form3.goodcertificate = false;
     this.codeBarLabel.Visible = false;
 }