예제 #1
0
        private void showRemmitanceList()
        {
            //Create Only One Instance of Form
            frmRemittanceList f = frmRemittanceList.CreateInstance();

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

            showManaged(f);
            showToolbars(new bool[] { false, false, false, false, true });
        }
        //this will create a single instance of form
        public static frmRemittanceList CreateInstance()
        {
            frmRemittanceList f;

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