예제 #1
0
 public Game(string filename, LaunchForm controlForm, FeudForm gameDisplay)
     : base(filename)
 {
     this.controlForm = controlForm;
     this.gameDisplay = gameDisplay;
     this.errorCount = 0;
     this.soundEffects = true;
 }
예제 #2
0
 private void LaunchForm_Load(object sender, System.EventArgs e)
 {
     this.feudForm = new FeudForm();
     this.openFileDialog1.InitialDirectory = Environment.CurrentDirectory;
     this.btnMax.DataBindings.Add("Enabled", this.feudForm, "Visible");
     this.btnShow_Click(sender, e);
 }