private void ShowYPWindow(string obj) { MPSYPFeedingWindow win = MPSYPFeedingWindow.Instanc; win.Show(); win.Activate(); }
private void MpsYPWinShow(string obj) { MPSYPFeedingWindow win = MPSYPFeedingWindow.Instanc; win.Owner = this; win.WindowStartupLocation = WindowStartupLocation.CenterOwner; win.Show(); win.Activate(); }