コード例 #1
0
                #pragma warning restore 0169

        //Disabling warning 0169 because this code will be called at
        //runtime with glade.
                #pragma warning disable 0169
        private void OnFindToolButtonClicked(object sender, EventArgs args)
        {
            FindDialog findDialog = new FindDialog(measures);

            findDialog.ShowDialog();
            if (findDialog.Results != null)
            {
                FillTreeView(findDialog.Results);
                CleanBin(expander2);
                expander2.Child = new FindResultsWidget(findDialog.Results).Widget;
                expander2.ShowAll();
            }
        }
コード例 #2
0
		#pragma warning restore 0169
	
		//Disabling warning 0169 because this code will be called at
		//runtime with glade.
		#pragma warning disable 0169
		private void OnFindToolButtonClicked (object sender, EventArgs args) 
		{
			FindDialog findDialog = new FindDialog (measures);
			findDialog.ShowDialog ();
			if (findDialog.Results != null) {
				FillTreeView (findDialog.Results);
				CleanBin (expander2);
				expander2.Child = new FindResultsWidget (findDialog.Results).Widget;
				expander2.ShowAll ();
			}
		}