Exemple #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( );
            };
        }
Exemple #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( );
     };
 }
Exemple #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( );
            };
        }
Exemple #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( );
            };
        }