Exemple #1
0
        private void unitFlags2Button_Click(object sender, EventArgs e)
        {
            FindUnitFlags2 fuf2 = new FindUnitFlags2();

            if (!string.IsNullOrEmpty(unitFlags2TextBox.Text))
            {
                fuf2.Flags = uint.Parse(unitFlags2TextBox.Text);
            }
            if (fuf2.ShowDialog() == DialogResult.OK)
            {
                unitFlags2TextBox.Text = fuf2.Flags.ToString();
            }
        }
        private void unitFlags2Button_Click(object sender, EventArgs e)
        {
            FindUnitFlags2 fuf2 = new FindUnitFlags2();

            fuf2.ShowDialog();
        }