示例#1
0
        public static void ShowExportDialog(ExportRoomType type, MainWindow owner)
        {
            var wnd = new ExportRoomWnd
            {
                Owner       = owner,
                _exprotType = type,
                _myWindow   = owner
            };

            wnd.ShowDialog();
        }
示例#2
0
 private void OnExportRoomOps_Button_Click(object sender, RoutedEventArgs e)
 {
     ExportRoomWnd.ShowExportDialog(ExportRoomWnd.ExportRoomType.Operations, this);
 }