Hallo,
ich binde eine externe Apllikation (Putty) in mein WPF Programm ein. Nun will ich die Location setzen brauche dafür aber einen System.Drawing.Point. Leider lässt sich die Assembly nicht in das Projekt einbinden. Gibts da irgendeine andere Möglichkeit?
this.applicationwrapper = new ApplicationPanel();
var d = this.Dispatcher.DisableProcessing();
this.applicationwrapper.Dock = System.Windows.Forms.DockStyle.Fill;
this.applicationwrapper.ApplicationName = "\\\\Godbla06\\molis\\Programme\\Molis\\Putty\\putty.exe";
this.applicationwrapper.Location = //Hier brauch ich den Point;
this.applicationwrapper.ApplicationParameters = this.ApplicationParameters;
this.applicationwrapper.TabIndex = 0;
this.applicationwrapper.m_CloseCallback = this.m_ApplicationExit;
host.Child = applicationwrapper;
this.Content = this.host;
d.Dispose();
Ziel des ganzen ist das der Fensterrahmen ausgeblendet wird.
Warum kannst du die Assembly nicht einbinden?
Lg XXX
//EDIT: System.Windows.Forms hast du doch auch schon eingebunden, was hindert dich dann noch System.Drawing einzubinden?
Ok Problem hat sich erledigt. Irgendwie hat das Assembly ärger gemacht. Ist aber jetzt gelöst.