$ 0 0 WPF c# the code works in form c# cmdSave_Click(this, new EventArgs()); not in WPF c#Thank YouMike