Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 public FrmAddTibiaClient(FrmMain main, FrmSettings settings)
 {
     this.InitializeComponent();
     this._main = main;
     this._settings = settings;
 }
Exemplo n.º 5
0
 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();
 }
Exemplo n.º 6
0
 public FrmAddTibiaClient(FrmMain main, FrmSettings settings)
 {
     this.InitializeComponent();
     this._main     = main;
     this._settings = settings;
 }