예제 #1
0
        private void AddNewTibiaClientButtonClick(object sender, EventArgs e)
        {
            FrmAddTibiaClient client = new FrmAddTibiaClient(this._main, this);

            client.SetDesktopLocation((base.Location.X + (base.Width / 2)) - (client.Width / 2), (base.Location.Y + (base.Height / 2)) - (client.Height / 2));
            client.ShowDialog();
        }
예제 #2
0
 private void AddNewTibiaClientButtonClick(object sender, EventArgs e)
 {
     FrmAddTibiaClient client = new FrmAddTibiaClient(this._main, this);
     client.SetDesktopLocation((base.Location.X + (base.Width / 2)) - (client.Width / 2), (base.Location.Y + (base.Height / 2)) - (client.Height / 2));
     client.ShowDialog();
 }