Exemplo n.º 1
0
        private void showARList()
        {
            //Create Only One Instance of Form
            frmManageAR f = frmManageAR.CreateInstance();

            f.MdiParent      = this;
            f.dataGrid.Width = Width - (imgAd.Width + 35);

            showManaged(f);
            showToolbars(new bool[] { false, false, false, false, true });
        }
Exemplo n.º 2
0
        //this will create a single instance of form
        public static frmManageAR CreateInstance()
        {
            frmManageAR f;

            if (thisform == null)
            {
                thisform = new frmManageAR();
            }
            f = (frmManageAR)thisform;
            return(f);
        }