| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经打开!", typeof(T));
|
| | | }
|
| | | }
|
| | | else
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经打开!", typeof(T));
|
| | | }
|
| | |
|
| | | return (T)win;
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经关闭!", typeof(T));
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | asyncLoad.StopTask(typeof(T).Name);
|
| | | DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口无法获得!", typeof(T));
|
| | | }
|
| | |
|
| | | return win;
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经关闭!", typeof(T));
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | asyncLoad.StopTask(typeof(T).Name);
|
| | | DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口无法获得!", typeof(T));
|
| | | }
|
| | |
|
| | | return win;
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口无法获得!", typeof(T));
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经打开!", typeof(T));
|
| | | }
|
| | |
|
| | | return (T)win;
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
|
| | | DebugEx.LogFormat("{0} 窗口已经打开!", typeof(T));
|
| | | }
|
| | | }
|
| | | }
|