private void SettingsButtonClick(object sender, EventArgs e) { FrmSettings settings = new FrmSettings(this); settings.SetDesktopLocation((base.Location.X + (base.Width / 2)) - (settings.Width / 2), (base.Location.Y + (base.Height / 2)) - (settings.Height / 2)); settings.ShowDialog(); }
public FrmEditTibiaClient(FrmMain main, FrmSettings settings, string version) { this.InitializeComponent(); this._main = main; this._settings = settings; this.versionText.Text = version; this.pathText.Text = this._main.GetClientPath(version); }
public FrmAddTibiaClient(FrmMain main, FrmSettings settings) { this.InitializeComponent(); this._main = main; this._settings = settings; }