private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "SmtpFilters";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "Cost";
            TextCol.HeaderText = "Cost";
            TextCol.Width = 50;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "Description";
            TextCol2.HeaderText = "Description";
            TextCol2.Width = 150;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "Assembly";
            TextCol3.HeaderText = "Assembly";
            TextCol3.Width = 150;
            ts1.GridColumnStyles.Add(TextCol3);

            DataGridNoActiveCellColumn TextCol4 = new DataGridNoActiveCellColumn();
            TextCol4.MappingName = "ClassName";
            TextCol4.HeaderText = "ClassName";
            TextCol4.Width = 225;
            ts1.GridColumnStyles.Add(TextCol4);

            ts1.AllowSorting = false;
            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "Aliases";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "AliasName";
            TextCol.HeaderText = "AliasName Name";
            TextCol.Width = 273;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "Description";
            TextCol2.HeaderText = "Description";
            TextCol2.Width = 272;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "AliasMembers";
            TextCol3.HeaderText = "Members";
            TextCol3.Width = 545;
            ts1.GridColumnStyles.Add(TextCol3);

            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "Routing";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "PATTERN";
            TextCol.HeaderText = "Pattern";
            TextCol.Width = 100;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "MAILBOX";
            TextCol2.HeaderText = "Mailbox";
            TextCol2.Width = 80;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "DomainName";
            TextCol3.HeaderText = "Domain";
            TextCol3.Width = 120;
            ts1.GridColumnStyles.Add(TextCol3);

            DataGridNoActiveCellColumn TextCol4 = new DataGridNoActiveCellColumn();
            TextCol4.MappingName = "Description";
            TextCol4.HeaderText = "Description";
            TextCol4.Width = 200;
            ts1.GridColumnStyles.Add(TextCol4);

            ts1.AllowSorting = false;
            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "Users";

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "UserName";
            TextCol2.HeaderText = "Mailbox";
            TextCol2.Width = 145;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "Emails";
            TextCol.HeaderText = "E-mail Address";
            TextCol.Width = 400;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "Description";
            TextCol3.HeaderText = "Description";
            TextCol3.Width = 250;
            ts1.GridColumnStyles.Add(TextCol3);

            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "Security_List";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "Description";
            TextCol.HeaderText = "Description";
            TextCol.Width = 180;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "Protocol";
            TextCol2.HeaderText = "Protocol";
            TextCol2.Width = 55;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "Type";
            TextCol3.HeaderText = "Type";
            TextCol3.Width = 65;
            ts1.GridColumnStyles.Add(TextCol3);

            DataGridNoActiveCellColumn TextCol4 = new DataGridNoActiveCellColumn();
            TextCol4.MappingName = "Action";
            TextCol4.HeaderText = "Action";
            TextCol4.Width = 65;
            ts1.GridColumnStyles.Add(TextCol4);

            DataGridNoActiveCellColumn TextCol5 = new DataGridNoActiveCellColumn();
            TextCol5.MappingName = "Content";
            TextCol5.HeaderText = "Content";
            TextCol5.Width = 180;
            ts1.GridColumnStyles.Add(TextCol5);

            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "Domains";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "DomainName";
            TextCol.HeaderText = "Domain Name";
            TextCol.Width = 200;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "Description";
            TextCol2.HeaderText = "Description";
            TextCol2.Width = 345;
            ts1.GridColumnStyles.Add(TextCol2);

            grid.TableStyles.Add(ts1);
        }
        private void InitGrid()
        {
            grid.ReadOnly = true;

            DataGridTableStyle ts1 = new DataGridTableStyle();
            ts1.MappingName = "RemotePop3Servers";

            DataGridNoActiveCellColumn TextCol = new DataGridNoActiveCellColumn();
            TextCol.MappingName = "Server";
            TextCol.HeaderText = "Pop3 Server";
            TextCol.Width = 160;
            ts1.GridColumnStyles.Add(TextCol);

            DataGridNoActiveCellColumn TextCol2 = new DataGridNoActiveCellColumn();
            TextCol2.MappingName = "Port";
            TextCol2.HeaderText = "Port";
            TextCol2.Width = 40;
            ts1.GridColumnStyles.Add(TextCol2);

            DataGridNoActiveCellColumn TextCol3 = new DataGridNoActiveCellColumn();
            TextCol3.MappingName = "UserName";
            TextCol3.HeaderText = "UserName";
            TextCol3.Width = 80;
            ts1.GridColumnStyles.Add(TextCol3);

            DataGridNoActiveCellColumn TextCol4 = new DataGridNoActiveCellColumn();
            TextCol4.MappingName = "Password";
            TextCol4.HeaderText = "Password";
            TextCol4.Width = 80;
            ts1.GridColumnStyles.Add(TextCol4);

            grid.TableStyles.Add(ts1);
        }