Beispiel #1
0
        private void btnPesagem_Click(object sender, EventArgs e)
        {
            frmPesagem frm = frmPesagem.GetChild(this);

            frm.populateComboBoxes();
            frm.initClock();
            //frm.initScale();
            frm.Show();
        }
Beispiel #2
0
        public static frmPesagem GetChild(mdiPrincipal parent = null)
        {
            if (_childInstance == null)
            {
                _childInstance           = new frmPesagem();
                _childInstance.MdiParent = parent;
            }

            return(_childInstance);
        }