Esempio n. 1
0
        private void InitializeLayout()
        {
            DataSet    ds       = null;
            LinkedList llstData = null;

            try
            {
                ppkDate.InitializePage();
                this.PROC_BindComboType();

                sortUC.Dock = DockStyle.Fill;
                this.bTPnlSortingKey.Controls.Add(sortUC);
            }
            catch
            {
            }
            finally
            {
                if (llstData != null)
                {
                    llstData = null;
                }
                if (ds != null)
                {
                    ds.Dispose();
                }
            }
        }
Esempio n. 2
0
        private void InitializeLayout()
        {
            DataSet    ds       = null;
            LinkedList llstData = null;

            try
            {
                ppkDate.InitializePage();
                ppkDate.Dock = DockStyle.Fill;
                this.pnlPeriod.Controls.Add(ppkDate);
                this.PROC_BindComboType();
            }
            catch
            {
            }
            finally
            {
                if (llstData != null)
                {
                    llstData = null;
                }
                if (ds != null)
                {
                    ds.Dispose();
                }
            }
        }