Пример #1
0
        private void SelectBtn_Click(object sender, EventArgs e)
        {
            TerrainPowerSelectForm dlg = new TerrainPowerSelectForm();

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                fToken.TerrainPower = dlg.TerrainPower.Copy();
                update_power();
            }
        }
Пример #2
0
        private void SelectBtn_Click(object sender, EventArgs e)
        {
            TerrainPowerSelectForm terrainPowerSelectForm = new TerrainPowerSelectForm();

            if (terrainPowerSelectForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.fToken.TerrainPower = terrainPowerSelectForm.TerrainPower.Copy();
                this.update_power();
            }
        }