コード例 #1
0
        private void radMenuItem_emitir_Click(object sender, EventArgs e)
        {
            try
            {
                if (Application.OpenForms["RadFormComprobante"] != null)
                {
                    Application.OpenForms["RadFormComprobante"].Activate();
                }
                else
                {
                    RadFormComprobante radForm = new RadFormComprobante
                    {
                        Sesion    = Sesion,
                        MdiParent = this
                    };

                    radForm.Show();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }