private void btnPesagem_Click(object sender, EventArgs e) { frmPesagem frm = frmPesagem.GetChild(this); frm.populateComboBoxes(); frm.initClock(); //frm.initScale(); frm.Show(); }
public static frmPesagem GetChild(mdiPrincipal parent = null) { if (_childInstance == null) { _childInstance = new frmPesagem(); _childInstance.MdiParent = parent; } return(_childInstance); }