Exemplo n.º 1
0
        private void button_6_Click(object sender, EventArgs e)
        {
            this.Hide();
            FlagsForm ff = new FlagsForm(MyVal);

            ff.ShowDialog();
        }
Exemplo n.º 2
0
        // 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));
 }
Exemplo n.º 4
0
 // This is called when the browse button is pressed
 public override string Browse(string initialvalue)
 {
     return(FlagsForm.ShowDialog(Form.ActiveForm, initialvalue, GetAllFlags()));
 }