Exemple #1
0
        void HandleAddRemoveItemActivated(NSObject sender)
        {
            Cell.SelectItem(Cell.MenuItem);

            var selection = SelectedEncodingId;
            var dlg       = new SelectEncodingPanel();

            if (dlg.RunModalSheet(this.Window) != 0)
            {
                Populate(true);
                SelectedEncodingId = selection;
            }
        }
Exemple #2
0
 public EncodingSelectedDelegate(SelectEncodingPanel parent)
 {
     this.parent = parent;
 }
		void HandleAddRemoveItemActivated (NSObject sender)
		{
			Cell.SelectItem (Cell.MenuItem);
			
			var selection = SelectedEncodingId;
			var dlg = new SelectEncodingPanel ();
			if (dlg.RunModalSheet (this.Window) != 0) {
				Populate (true);
				SelectedEncodingId = selection;
			}
		}
			public EncodingSelectedDelegate (SelectEncodingPanel parent)
			{
				this.parent = parent;
			}