private void EditClientButtonClick(object sender, EventArgs e) { FrmEditTibiaClient client = new FrmEditTibiaClient(this._main, this, this.clientPaths.GetItemText(this.clientPaths.SelectedItem)); client.SetDesktopLocation((base.Location.X + (base.Width / 2)) - (client.Width / 2), (base.Location.Y + (base.Height / 2)) - (client.Height / 2)); client.ShowDialog(); }
private void EditClientButtonClick(object sender, EventArgs e) { FrmEditTibiaClient client = new FrmEditTibiaClient(this._main, this, this.clientPaths.GetItemText(this.clientPaths.SelectedItem)); client.SetDesktopLocation((base.Location.X + (base.Width / 2)) - (client.Width / 2), (base.Location.Y + (base.Height / 2)) - (client.Height / 2)); client.ShowDialog(); }