Exemple #1
0
        public TabControlForm NewForm(bool noreposition = false)
        {
            TabControlForm tcf = new TabControlForm();

            tabforms.Add(tcf);

            tcf.norepositionwindow = noreposition;
            tcf.displaynumber      = tabforms.Count;
            tcf.FormClosed        += FormClosed;
            tcf.Text = "EDDiscovery View " + tcf.displaynumber;
            return(tcf);
        }
Exemple #2
0
        private void FormClosed(Object sender, FormClosedEventArgs e)
        {
            TabControlForm tcf = (TabControlForm)sender;

            tabforms.Remove(tcf);
        }