Example #1
0
        private void targetPanel_Click(object sender, EventArgs e)
        {
            menuIcon_MouseClick(sender, (MouseEventArgs)e);
            GenSelectForm gsf = new GenSelectForm(this);

            gsf.ShowDialog();
        }
Example #2
0
 public TargetSelectForm(Form genSelectForm, Form mainForm, int numPkmn, int gen)
 {
     InitializeComponent();
     this.genSelectForm = genSelectForm as GenSelectForm;
     this.mainForm      = mainForm as Main;
     this.numPkmn       = numPkmn;
     this.gen           = gen;
     if (mainForm.TopMost)
     {
         this.TopMost = true;
     }
 }