예제 #1
0
        private void InitCtrl()
        {
            #region List Header
            ColumnHeader h0 = new ColumnHeader();
            h0.Text  = "";
            h0.Width = 30;
            this.lvMsg.Columns.Add(h0);

            ColumnHeader h1 = new ColumnHeader();
            h1.Text  = LangPack.GetStoNum();
            h1.Width = 75;
            this.lvMsg.Columns.Add(h1);

            ColumnHeader h2 = new ColumnHeader();
            h2.Text  = LangPack.GetName();
            h2.Width = 170;
            this.lvMsg.Columns.Add(h2);

            ColumnHeader h3 = new ColumnHeader();
            h3.Text  = LangPack.GetTime();
            h3.Width = 100;
            this.lvMsg.Columns.Add(h3);

            ColumnHeader h5 = new ColumnHeader();
            h5.Text  = LangPack.GetStoContext();
            h5.Width = 150;
            this.lvMsg.Columns.Add(h5);
            #endregion

            AddListViewItem();
        }