private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxCommands.SelectedIndex; Form promptForm; switch (index) { case 5: promptForm = new PromptForValueForm(linkLabel1, "Enter Curve To Follow", "Curve:"); promptForm.Show(); break; case 6: promptForm = new PromptForValueForm(linkLabel1, "Enter Object To Follow", "Game Object ID:"); promptForm.Show(); break; case 8: case 9: case 10: case 11: promptForm = new PromptForValueForm(linkLabel1, "Enter Position To Move To", "Position:"); promptForm.Show(); break; } }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxTargets.SelectedIndex; Form promptForm; switch (index) { case 1: promptForm = new PromptForValueForm(linkLabel1, "Enter Game Object's ID", "Game Object's ID:"); promptForm.Show(); break; case 2: promptForm = new PromptForValueForm(linkLabel1, "Enter Game Object's Friendly Name", "Game Object's Friendly Name:"); promptForm.Show(); break; case 3: promptForm = new PromptForValueForm(linkLabel1, "Enter Number of Game Objects", "Number of Game Objects:"); promptForm.Show(); break; } return; }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxConditions.SelectedIndex; Form promptForm; switch (index) { case 2: promptForm = new PromptForValueForm(linkLabel2, "Enter Game Object Type", "Game Object Type:"); promptForm.Show(); break; case 3: promptForm = new PromptForValueForm(linkLabel2, "Enter Number of Game Objects", "Number of Game Objects:"); promptForm.Show(); break; case 5: promptForm = new PromptForValueForm(linkLabel2, "Enter State ID", "State ID:"); promptForm.Show(); break; case 6: promptForm = new PromptForValueForm(linkLabel2, "Enter Elapsed Game Time", "Elapsed Game Time in Seconds:"); promptForm.Show(); break; } }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxConditions.SelectedIndex; Form promptForm; switch (index) { case 2: promptForm = new PromptForValueForm(linkLabel1, "Number of Game Objects to Bring", "Number of Game Objects:"); promptForm.Show(); break; case 3: promptForm = new PromptForValueForm(linkLabel1, "Comparator", "Select Comparator:"); promptForm.Show(); break; case 5: promptForm = new PromptForValueForm(linkLabel1, "Action Type", "Action:"); promptForm.Show(); break; case 6: promptForm = new PromptForValueForm(linkLabel1, "Comparator", "Select Comparator:"); promptForm.Show(); break; } }
private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxConditions.SelectedIndex; Form promptForm; switch (index) { case 2: promptForm = new PromptForValueForm(linkLabel4, "Enter Position", "Position: (3 floats seperated by commans) eg: x,y,z"); promptForm.Show(); break; } }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxConditions.SelectedIndex; Form promptForm; switch (index) { case 2: promptForm = new PromptForValueForm(linkLabel3, "Enter Distance From Location", "Max Distance From Location:"); promptForm.Show(); break; case 3: promptForm = new PromptForValueForm(linkLabel3, "Enter Game Object Type", "Game Object Type:"); promptForm.Show(); break; } }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxTargets.SelectedIndex; Form promptForm; switch (index) { case 3: promptForm = new PromptForValueForm(linkLabel2, "Enter Game Object's Type", "Game Object Type:"); promptForm.Show(); break; default: break; } return; }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { int index = comboBoxCommands.SelectedIndex; Form promptForm; switch (index) { case 8: case 10: promptForm = new PromptForValueForm(linkLabel2, "Enter Max Speed", "Max Speed:"); promptForm.Show(); break; case 9: case 11: promptForm = new PromptForValueForm(linkLabel2, "Enter Max Time", "Max Time:"); promptForm.Show(); break; } }