private void button_6_Click(object sender, EventArgs e) { this.Hide(); FlagsForm ff = new FlagsForm(MyVal); ff.ShowDialog(); }
// This is called when the browse button is pressed public override string Browse(string initialvalue) { //mxd. Combine regular and activation flags Dictionary <string, string> flags = new Dictionary <string, string>(General.Map.Config.LinedefFlags); foreach (LinedefActivateInfo ai in General.Map.Config.LinedefActivates) { flags.Add(ai.Key, ai.Title); } return(FlagsForm.ShowDialog(Form.ActiveForm, initialvalue, flags)); }
// This is called when the browse button is pressed public override string Browse(string initialvalue) { return(FlagsForm.ShowDialog(Form.ActiveForm, initialvalue, General.Map.Config.SectorFlags)); }
// This is called when the browse button is pressed public override string Browse(string initialvalue) { return(FlagsForm.ShowDialog(Form.ActiveForm, initialvalue, GetAllFlags())); }