private void simpleButton3_Click(object sender, EventArgs e) { using (frmDialogBase frmDialog = userContrlManager1.GetDialog("Meucci.Front.Alerts.Form1,Meucci.Front.Alerts")) { frmDialog.ShowDialog(); } }
private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e) { //Si NO hay referencia a la dll directa podemos DEBEMOS usar esto using (frmDialogBase frmDialog = userContrlManager1.GetDialog("Meucci.Front.Alerts.Form1,Meucci.Front.Alerts")) { frmDialog.ShowDialog(); } //Si hay referencia a la dll directa podemos usar esto //using (Epiron.Meucci.Alerts.Form1 frm = new Meucci.Alerts.Form1()) //{ // frm.ShowDialog(); //} }
private void simpleButton3_Click(object sender, EventArgs e) { //Si NO hay referencia a la dll directa podemos DEBEMOS usar esto using (frmDialogBase frmDialog = this.GetDialog("Meucci.Front.Alerts.Form1,Meucci.Front.Alerts")) { frmDialog.AdjustCulture(); frmDialog.ShowDialog(); } //Si hay referencia a la dll directa podemos usar esto //using (Epiron.Meucci.Alerts.Form1 frm = new Meucci.Alerts.Form1()) //{ // frm.ShowDialog(); //} }