コード例 #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;
            }
        }
コード例 #2
0
 public EncodingSelectedDelegate(SelectEncodingPanel parent)
 {
     this.parent = parent;
 }
コード例 #3
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;
			}
		}
コード例 #4
0
			public EncodingSelectedDelegate (SelectEncodingPanel parent)
			{
				this.parent = parent;
			}