예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (validateFields())
     {
         Triablo triablo = new Triablo(menu, timeCheat, charNameInput.Text, charClassInput.Text, charRaceInput.Text, alignmentInput.Text, 1, 0, 1500, 0, 0, 0, 0, 0, Int16.Parse(crapInput.Text), Int16.Parse(retardnessInput.Text), Int16.Parse(viscosityInput.Text), Int16.Parse(bullshitInput.Text), Int16.Parse(cellulitisInput.Text), Int16.Parse(wristFlexingInput.Text), Int16.Parse(nerdnessInput.Text), Int16.Parse(boobGrabbingInput.Text), Int16.Parse(lingerieWearingInput.Text), Int16.Parse(sandChewingInput.Text), Int16.Parse(beardedLadyWrestlingInput.Text), 100, "Stick", "Cardboard Shield", "none (you're naked, you pervert!)", new List<string>());
         triablo.Show();
         this.Close();
     }
 }
예제 #2
0
파일: Menu.cs 프로젝트: ngaspar/Triablo
        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            if (Strings.alignment == null) Strings.initLists();

            Triablo triablo = new Triablo(this, openFileDialog1.FileName, timeCheat);
            try
            {
                triablo.Show();
            }
            catch (Exception ex)
            {
                //do nothing
            }
        }