public static D3DApp11 Create(Control control) { lock (SyncObject) { if (_app != null) { throw new Exception("App is already created."); } _app = new D3DApp11(control); return _app; } }
public static D3DApp11 Create(Control control) { lock (SyncObject) { if (_app != null) { throw new Exception("App is already created."); } _app = new D3DApp11(control); return(_app); } }