示例#1
0
 public static FRM_Pagar Instance()
 {
     if (instance == null)
     {
         instance = new FRM_Pagar();
     }
     return(instance);
 }
示例#2
0
        private void mPagar_Click(object sender, EventArgs e)
        {
            for (int intIndex = Application.OpenForms.Count - 1; intIndex > 0; intIndex--)
            {
                if (Application.OpenForms[intIndex] != this)
                {
                    Application.OpenForms[intIndex].Close();
                }
            }
            FRM_Pagar form_pagar = new FRM_Pagar();

            form_pagar.MdiParent = this;
            form_pagar.Show();
        }