protected virtual void OnCustomBusActivated(object sender, System.EventArgs e) { CustomBusDialog d = new CustomBusDialog(this); d.ShowAll(); if (d.Run() == (int)ResponseType.Ok) { if (!string.IsNullOrEmpty(d.RequestedBus)) ReinitBus(new DBusExplorator(DBus.Bus.Open(d.RequestedBus))); } d.Destroy(); }
protected virtual void OnCustomBusActivated(object sender, System.EventArgs e) { CustomBusDialog d = new CustomBusDialog(this); d.ShowAll(); if (d.Run() == (int)ResponseType.Ok) { if (!string.IsNullOrEmpty(d.RequestedBus)) { ReinitBus(new DBusExplorator(DBus.Bus.Open(d.RequestedBus))); } } d.Destroy(); }