Пример #1
0
 private void btnHelpFactionFlags3_Click(object sender, EventArgs e)
 {
     World_Editor.Dialogs.FlagDialog d = new World_Editor.Dialogs.FlagDialog(typeof(FactionFlagsEnums), Misc.ParseToUInt(txtOptions3.Text));
     d.ShowDialog();
     if (d.DialogResult == DialogResult.OK)
         txtOptions3.Text = d.bitmask.ToString();
 }
Пример #2
0
 private void btnFctTplFlags_Click(object sender, EventArgs e)
 {
     World_Editor.Dialogs.FlagDialog d = new World_Editor.Dialogs.FlagDialog(typeof(FlagFactionTemplateEnums), Misc.ParseToUInt(txtFactionTemplateFlags.Text));
     d.ShowDialog();
     if (d.DialogResult == DialogResult.OK)
         txtFactionTemplateFlags.Text = d.bitmask.ToString();
 }