public Packer() { InitializeComponent(); this.KeyPreview = true; this.AllowDrop = true; this.StartPosition = FormStartPosition.CenterScreen; this.FormBorderStyle = FormBorderStyle.FixedSingle; EscDownHandled = false; NeedStop = false; textBoxOutput.AllowDrop = true; textBoxPlugin.AllowDrop = true; Worker = new PackWorker(); PackThread = new Thread(Worker.Pack); btnUpdate_Click(null, null); listBoxFiles.SelectionMode = SelectionMode.MultiExtended; textBoxOutput.Font = new System.Drawing.Font("Tahoma", 10); textBoxPlugin.Font = textBoxOutput.Font; textBoxOutput.Update(); textBoxPlugin.Update(); // textBoxPlugin.Text = System.AppDomain.CurrentDomain.BaseDirectory + "yu-ris.dll"; // textBoxPlugin.Text = System.AppDomain.CurrentDomain.BaseDirectory + "SQLI.dll"; // textBoxPlugin.Text = Directory.GetCurrentDirectory() + "\\krkr2_xp3.dll"; // textBoxParam.Text = "fatesn"; // textBoxParam.Text = "fateha"; // textBoxParam.Text = "realsister"; // textBoxParam.Text = "natsuzora"; // textBoxParam.Text = "gb2312"; // textBoxParam.Text = "tenshin"; System.Drawing.Point Location = new System.Drawing.Point(); Location = btnBrowse.Location; Location.Y = textBoxOutput.Location.Y + textBoxOutput.Height / 2 - btnBrowse.Height / 2; btnBrowse.Location = Location; Location = btnPlugin.Location; Location.Y = textBoxPlugin.Location.Y + textBoxPlugin.Height / 2 - btnPlugin.Height / 2; btnPlugin.Location = Location; }