示例#1
0
        public SearchPage( )
        {
            InitializeComponent( );
            this.Loaded += (s, e) =>
            {
                this.listBoxHelper = new ListBoxHelper(this.list_Result, false, false, false);
                this.listBoxHelper.ReloadDelegate += new Action(listBoxHelper_ReloadDelegate);
                this.iconSearch_Click(null, null);
            };

            this.Unloaded += (s, e) =>
            {
                this.listBoxHelper.Clear( );
            };
        }
示例#2
0
 public SearchPage( )
 {
     InitializeComponent( );
     this. Loaded += (s, e) =>
         {
             this. listBoxHelper = new ListBoxHelper( this. list_Result,false, false, false );
             this. listBoxHelper. ReloadDelegate += new Action( listBoxHelper_ReloadDelegate );
             this. iconSearch_Click( null, null );
         };
   
     this. Unloaded += (s, e) =>
     {
         this. listBoxHelper. Clear( );
     };
 }
示例#3
0
        public WordsPage( )
        {
            InitializeComponent( );

            this.Loaded += (s, e) =>
            {
                this.listBoxHelper = new ListBoxHelper(this.list_Words);
                this.listBoxHelper.ReloadDelegate += new Action(listBoxHelper_ReloadDelegate);
                this.listBoxHelper.Refresh( );
            };
            this.Unloaded += (s, e) =>
            {
                this.listBoxHelper.Clear( );
            };
        }
示例#4
0
        public WordsPage( )
        {
            InitializeComponent( );

            this. Loaded += (s, e) =>
                {
                    this. listBoxHelper = new ListBoxHelper( this. list_Words );
                    this. listBoxHelper. ReloadDelegate += new Action( listBoxHelper_ReloadDelegate );
                    this. listBoxHelper. Refresh( );
                };
            this. Unloaded += (s, e) =>
            {
                this. listBoxHelper. Clear( );
            };
        }