Пример #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();
        }
Пример #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);
 }
Пример #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);
 }
Пример #4
0
 public FrmAddTibiaClient(FrmMain main, FrmSettings settings)
 {
     this.InitializeComponent();
     this._main = main;
     this._settings = settings;
 }
Пример #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();
 }
Пример #6
0
 public FrmAddTibiaClient(FrmMain main, FrmSettings settings)
 {
     this.InitializeComponent();
     this._main     = main;
     this._settings = settings;
 }